- This topic has 11 replies, 2 voices, and was last updated 1 month, 2 weeks ago by David.
November 30, 2021 at 4:41 am #2031171roy
Hello, I’ve attached an image to explain what I’m looking for as well. To give you more information, I’ve created a custom category post (I can’t add categories to pages so I made a post instead, unfortunately).
1. I want to remove the bar at the top, I also have disabled the content title already so unsure why it’s like that.
2. I need to remove the date/author at the top as well but only for this specific page. I’m also going to be doing this multiple times so if you can let me know how I could go about doing it myself after this that would be great!
3. I also need to remove the category folders at the bottom as well
Thank you for all of your help!November 30, 2021 at 5:31 am #2031236DavidStaffCustomer Support
would it be simpler to use a page?
If so you can use the
register_taxonomy_for_object_typefunction:November 30, 2021 at 8:47 am #2031816roy
Yes, would fix all the issues. I’m sorry but how would I go about entering in this code? Thanks David 🙂November 30, 2021 at 8:55 am #2031833DavidStaffCustomer Support
The snippet provided here will enable the default Category taxonomy on pages:
And this article explains how to add that code:November 30, 2021 at 10:35 pm #2032715roy
Ok, so I did that and it seems that this code will not allow for the URL to be like this /cooling/central-ac
it’s imperative that I get it like that so I can do a redirect so it acts as the category page. Any idea how to move forward from here?December 1, 2021 at 4:10 am #2033042DavidStaffCustomer Support
Just rolling back a bit – will the Categories serve any other purpose ? If you simply want a hierarchical structure then with pages you:
a) Create a Parent Page. eg.
b) Create a child page of that parent, eg.
That provides the relationship and the permalink structure.
If Categories are a requirement then you will need top use Posts and we can look at the easiest way to strip the meta.December 1, 2021 at 4:25 am #2033077roy
Yes, the thing with the categories is I’ll be putting the posts within the page with WP show posts after that so they need to all be categorized through WordPress. Let me know how we can approach this, thank you.December 1, 2021 at 4:41 am #2033097roy
ACtually, wait on this, your solution may be correct.December 1, 2021 at 4:47 am #2033103roy
So looks like I don’t even have the option to utilize the parent/child attribution, even when I go to “Screen Options” at the top the box isn’t there. Sorry about all the trouble, let me know what you think would work moving forwardDecember 1, 2021 at 5:09 am #2033131DavidStaffCustomer SupportDecember 1, 2021 at 5:32 am #2033152roy
Got it fixed!! Thank you so much David!!December 1, 2021 at 7:02 am #2033253
- You must be logged in to reply to this topic.