Home>Support>Custom widget: ‘before_title’ and ‘after_title’ in Page Builder

Custom widget: ‘before_title’ and ‘after_title’ in Page Builder

By verya, 9 years ago. Last reply by verya, 9 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Good day!

I will start by telling you the PageBuilder plugin is the best! I’ve been developing custom WordPress themes and plugins for the past 8 years or so, and have tried many others like this one. They were way too complicated and were too much overkill.

Now, here’s my question. I have a page, which I’ve split into 2 columns. In one of the column, I’ve added a custom widget of mine (that I usually use in a sidebar (through “Appearance” > “Widgets”). This way, I have control over the title tags with ‘before_title’ and ‘after_title’ in my template.

However, I like the fact that I can use my widgets directly in the PageBuilder editor, but I can’t specify the ‘before_title’ and ‘after_title’ tags… I could hardcode it in my widget code, but then I wouldn’t be able to customize them in a sidebar.

I hope I’m clear enough. Anything I can do?

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

  1. 9 years, 8 months ago verya

    But searching a little further, I guess I could register the widget for Page Builder only?
    Let me know if this is the right way to do it :)

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