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.

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

10 years ago · Last reply by verya 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. verya 10 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread