Changing theme folder name disrupts widgets

Some themes save the recent sidebar widgets settings amongst other theme settings in wp_options as theme_mods_mynewtheme (assuming mynewtheme is your new theme folder name). If you lost some settings (including widget settings), you can copy/paste the option_value contents of theme_mods_myoldtheme into theme_mods_mynewtheme. That may help or at least restore some theme settings. However, that might … Read more

Where can I find a theme that has a big banner

Here’s a free theme from WordPress themes repository with your required features: https://wordpress.org/themes/palm-beach/ This link filters all of the themes with custom banner/featured image banner on blog posts and have a grid layout and all of these are hosted on WordPress repository to use freely! You can find a lot of premium themes with your … Read more

Show only the beginning of post

Try replacing this: <?php /* Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( ‘content’, ( post_type_supports( get_post_type(), ‘post-formats’ ) ? get_post_format() : get_post_type() … Read more

Theme customizer hiding sections

add_filter( ‘customizer_widgets_section_args’, function ( $args ) { $args[‘active_callback’] = ‘__return_true’; return $args; } ); Adding this to my functions.php file ensured that the settings stayed visible no matter what page was visible.

How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?

This is a fairly broad question. There are many approaches thinkable, but here is the lay-out for an easy one: Build a child theme, consisting only of a style.css. Find the id of the highest level wrapper in the theme, let’s say 2016id In style.css add style rules that depend on the class of the … Read more