Hide tags in excerpt
-
Hi everybody,
I’m always very happy to find help in support posts,
so now, my turn to help.Admired theme has a lots of very cool options,
but I’ve spend a lot of time to find how to hide tags in excerpt.This is my solution :
– go to the Editor, open “loop.php”
– search for this linespan class="cat-links"> <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'admired' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); $show_sep = true; ?> </span>
– just add before this code
<?php/*
and after
*/?>
so you will have this for now :
<?php/* <span class="cat-links"> <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'admired' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); $show_sep = true; ?> </span> */?>
Hope this will be helpfull for you?
If you want to hide “respond” (“répondre” in french)
find this code :<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'admired' ) . '</span>', __( '<b>1</b> Reply', 'admired' ), __( '<b>%</b> Replies', 'admired' ) ); ?> </span>
same job, add
<?php/*
before, and*/?>
afterso you will have this for now :
<?php/* <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'admired' ) . '</span>', __( '<b>1</b> Reply', 'admired' ), __( '<b>%</b> Replies', 'admired' ) ); ?></span> */?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hide tags in excerpt’ is closed to new replies.