Create a standard excerpt for posts using shortcodes
-
I’m not that familiar with php so this is doing my head in. What I’ve done so far is set up Advanced Custom Fields to enter a post summary/metadata which is then posted in a blockquote at the top of each post.
I’ve managed to use this data to create an excerpt in the manual excerpt field consisting of:Rating: [field rating]<br> Keywords: [field keywords]<br> Summary: [field summary]<br> Words: [wpwordcount]<br> Estimated Reading Time: [rt_reading_time postfix="minutes" postfix_singular="minute"]
This works exactly as I want, but I’m hoping to avoid putting this on every “category – story” page manually. Can someone please help me with adding this to all pages of a particular category (or tag or some sort of manual override to allow for the odd exception)?
I’d really appreciate any advice. Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Create a standard excerpt for posts using shortcodes’ is closed to new replies.