Support » Plugins and Hacks » Get A Post Plugin Not Working

Get A Post Plugin Not Working

  • I installed the Get A Post plugin so that I could easily modify the about sections of a website, however, the plugin isn’t working.

    It returns the title of the post, however, it doesn’t return the content. The exact code I’m using in the page is:
    $a_post = get_a_post(16);
    foreach ($a_post as $post) :
    <h2 class=”pad”><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php endforeach; ?>

    Thanks in advance for any help.

Viewing 1 replies (of 1 total)
  • Nevermind, found the solution to the problem – didn’t realize it until I took a brief break then looked at the code again.

    I realized that the code on the wiki is start_wp when I copied it, and it shoudl be start_wp()…someone may want to update the wiki to correct that.

Viewing 1 replies (of 1 total)
  • The topic ‘Get A Post Plugin Not Working’ is closed to new replies.