Using different header images for different devices
I’ll debug the source code after for detail anwser but I guest you can try this CSS solution: @media screen and (max-width: 375px) { css selector { background-image: url(“header-mobile.jpg”); } }
I’ll debug the source code after for detail anwser but I guest you can try this CSS solution: @media screen and (max-width: 375px) { css selector { background-image: url(“header-mobile.jpg”); } }
WP Menu editor is hiding options for menu items
I would think that you would need to give the user the ability to create posts/pages and save customizer settings to really get a feel of the theme. I would create a new “admin” user role that has all the permissions of an admin, except creating/deleting users. This way you can’t get locked out of … Read more
Broken Customizer After Migration To The Skeleton Architecture
Try to replace $( ‘:root’ ).css( ‘–primary’, to ); with $( ‘:root’ ).get(0).style.setProperty( ‘–primary’, to );
So you first want to order them by author and then by date for every author? You should use the orderby argument in your query, where you can pass an array. $custom_query_args = array( ‘post_type’ => ‘post’, ‘meta_key’ => ‘xyz’, ‘meta_value’ => ‘yes’, ‘orderby’ => array( ‘author’ => ‘ASC’, ‘date’ => ‘DESC’ ) ); This … Read more
Top header to edit page not present in one page
How to stop customizer settings inheritance from parent to child theme?
Domain redirect seems to break WP customizer
You don’t need to fake being in the customizer, just grab the theme mods directly via get_theme_mods. Afterall they’re just theme specific options. Something like this would print out all the theme mods in a definition list: function tomjn_print_theme_mods() { $mods = get_theme_mods(); if ( empty( $mods ) { return; } echo ‘<dl>’; foreach ( … Read more