WordPress.org

Support

Support » Themes and Templates » [Resolved] [Theme: ZenLite] Unusual request – remove permalink from post titles

[Resolved] [Theme: ZenLite] Unusual request – remove permalink from post titles

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author esmi
    Forum Moderator

    @esmi

    Create a child theme and then change:

    <?php if( !is_singular() ) :?><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute( array('before' => __('Permalink to ', 'zenlite'), 'after' => '') ); ?>"><?php endif;?><?php the_title();?><?php if( !is_singular() ) :?></a><?php endif;?>

    to:

    <?php the_title();?>

    in a copy of format-page.php in your child theme.

    Eve Alexander
    Member

    @tropicali

    Esmi, thank you but it didn’t work. We found that same code on all the format- pages, removed it and it’s still linking from the home page.

    Theme Author esmi
    Forum Moderator

    @esmi

    Do not edit the parent theme!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Theme: ZenLite] Unusual request – remove permalink from post titles’ is closed to new replies.