Cant get theme to change footer color through theme customizer
Cant get theme to change footer color through theme customizer
Cant get theme to change footer color through theme customizer
How can I clear the theme mod settings?
Here’s how I understand this task: get posts (you can shape this any way you want by adding extra parameters to the query), for each post get its meta-box value (replace the key with yours), if value found add it to the menu’s HTML. Note: code is not tested, it is more of an outline. … Read more
WordPress adding in site URL to header links
Okay. I got it working now. Turns out it was one or both of my custom taxonomies I had added on with my custom content type. I knew it had to do with my custom content types or taxonomies because, if I took them out and reset the permalinks, everything worked fine. The names for … Read more
If you take a look at the source code of this part … do_action( ‘customize_controls_print_styles’ ); do_action( ‘customize_controls_print_scripts’ ); ?> </head> <body class=”<?php echo esc_attr( $body_class ); ?>”> <div class=”wp-full-overlay expanded”> <form id=”customize-controls” class=”wrap wp-full-overlay-sidebar”> <div id=”customize-header-actions” class=”wp-full-overlay-header”> <?php $save_text = $wp_customize->is_theme_active() ? __( ‘Save & Publish’ ) : __( ‘Save & Activate’ ); submit_button( … Read more
User driven content problems
WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
You can ask for roles with current_user_can() too: current_user_can( ‘administrator’ ) or current_user_can( ‘editor’ ) There is no built-in role moderator.
It turns out the free Relevanssi plugin does this rather well. I was afraid it would only search posts and not custom post types, but it does it all… and rather well! It only requires a simple filter added to your theme’s functions.php file to get it to omit the body content: // search titles … Read more