Support » Theme: Dara » No widget area on static start page

  • Resolved jgorres

    (@jgorres)


    Hi,

    I created a few pages based on the standard template. The widget area in the right column holds a few widget items.

    However, if I select any page to become my static startpage, the right column vanishes and the content of the page is shown over the whole width of the screen.

    How do I tell Dara to present the widget area even on a static start page?

    Kind regards,
    Jörn.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    Hi Jörn, the sidebar widget is not displayed on the homepage if you choose a static front page.

    There are two ways around this, one requiring some code and one not.

    1) You could place the same widgets into any of the three Footer Widget areas. You could then use widget conditions (like those that come with Jetpack, or a standalone widget conditions plugin if you prefer) to hide those footer widgets everywhere but the homepage, to avoid duplication.

    2) You could create a child theme and make some code modifications to prevent Dara from automatically applying a special Sidebar-less template to the front page.

    If you need help with either route, just let me know.

    Hi Kathryn,

    Thanks for your reply.

    For obvious reasons (at least for me) i prefer the child theme approach (I have already created a child theme to apply various CSS modifications).

    I am not a programmer, however I am not afraid to modify a template if you could give me some advice, please.

    Regards,
    Jörn.

    Hi Jörn,

    Here are some additional resources to help you create the child theme:

    
https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

    Once you have it created, you can add your own front-page.php file to the child theme’s main folder. If you paste the content of Dara’s page.php file into your new front-page.php file for the child theme, the sidebar will appear on the front page of your site.

    Hi David,

    Thanks for your reply and your assistance.

    I am already working with a child theme. Actually, the only thing I needed to do was create a front-page.php with Dara’s page.php as content.

    Problem solved with your advice.

    Thank you,
    Jörn.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No widget area on static start page’ is closed to new replies.