How to expand picture to cover entire header area? (twenty-twelve theme)

You will have to do a lot of modifications on this one. We are going to modify header.php file Firstly move this piece of code from header tag file to below body tag <?php if ( get_header_image() ) : ?> <a href=”https://wordpress.stackexchange.com/questions/152110/<?php echo esc_url( home_url(“https://wordpress.stackexchange.com/” ) ); ?>”><img src=”<?php header_image(); ?>” class=”header-image” width=”<?php echo get_custom_header()->width; … Read more

Unregister mobile menu in twenty twelve not working

Delete wp_enqueue_script navigation wont work as the navigation were being registered and stored on the database. So for this you need to deregister navigation using the code below: add_action( ‘wp_print_scripts’, ‘deregister_navscript’, 100 ); function deregister_navscript() { wp_deregister_script( ‘twentytwelve-navigation’ ); } This code unregisters the javascript used to toggle the default responsive menu. Add CSS to … Read more

TwentyTwelve child theme style.css?ver=3.8.1

well that depends on what you want to do, but if it is easier for you to edit that template it will be better that you can control all the output of it.. fx like this function add_require_scripts_files() { wp_enqueue_style(‘layout’, get_template_directory_uri().’/style.css’, array(), ‘1.0.0’, “all”); } add_action( ‘wp_enqueue_scripts’, ‘add_require_scripts_files’ ); and this what the function expects … Read more

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