Home › Community Forums › Ally Theme Support › Delete "Read More" in Pretty Photo Gallery › Reply To: Delete "Read More" in Pretty Photo Gallery
August 19, 2013 at 9:27 pm
#6663

Customer
Take a look in your page_portfolio.php file and edit the Read More code –
// Custom Read More link
add_filter( 'excerpt_more', 'portfolio_read_more_link' );
add_filter( 'get_the_content_more_link', 'portfolio_read_more_link' );
add_filter( 'the_content_more_link', 'portfolio_read_more_link' );
function portfolio_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '" rel="nofollow">Read More</a>';
}
….you could probably just erase the link and text part and you’ll end up with this –
return '';
Then it won’t show up.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com