I'm wondering how I can remove the post Category when viewing the posts in a list.
I want it to show up like this:
To do this just for the categories and not all pages and posts, you would need to do this in the archive.php.
Adding an inline style to the theme class will not affect other page views.
You will have code something like
Just add an inline style rather than deleting the code
<!-- Style edited by hide title JF --> <h2 class="pagetitle" style="display:none;">
Oh lame, guess this isn't a check box somewhere?
That's why I purchased this template because it was supposed to be easier to customize. Oh well. I'll see what I can do.
Can you speak to a non-coder and maybe explain it a little better?
So I go to the archive.php file and where do I put this class?
Then where do I add the second bit of code?
OK, I found some code differences on each site but not sure where to change this.
On my site I see:
<div class="postcategory">Ministries </div>
It is showing the postcategory
On the other site it is like this:
There's nothing there. Where do I change this on my site?
OMG! I fixed it all by myself!! Thanks for the code tip David. I just added the code you gave me here:
<div class="postcategory" style="display:none;"><?php echo getMyCategories(); ?></div>
Have a great day sir.
Can you mark this one as resolved please.
This topic has been closed to new replies.