WordPress.org

Support

Support » Themes and Templates » Unable to locate page.php file to remove page titles in Graphene Theme

Unable to locate page.php file to remove page titles in Graphene Theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joseph

    @jpe24524

    Open loop.php and replace

    <h2 class="post-title">
    	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permalink Link to %s', 'graphene'), the_title_attribute('echo=0')); ?>"><?php if (get_the_title() == '') {_e('(No title)','graphene');} else {the_title();} ?></a>
    <?php do_action('graphene_post_title'); ?>
    </h2>

    with

    <?php if (!is_page()) : ?>
    <h2 class="post-title">
    	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permalink Link to %s', 'graphene'), the_title_attribute('echo=0')); ?>"><?php if (get_the_title() == '') {_e('(No title)','graphene');} else {the_title();} ?></a>
    <?php do_action('graphene_post_title'); ?>
    </h2>
    <?php endif; ?>

    freeunlocks

    @freeunlocks

    Thanks so much! Worked great 😀

    Joseph

    @jpe24524

    You’re welcome 🙂

    I’d also like to remove the titles from my pages. I’m using the Atahaulpa theme. I don’t see a loop.php . Hope you can help.

    I can’t find the code in the loop.php. I am a newbie. Is there an easy way to find it or delete page titles w/out editing code?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to locate page.php file to remove page titles in Graphene Theme’ is closed to new replies.
Skip to toolbar