The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
87 views

Theme Customizer - How to create a sub panel

In Theme Customizer, i'd like to create a sub panel like this one of wordpress: When we add a new item, a new panel which allows us to pick up a item displays on the right, how can i do the same ? ...
0
votes
0answers
23 views

How can I create a sub menu for sections (customization page)? [duplicate]

For example, the submenu in this image would be Default Typography. I have a lot of colors the user can customize and I'd like to organize them a bit better with sub menus like title, footer, header, ...
0
votes
2answers
59 views

Plugin set default setting value when it activated

I have set up my plugin option on admin panel with /** * Register and add settings */ public function page_init() { register_setting( 'my_option_group'...
0
votes
0answers
20 views

Setting default value on plugin setting input

I'm using https://codex.wordpress.org/Creating_Options_Pages#Example_.232 to create plugin setting page on admin panel. How do I add default value in below line of code : <input type="text" id="...
0
votes
1answer
54 views

Splitting do_settings_sections within HTML?

This seems like it should be very simple to achieve, but I have spent far too long trying to figure it out. I have two settings sections: add_settings_section( 'cp_required_info', 'One', array($this, ...
0
votes
1answer
49 views

Warning: call_user_func() expects parameter 1 to be a valid callback

This my code: $array_theme_options = array( array( 'id' => 'facebook_url', 'title' => 'Facebook Profile Url', 'callback' => 'display_facebook_element', '...
0
votes
1answer
39 views

Receive “menu-toogle” event from section menu in customizer

I'm building a plugin that does some transformations on front page through JS script. I'm trying to build a contextual control in the customizer so that when a certain section is opened I modify the ...
1
vote
0answers
128 views

Move Custom Fields on General Settings Page to New Location

I've created some custom fields on the General Settings page after studying up on this post: Add multiple custom fields to the general settings page. I'd really like to move them to their own ...
0
votes
2answers
156 views

How to add admin bar only page?

I successfully managed to create admin bar item using this: add_action('admin_bar_menu', 'toolbar_link_to_mypage', 999); function toolbar_link_to_mypage($wp_admin_bar){ global $wp_admin_bar; ...
0
votes
1answer
237 views

Adding Form Fields with Settings API

I'm making a plugin with an administration page witch uses the Settings API. I could make one section and one option. But how can I add other form fields to it? If I add an input tag to the callback ...
0
votes
1answer
46 views

custom change in front page [closed]

I want to remove the archive widget on the front page. How do I do it please? The archive section is at the bottom of site. Kirkuk Now Best Regards
2
votes
3answers
163 views

Echo all API Settings sections?

Is there a WordPress function displaying all sections registered with add_settings_section()? I was thinking about SQL query maybe, but have absolutely no idea how and where these are stored, couldn'...