WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Display of Posts in List

[Resolved] Display of Posts in List

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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;">

    HTH

    David

    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

    Jim

    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?

    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.

    Jim

    Great,
    Can you mark this one as resolved please.

    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Display of Posts in List’ is closed to new replies.
Skip to toolbar