Display related posts twice
-
Hello,
I would like to display related posts twice: one time in the top of my posts and one time at the bottom. I’d like to make the related posts show as a list in the top of my posts (only displaying post names with links) and as a full widget in the bottom, including thumbnails and categories.
My initial idea was to enable manually positioning using this function and then use
do_shortcode( '[jetpack-related-posts]' )
twice: one time at the beginning of my posts and another time at the end. The related posts at the beginning would be inside a div that would use somedisplay: none;
to make only the links appear (hidding images, categories, etc).However, I’ve just noticied
do_shortcode( '[jetpack-related-posts]' )
only works once: if I call it at the top, it won’t be called at the bottom.Any suggestions?
Thank you.
- The topic ‘Display related posts twice’ is closed to new replies.