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.

How to add options to the settings page of PageBuilder

9 years ago · Last reply by design4life 9 years ago

Hello,
is there any hook where we can add options to PageBuilder settings page in the admin area?

wp-admin/options-general.php?page=siteorigin_panels

so I want another tab in addition to “General, Widget, Layout, Content”.

Is that possible?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. design4life 9 years, 2 months ago

    any ideas?

  2. Alex S Staff 9 years, 2 months ago

    Hi Design4life,

    Sorry, we must have missed this thread.

    Please refer to the settings code for a general idea. Basically, you need to add a filter fir siteorigin_panels_settings_fields and set up your settings. Refer to the settings_fields for an idea of how they’re set up.

  3. design4life 9 years, 2 months ago

    Thank you Alex,
    this is exactly what I wanted.

  4. design4life 9 years, 2 months ago

    I have some trouble accessing the value from the settings page,
    if I do

    if ( siteorigin_panels_setting( 'my-option' )) {
        var_dump("my option is enabled");
        }

    then I get

    Call to undefined function siteorigin_panels_setting()

    how can I access the value of the settings?

  5. design4life 9 years, 2 months ago

    never mind, the issue is resolved

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