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

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

    (@esmi)

    Forum Moderator

    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.

    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

    (@esmi)

    Forum Moderator

    Do not edit the parent theme!

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