• 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:
    <?php
    $a_post = get_a_post(16);
    foreach ($a_post as $post) :
    start_wp;
    ?>
    <h2 class=”pad”><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php endforeach; ?>

    Thanks in advance for any help.

Viewing 1 replies (of 1 total)
  • Thread Starter theuniek1

    (@theuniek1)

    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.