Home>Support>Display a theme’s widget area within a row?

Display a theme’s widget area within a row?

I’ve applied some specific styling to the sidebar widget area in my theme, and rather than wrestling the individual widget-blocks in the page builder to mimic this, I’d prefer to just display the sidebar widget itself.

The issue is that, since the main page has a lot going on, I don’t want the sidebar widget area to just load in the sidebar, I need it to load within a row I’ve built in the PageBuilder.

Is there a widget in the PageBuilder that will display a widget-area fully?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 9 months ago Greg Priday
    Hi, I Work Here

    Hi jeddavisdesign,

    This isn’t actually possible purely with Page Builder at the moment, although it’s quite possible that there’s a plugin out there that displays a sidebar inside a widget. I did a quick search, but wasn’t able to find one.

    One, slightly more advanced option would be to use the PHP widget. This widget allows you to add some pure PHP.

    https://wordpress.org/plugins/php-code-widget/

    In there, you’d just have a call for dynamic_sidebar – https://codex.wordpress.org/Function_Reference/dynamic_sidebar

    So something like this

    dynamic_sidebar( 'my-custom-sidebar' );
    
  2. 8 years, 9 months ago jeddavisdesign

    The PHP widget worked exactly as it should have, unfortunately the custom styling still isn’t pulling through. Looks like I’ll have to do it the round-about way after all.

    Thanks!

  3. 8 years, 9 months ago SiteOrigin
    Hi, I Work Here

    Glad to hear you’ve made some progress :) All the best for the rest of your project.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More