• Resolved sahelsteve

    (@sahelsteve)


    Hi, I am wanting to remove titles on static pages. My theme uses h3 for static page titles, and also for the titles of my blog posts.

    There are various other threads asking this question, and the answer is always the same – remove the following code from page.php

    <h3 class="entry-title"><a>" rel="bookmark"><?php the_title(); ?></a></h3>

    My problem is this. I am using Manifesto theme by Rudy Jahchan, and Rudy uses the same loop (loop.php) for both blog posts and static pages. So if I were to delete the code above, it would delete the blog post titles as well.

    How can I change the above code to display the h3 title if it’s a blog post, but not if it’s a static page?

    My site is http://www.voiceinthedesert.org.uk/weblog

    Here is the full php code that makes up the file loop.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I delete the titles displayed on my static pages’ is closed to new replies.