Home Page Right Sidebar Default Widgets + Sidebar Location

  • Home
  • Forums
  • Dokan
  • Home Page Right Sidebar Default Widgets + Sidebar Location
This topic contains 1 reply and 2 voices, and was last updated by Sk 9 years, 9 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
July 1, 2014 at 10:30 pm 22687
Sk Where do the default widgets come from? When I add a widget to the “Home Page” widget area it replaces them, but when i have no widgets in “Home Page” widget area it puts Search, Archives, and Meta there. Also, how do I change the layout of an individual page? I'd like to have a left sidebar instead of right on the home page.
July 3, 2014 at 12:37 am 22802
Sk Sk

Hello Kevin,

Home page default widgets:
Please navigate to dokan/sidebar-home.php. This is the sidebar page for home page. The default widgets are set in this page on line 15-33. If you don’t want the default widgets then comment out or remove these lines.

Home page layout change:
Please navigate to dokan/front-page.php on line 129. The line is <?php get_sidebar( 'home' ); ?> before <?php get_footer(); ?>. Cut the line and paste it on line 16 after get_header(); ?>. You will have a left sidebar instead of right on the home page.

Thank you.

Viewing 1 Posts - 1 through 1 (of 1 total)