Ready to get started?Download WordPress


[resolved] Display of Posts in List (6 posts)

  1. jimfelder
    Posted 4 years ago #

    I'm wondering how I can remove the post Category when viewing the posts in a list.

    Example here:

    I want it to show up like this:

  2. Digital Raindrops
    Posted 4 years ago #

    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

    <h2 class="pagetitle">

    Just add an inline style rather than deleting the code

    <!-- Style edited by hide title JF -->
    <h2 class="pagetitle" style="display:none;">



  3. jimfelder
    Posted 4 years ago #

    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?

    Thank you


  4. jimfelder
    Posted 4 years ago #

    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:
    <div class="postcategory"></div>

    There's nothing there. Where do I change this on my site?

  5. jimfelder
    Posted 4 years ago #

    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.


  6. Digital Raindrops
    Posted 4 years ago #

    Can you mark this one as resolved please.


Topic Closed

This topic has been closed to new replies.

About this Topic