reproducing the widget format with shortcode
-
I currently am using the WPP widget to show some posts. I am trying to replicate the exact output format of the widget using shortcode, as I want to remove the editor the page was built with. I have come pretty close, but there’s one piece I cannot seem to figure.
If you look at the widget output on http://mediblereview.com (trending posts on top) and compare it to the one I created with shortcode on http://mediblereview.com/testslider/, you will notice that the posts created with shortcode are indented slightly.
I am trying to get the thumbnail and contents to shift left and be aligned with the header text but I cannot seem to make this happen.Here is the shortcode I am using:
[wpp header_start='<h3 class="title">' header='Today's Trending Posts' header_end='</h3>' post_html='<li>{thumb}<br>{title}<br><br><span class="wpp-excerpt">{summary}</span><br><strong>{views} views</strong><br><br></li>' cat='4,5,6,8,87' range='last7days' limit=10 excerpt_by_words=1 excerpt_length=40 thumbnail_width=75 thumbnail_height=75]Any Suggestions on how to accomplish this?
The topic ‘reproducing the widget format with shortcode’ is closed to new replies.