Excerpt for the pages
-
Hi,
I’ve added this code to the functions.php of my template
add_post_type_support( 'page', 'excerpt' );which allows me to split the text of the pages to two parts and show them on separate parts of the page. But so far I kow this feature doesn’t trigger the excerpt_more hook.
function wpr_no_more_jumping($post) { return ''; } add_filter('excerpt_more', 'wpr_no_more_jumping');This simply not working. I need to disable the read more link, because as I said I needed to show the excerpt and main content on the different parts of page, so there is the whole content on one page.
If I’m wrong and this is not the best approach, please correct me. How can I disable the read more link? I hide it temporarily in the css, but isn’t there a function that allows me to suppress this link?
Thanks
The topic ‘Excerpt for the pages’ is closed to new replies.