Custom HTML structure in customizer not rendring in Browser

You can change in html of customizer control by extend of Class WP_Customize_Control Check this code to change html of checkbox in theme customizer <?php /** * Add customizer function. * * @param WP_Customize_Manager $wp_customize WP_Customize_Manager instance. */ function add_customizers_function( $wp_customize ) { /** * Custom checkbox control class. */ class Checkbox_Custom_Control extends \WP_Customize_Control { … Read more

How to add more than one menu for logged in members?

I suggest you use the theme_location options in WordPress. Assuming you have multiple locations for navigation menus what you could do is assign the two different menus to two different locations. Then adjust your theme templates to display the menu based on logged-in status rather than trying to add two menus to the same location. … Read more

Wanted to get rid of Paragrapgh tag in submit buttom of the WordPress form

If you control the theme the simplest way to fix this is passing the submit_field argument into comment_form(): comment_form( array( ‘submit_field’ => ‘%1$s %2$s’, ) ); Default: <p class=”form-submit”>%1$s %2$s</p>, where %1$s is the submit button markup and %2$s is the comment hidden fields. which removes the <p> altogether. However it might be useful to … Read more