WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Comment Box for Genesis: "Single.php" file Warning? (5 posts)

  1. JoshLovesIt
    Member
    Posted 1 year ago #

    When trying to access the "single.php" file within my Genesis theme, I get this:

    "WARNING: This file is part of the core Genesis framework. DO NOT edit this file under any circumstances. Please do all modifications in the form of a child theme."

    But there is no "single.php" file in my child theme. I've searched in both the WP file editor and in my FTP File Manager...same warning message.

    Will you please help?

  2. Evan Herman
    Member
    Posted 1 year ago #

    I believe you must create a single.php for your child theme. I am not 100% sure as I have only set up one child theme previously.

    Did you read through here?
    http://codex.wordpress.org/Child_Themes

    EDIT: Straight from the codex:

    If you want to change more than just the stylesheet, your child theme can overwrite any file in the parent theme: simply include a file of the same name in the child theme directory, and it will overwrite the equivalent file in the parent theme directory. For instance, if you want to change the PHP code for the site header, you can include a header.php in your child theme's directory, and that file will be used instead of the parent theme's header.php.

    Hopefully you were able to resolve this?

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @JoshLovesIt - You need to ask StudioPress for help - as commercial themes aren't supported on these forums.

  4. JoshLovesIt
    Member
    Posted 1 year ago #

    OK, I installed the Facebook plugin, but can't find simple answers to two questions:

    1. How do I move the FB comment box above my WP comment box?

    2. How can I benefit from having the comments hosted on my server for SEO. Anyone know of a simple tutorial? The FB instructions are very confusing to me:

    "The Facebook comments box is rendered in an iframe on your page, and most search engines will not crawl content within an iframe. However, you can access all the comments left on your site via the graph API as described above. Simply grab the comments from the API and render them in the body of your page behind the comments box. We recommend you cache the results, as pulling the comments from the graph API on each page load could slow down the rendering time of the page."

  5. Evan Herman
    Member
    Posted 1 year ago #

    Can we get a link to your site so we can easier see what is going on?

Topic Closed

This topic has been closed to new replies.

About this Topic