Specify post ID in shortcode
-
Great plugin! I have a theme which builds collection pages that lists multiple blogposts, showing the title and author next to each post title. We don’t show the excerpt or content on those pages but would like to show the reading time.
If I use the shortcode [rt_reading_time] on those collection pages (e.g. next to each blog post entry), then the reading time shown is for the collection page itself, instead of for each of the blog posts that are being listed.
Is it possible for you to add a shortcode version that allows a specific post ID to be passed into it as an attribute so that the reading time is calculated for that post ID and not the current page ID?
I’d be happy to work on this myself if you’d allow me to add this functionality to your plugin.
Many thanks, Anne Marie
- The topic ‘Specify post ID in shortcode’ is closed to new replies.