How to change Header image depending on language [closed]

This doesn’t have much to do with Genesis, other than you need to hook into the header in one of several ways, with Simple Hooks http://wordpress.org/plugins/genesis-simple-hooks/ or in functions.php. I’ll leave that to you. But using <?php echo qtrans_getLanguage(); ?> do something like this: $currentLang = qtrans_getLanguage(); if($currentLang == ‘fr’) { //show french logo $imageName … Read more

Insert Facebook button into header [closed]

You need to add position: absolute to your Facebook button. Header.php <div class=”logo”> <a class=”logoimga” title=”Gelnagels Gina” href=”http://www.gelnagels-gina.be/”> <img src=”http://www.gelnagels-gina.be/wp-content/uploads/2015/04/Gina4.png”> </a> <a class=”header-img-1″ title=”Facebook-header” href=”#”> <img src=”http://www.gelnagels-gina.be/wp-content/themes/optimizer/facebook.png”> </a> </div> CSS .header-img-1 { left: 15%; position: absolute; top: 50px; }

How to get the Page featured image, not the Post featured image

You might be able to do this by calling wp_reset_postdata(); otherwise you will need to get the blog page ID and set that on the line before instead: if ( is_home() ) {$post_id = get_option( ‘page_for_posts’ );} else {$post_id = $post->ID;} $backgroundImg = wp_get_attachment_image_src( get_post_thumbnail_id($post_id), ‘header-large’ ); ?> Note the is_home() is actually used for … Read more

Change position of header image with default 2019 theme

In the header file for the child theme there is a div with class of “site-branding-container” It contains an h1 element and a p element. Just ad an img element after the p element. i.e. <div class=”site-branding-container”> <div class=”site-branding”> <h1 class=”site-title”><a href=”https://wp-themes.com/” rel=”home”>Theme Preview</a></h1> <p class=”site-description”>Previewing Another WordPress Blog</p> <img src=”https://cnet3.cbsistatic.com/img/Yt768C55hXNi2eGSB9qOv-e7SQg=/2011/03/16/c7675aa8-fdba-11e2-8c7c-d4ae52e62bcc/Chrome-logo-2011-03-16.jpg”> </div><!– .site-branding –> </div> … Read more

How Change WordPress header image from admin menu

To be honest I don’t fully understand why you need this custom code to upload images, it should be possible with the default settings. To answer your question: If you dig a bit through the code, you’ll see that header_image() calls get_header_image() and returns that get_header_image() calls get_theme_mod(‘header_image’, …) and will return that (as long … Read more

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