How to add a template – so that i can choose a different menu for some pages

You can add a new template with a different header. <?php /* Template Name: CustomPageT1 */ ?> <?php //different header for different menu get_header(‘header_name’); ?> <div id=”primary” class=”content-area”> <main id=”main” class=”site-main” role=”main”> <?php // Start the loop. while ( have_posts() ) : the_post(); // Include the page content template. get_template_part( ‘template-parts/content’, ‘page’ ); // If … Read more

How do I bring a page template into a new theme with separate styling?

The problem is that your theme still load the main style.css sheet, because it is called by wp_head(). See the documentation here So, in order to not load your theme main stylesheet, you have to add to your functions.php file : add_action( ‘wp_enqueue_scripts’, ‘yolo_my_custom_template’ ); function yolo_my_custom_template(){ if ( is_page_template( ‘name_of_your_page_template.php’ ) ) : wp_deregister_script(‘twentynineteen-style’); … Read more

Fixing media query

I took a look at the theme documentation and there doesn’t appear to be container width controls available in the backend. The proper way then to adjust this is to create a child theme from the main theme, and change the theme styles via css. Without seeing the theme files I couldn’t tell you specifically … Read more

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