Custom template in Excerpt field on edit post?
-
I have this code in my funtions.php which allows me to add custom excerpts in posts.
function excerpt_read_more_link($output) { global $post; return $output . '<span class="readmore"> <a href="'. get_permalink($post->ID) . '"> Read Review</a></span>'; } add_filter('the_excerpt', 'excerpt_read_more_link');
I want all excerpts to have a lot of the same info, like a list of:
price/rrp/buy now etc.How can I get this text/info to auto display in the excerpt field in edit post instead of me manually typing them in for every post? (which I can then edit slightly per each post)
Is it possible?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom template in Excerpt field on edit post?’ is closed to new replies.