Disable comments & get rid of the right sidebar

This topic contains 13 reply and 2 voices, and was last updated by Nayem 9 years, 5 months ago
Viewing 13 Posts - 1 through 13 (of 13 total)
Author Posts
June 29, 2015 at 1:45 am 53506
Nayem hello, i want t get rid of the right sidebar and disable comments
June 29, 2015 at 9:34 am 53523
Nayem Nayem

Hello Loukia,

To disable comment from a page please navigate to Wp admin->Pages-> Click on the quick edit page. Then you have to uncheck the checkbox for Allow comments on page. Please check the screenshot-

From which page do you want to remove sidebar? Please provide a screenshot here.

Thanks.

June 29, 2015 at 12:36 pm 53554
Loukia Loukia

http://s9.postimg.org/qiiztc4an/2015_06_29_9_33_27.png

the sidebar where it says search, archive and meta

June 29, 2015 at 12:44 pm 53555
Nayem Nayem

Please open Dokan theme folder/sidebar-home.php file. In this file you will get those codes-

 <aside id="search" class="widget widget_search">
                <?php get_search_form(); ?>
            </aside>

            <aside id="archives" class="widget">
                <h1 class="widget-title"><?php _e( 'Archives', 'dokan' ); ?></h1>
                <ul>
                    <?php wp_get_archives( array('type' => 'monthly') ); ?>
                </ul>
            </aside>

            <aside id="meta" class="widget">
                <h1 class="widget-title"><?php _e( 'Meta', 'dokan' ); ?></h1>
                <ul>
                    <?php wp_register(); ?>
                    <li><?php wp_loginout(); ?></li>
                    <?php wp_meta(); ?>
                </ul>
</aside>

You have to remove those line.

June 29, 2015 at 3:17 pm 53573
Loukia Loukia This reply has been marked as private.
June 29, 2015 at 3:22 pm 53575
Nayem Nayem

Hello Loukia,

In your dokan theme folder you will get this file- sidebar-product-single.php. In this file, you will get that same code. Remove that code and you will be done.

<aside id="search" class="widget widget_search">
                <?php get_search_form(); ?>
            </aside>

            <aside id="archives" class="widget">
                <h1 class="widget-title"><?php _e( 'Archives', 'dokan' ); ?></h1>
                <ul>
                    <?php wp_get_archives( array('type' => 'monthly') ); ?>
                </ul>
            </aside>

            <aside id="meta" class="widget">
                <h1 class="widget-title"><?php _e( 'Meta', 'dokan' ); ?></h1>
                <ul>
                    <?php wp_register(); ?>
                    <li><?php wp_loginout(); ?></li>
                    <?php wp_meta(); ?>
                </ul>
</aside>

Thanks.

June 29, 2015 at 3:30 pm 53576
Loukia Loukia

but what is the code for the woocommerce product categories in order to place it there?

June 29, 2015 at 3:31 pm 53578
Nayem Nayem

Please navigate to Wp-admin->Apperance->Wdiget and place WooCommerce product category widget in the single product page.

Thanks.

June 29, 2015 at 3:36 pm 53579
Loukia Loukia

Is not working.
Basically this issue occurs to the category, subcategory and single product pages.

June 29, 2015 at 3:44 pm 53581
Nayem Nayem

Actually what you are trying to insert in the single product page? Please make me clear about that.

June 29, 2015 at 3:48 pm 53582
Loukia Loukia

the Woocommerce Product Categories Widget

June 29, 2015 at 3:52 pm 53584
Nayem Nayem

I have mentioned they way to put the widget into the page. Now is is not working?

June 29, 2015 at 3:57 pm 53586
Loukia Loukia

http://s30.postimg.org/3nb1tskjl/Okay.png In this picture you will see the widget i want to place. In the single product page works fine. forgive me about my mistake. is not to woocommerce category widget is the Dokan product category widget.

now in the subcategory and category page the problem is still there. here is the screen shot. on the left site i still have search bar, archives and meta sidebars

http://s9.postimg.org/rxe4ytk8v/wrong.png

I hope i made my self clear this time

June 30, 2015 at 11:18 am 53682
Nayem Nayem This reply has been marked as private.
Viewing 13 Posts - 1 through 13 (of 13 total)