Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #254720

    How can I get rid of the sections (marked in red) in single post pages?

    https://dl.dropboxusercontent.com/u/30626292/single_post.jpg

    #254880

    Hi mikehirsch!

    Thank you for using the theme!

    You can remove the comment section with this on Quick CSS or custom.css:

    div.comment-entry.post-entry {
    display: none;
    }

    To remove the dummy widgets, edit sidebar.php then look for this code on line 75:

    //default dummy sidebar
            if ($default_sidebar)
            {
                 avia_dummy_widget(2);
                 avia_dummy_widget(3);
                 avia_dummy_widget(4);
            }

    Replace it with this:

    //default dummy sidebar
            if ($default_sidebar)
            {
                 //avia_dummy_widget(2);
                 //avia_dummy_widget(3);
                 avia_dummy_widget(4);
            }

    Regards,
    Ismael

    #255234

    Is there a way to put the php code into my child-theme functions.php file? Will it override the main theme php?
    I try not to edit any main theme files if I don’t need to.

    #255470

    Hey!

    Thank you for the update.

    Sure, you can copy the sidebar.php file on your child theme folder. This will override the parent theme’s sidebar.php.

    Cheers!
    Ismael

    #255745

    So I made a sidebar.php file in my child theme folder. In the file, I only used the code you gave me – I didn’t repeat the Enfold code. It works – kind of… Basically the whole sidebar is gone, but I still wanted to show the Archive, which I’m assuming is “avia_dummy_widget(4);” According to your code, I understand it should show Archive, but I wonder why not?

    I put the code in exactly as you gave it to me.

    I will send site link next.

    #255747
    This reply has been marked as private.
    #255990

    Hey!

    Thank you for the update.

    You need to copy the whole code on sidebar.php then make the changes suggested above.

    Regards,
    Ismael

    #256389

    Ah, that works. Thanks Ismael!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Single Post pages : Delete some parts’ is closed to new replies.