The steps below outline how you can get started with a Kadence starter template.
In your WordPress admin go to Plugins > Add New and search for kadence.
Locate Starter Templates by Kadence WP and click Install Now, then Activate.
Click View Template Library under the plugin name.
Click on the starter template that you would like to import.
The importer will give you an option to pick a color scheme and show you any required plugins. Review them and click Import and then Start Importing.
add_action( 'init', 'qna_remove_wc_breadcrumbs' );
function qna_remove_wc_breadcrumbs() {
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20);
}
$year = 2021;
$month = 'February';
$first_day = date( 'd.m.Y', strtotime( sprintf( "fist day of %s %s ", $month, $year ) ) );
$last_day = date( 'd.m.Y', strtotime( sprintf( "last day of %s %s ", $month, $year ) ) );
add_action( 'pre_get_posts', function( $query ) {
if ( ! is_admin() && $query->is_main_query() && $query->is_search() ) {
$query->set( 'post_type', 'post');
}
});