[resolved] latest post Loop help (3 posts)

  1. soren121
    Posted 7 years ago #

    Recently, I installed and customized the Brajeshwar theme on my site, ToonCity News. However, I soon found out that the Latest Post Loop is not working correctly. Anchor links and videos will not show when they are fetched by the Loop. I'm not sure if this is a bug in WordPress or a problem with the theme, but it is really annoying me. Here are the theme files: http://boxstr.com/files/24267_tdxqd/BlueLantern.zip, and here is the Loop code:

    	$posts = get_posts('numberposts=1&offset=0&category=26');
    	foreach ($posts as $post) :

    Thanks! -soren121

  2. MichaelH
    Posted 7 years ago #

    http://codex.wordpress.org/Template_Tags/get_posts shows using setup_postdata($post)

  3. soren121
    Posted 7 years ago #

    OH! This explains it. Thanks! :)

Topic Closed

This topic has been closed to new replies.

About this Topic