This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Display a theme’s widget area within a row?

10 years ago · Last reply by Support Assistants 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Greg Priday Staff 10 years, 2 months ago

    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. jeddavisdesign 10 years, 2 months ago

    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. Support Assistants 10 years, 2 months ago

    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.

Have a different question or issue?

Start New Thread