$wp_customize->remove_section for customizer setting?

Assuming you are trying to remove the default nav_menus panel, you have the id wrong. Also, you’ll need to add a priority of at least 20 to the customize_register hook, assuming you’re using that hook. function remove_customizer_settings( $wp_customize ){ $wp_customize->remove_panel(‘nav_menus’); } add_action( ‘customize_register’, ‘remove_customizer_settings’, 20 );

Changing editor-style.css style

It doesn’t work because WordPress isn’t loaded within the context of editor-style.php, and you’re actually getting a fatal error (get_theme_mod undefined). Enable error logging and you’ll see what I mean. Rather than pointing directly to a custom PHP file, you should use an “endpoint” within WordPress: add_editor_style( admin_url( ‘admin-ajax.php?action=editor-style’ ) ); Now you can “listen” … Read more

Private member page

You can do it without plugins, you just have to allow subscribers to see Private posts and pages, depending on what you want, so you have to put this code in your functions.php $subRole = get_role( ‘subscriber’ ); $subRole->add_cap( ‘read_private_posts’ ); $subRole->add_cap( ‘read_private_pages’ ); And then simply create a private post or page and it … Read more

Login form in popup

My recommendation would be to use a plug-in like Lightbox Plus to power your link. Clicking the link would load your standard login form inside a lightbox. You could then automatically redirect to the same page so that, once logged in, users can leave a comment. Basically, you’d dynamically build your link to be something … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)