the_content()?…I would like to install Simple:Press forum plug in and…

  • Toby



    I’m using Graphene on my new blog/website We want to add a forum plug in and would like to use Simple:Press for that. On the installation troubleshooting FAQ on their website they ask us to look for three lines of code…one is the header, the other is the footer, which are there, but the third is the_content() in the main page.php or the main theme page template. I couldn’t find that anywhere.

    This is a link to his FAQ page where he says it…

    So, is it there and I’m not seeing it? If it is not there can you tell me where to put it?

    Thank you,



    Syahir Hakim


    The theme does not have a page template, but shares the same template with posts. This allows for easier modification site-wide, without having to modify the same codes in more than one place.

    The the_content() code is located in the loop.php file. If you want to add anything that will only be displayed in Pages and not Posts, use the is_page() conditional.



    Thanks Syahir,

    So if I understand correctly then to add a forum page, that doesn’t show up on the blog posts, I need to use that is_page()? Where would I add that then?


    Syahir Hakim


    In the loop.php file, put something like this:

    <?php if (is_page()) { // Some code for Simple:Press } ?>

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.