Using {thumb} in custom post_html not generating img tags
-
I’m trying to call wpp_popular_posts in my theme using the following code:
wpp_get_mostpopular("range=weekly&header='Popular This Week'&limit=4&post_html=<article><header><h1>{title}</h1></header>{thumb}</article>&wpp_start='<div>'&wpp_end='</div>'");
but for some reason the {thumb} is not generating any images, not even an img tag in the resulting markup (but everything else is there.) Does anyone have any idea as to why?
I tried adding the widget and checked display post thumbnails and they worked fine there, but when I try inside the theme it doesn’t work.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using {thumb} in custom post_html not generating img tags’ is closed to new replies.