• Resolved Moroux

    (@moroux)


    Hello,
    I am using the Sliding Door theme and need assistance with disabling the comments from the home page to make a true static page without the blog section. Need help. Here is the URL
    https://camelliacfl.com/

    Thank you for your assistance in this matter.
    Danielle

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Moroux!

    You can easily disable comments on a page by going to:

    – ‘Pages’
    – Hover over the page title and click on ‘quick edit’
    – Uncheck the ‘Allow Comments’ then click ‘update’

    Comments should now be disabled from the updated page.

    Thread Starter Moroux

    (@moroux)

    Hello TTTytan,
    Thank you for your quick response. And it worked. I really appreciate the help. Another question if you could – how do I get the Categories, Search, Archives, and Meta off of the home page?

    Thanks again for all the help. You have been great!

    Danielle

    Those look like widget sidebars. You can generally remove those widgets by going to:

    – Appearance > Widgets
    – You should see Categories, Search, Archives, and Meta inside the sidebar boxes on the right.
    – Click the title of the widget (example: Search)
    – This will open the widget. At the bottom of the widget box you will see ‘Delete’.
    – Click ‘Delete’

    NOTE: this will also remove them from all other pages that have those sidebars. You can use a plugin to allow you to show sidebar widgets on specific pages, but it sounds like you just want to remove them from all pages.

    Thread Starter Moroux

    (@moroux)

    Hello TTTytan, Thank you for responding so quickly. I went to the Appearance > Widgets and I saw on the right hand side Primary Widget Area and Secondary Widget Area but when I opened the window there were no widgets in those areas. I did delete the Categories, Search, Archives, and Meta widgets from the Inactive list but that did not remove them from the pages. Is there something else I need to do?
    Again thank you for all of your help.

    Danielle

    I checked the theme and it has a default when no widgets are set in the ‘Appearance’ > ‘Widgets’ Primary/Secondary Widget Areas.

    To remove this default go to:

    – ‘Appearance’ > ‘Editor’
    – On the right side you will see a list of different files.
    – Click on ‘sidebar (sidebar.php)’
    – Here you want to change the file to:

    <?php /** * The Sidebar containing the primary and secondary widget areas. *
     * @package Sliding_Door
    *  @since Sliding Door 1.0 */ ?>
    
    <div id="sidebar1" class="widget-area" role="complementary"> <ul class="xoxo">
    
    <?php /* When we call the dynamic_sidebar() function, it'll spit out * the widgets for that widget area. If it instead returns false, * then the sidebar simply doesn't exist, so we'll hard-code in * some default sidebar stuff just in case. */ if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
    
    <?php endif; // end primary widget area ?> </ul> </div><!-- #primary .widget-area -->
    
    <div id="sidebar2" class="widget-area" role="complementary"> <ul class="xoxo"> <?php if ( ! dynamic_sidebar( 'secondary-widget-area' ) ) : ?>
    
    </ul> </li>
    <?php endif; ?> </ul> </div><!-- #secondary .widget-area -->

    Basically, we are removing the default li items. NOTE: this will leave an empty sidebar div and ul.

    Thread Starter Moroux

    (@moroux)

    Hello TTTytan,
    Thank you for getting back to me so quickly. I will try this. I really appreciate all of your help.

    Take care,
    Danielle

    No problem! Hope you were able to get this resolved ??

    Thread Starter Moroux

    (@moroux)

    Thank you for all of your help. Problem resolved! Have a great Holiday Season!
    Danielle

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disable Comments’ is closed to new replies.