Multiple shortcodes on one page??
-
Hello,
I would like to place the shortcode multiple times on a page – is this possible? I tried to do it but all the article thumbnails overlay the rest of the text on the page instead of pushing it down.
Example, I would like my home page to have a header for “Category 1” then underneath it the recent posts for “Category 1”, then below that “Category 2” header and the recent posts below it, then underneath this I would like “Category header 3″ and then the recent posts for that category to display under it and so on. Does this make sense?
The code I was using was:
<div style=”background-color: #282828; vertical-align: middle; padding: 20px 47px; text-align: center;”><span style=”font-size: 28px; color: #ffffff;”>LIFESTYLE</span></div>
[rpwe limit=”4″ category=”lifestyle” thumb=”true” post_status=”publish” thumb_height=”375″ thumb_width=”225″ readmore_text=”Read More »” styles_default=”false” date=”0″]<div style=”background-color: #282828; vertical-align: middle; padding: 20px 47px; text-align: center;”><span style=”font-size: 28px; color: #ffffff;”>WELLNESS</span></div>
[rpwe limit=”4″ category=”health-wellness” thumb=”true” post_status=”publish” thumb_height=”375″ thumb_width=”225″ readmore_text=”Read More »” styles_default=”false” date=”0″]<div style=”background-color: #282828; vertical-align: middle; padding: 20px 47px; text-align: center;”><span style=”font-size: 28px; color: #ffffff;”>MOM LIFE</span></div>
[rpwe limit=”4″ category=”mum-life” thumb=”true” post_status=”publish” thumb_height=”375″ thumb_width=”225″ readmore_text=”Read More »” styles_default=”false” date=”0″]Can I do this and get it to display correctly? Should I be doing something in the CSS?
Thanks so muc!
- The topic ‘Multiple shortcodes on one page??’ is closed to new replies.