• bonnetsinwonderland.com

    Twenty-twelve theme.

    I would like to remove the ‘Leave a reply’ that appears before my posts. I would, however, still like readers to have ability to comment, but after the post only.

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • You will need to start customising your theme’s template files via a child theme.

    Thread Starter Leanne South

    (@leanne-south)

    Trying to customise via child theme.

    Created child theme: public_html/wp-content/themes/twenty-twelve-child1/style.css

    The folder is located directly under ‘theme’

    Dashboard, Manage themes message is:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    Template is missing.

    What code is in the child theme style.css file? It should be only a short section at the top.

    Thread Starter Leanne South

    (@leanne-south)

    Hello again WPyogi, thank you.

    I realize this is the step that I’m missing. After physically creating the file called ‘style.css’, I haven’t done anything else, such as enter code. I see the code I need to enter, to be copied right from the help section of wordpress. org. I simply don’t know ‘where’ to enter it.

    Just copy/paste this code in that file – you need to create that file on your local computer using a plain text editor –

    /*
     Theme Name:     Twenty Twelve Child
     Template:       twentytwelve
     Version:        1.0.0
    */
    
    @import url("../twentytwelve/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    Thread Starter Leanne South

    (@leanne-south)

    Thank you. I have installed the child theme successfully.

    Back to the reason for my initial post, and the reason I created the child theme as recommended by esmi, how do I remove the ‘leave a reply’ before my posts?

    Cool! Can you link to a page where that shows up?

    Thread Starter Leanne South

    (@leanne-south)

    Yes, very cool, thank you.

    the ‘leave a reply’ comment was showing in the preview of a post i drafted. I have just published it for you to see it easily at https://www.bonnetsinwonderland.com

    I published it, knowing that I can easily edit it. I have to add the comment plug in still anyways.

    Thank you so much for your help!

    Try adding this to the new style.css file:

    .entry-header .comments-link {
        display: none;
    }

    Thread Starter Leanne South

    (@leanne-south)

    Ah, that worked! You’re a star! Thank you:)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Delete "leave a reply' before post’ is closed to new replies.