• Resolved adrstuart

    (@adrstuart)


    Im trying to allow facebook comments on my blog posts. using the graphene theme

    I have the Facebook comments plugin and it has told me to do the following

    3.Insert the following code somewhere between <?php comments_template(); ?> and <?php endwhile; else: ?>: <?php if (function_exists(‘facebook_comments’)) facebook_comments(); ?>

    To do this i need to post this in page.php. Only problem being when i go into the Appearance > Editor, there is no page.php

    the website is http://www.tombridger.co.uk

Viewing 2 replies - 1 through 2 (of 2 total)
  • Josh Feck

    (@builtbynorthby)

    My first suggestion is to reconsider using a plugin that requires you to modify templates.
    That said, you could create a child theme, copy over the index.php from Graphene, rename it page.php, then add your comments plugin code. You’ll need to use your file manager from cpanel and/or use FTP. The built in theme file editor in WordPress is best used for reference, not editing.
    Further reading and explanation here.

    Im trying to allow facebook comments on my blog posts.

    To do this i need to post this in page.php.

    this is kind of a contradiction, as page.php would certainly not show posts.

    are you sure that you don’t have to edit single.php (for single posts) of index.php (for posts on the front page)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No page.php in Graphene Theme’ is closed to new replies.