Articles of logo

Dynamic logo/banner depending on affiliate link

i am building an affiliate site using woo commerce and wp affiliates. There will be a network of 20-30 affiliate sites linking back to main site. I need to display the logo/banner of the referring site on the main site. So if a user is referred from Widget Maker 1 website to the main site […]

How do I add a logo to my website?

I would like to know how to do add a logo to my website, before the site title. <html <?php language_attributes(); ?>> <head> <meta charset=”<?php bloginfo( ‘charset’ ); ?>” /> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <link rel=”profile” href=”″ /> <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” /> <?php /* Embeds HTML5shiv to support HTML5 elements in […]

get_header_image() causes “Prioritize visible content” issue in Page Speed Insights

I am trying to optimize my site’s speed using PageSpeed Insights. I got the critical CSS inlined by using grunt criticalcss. That’s all fine, but in my header, I use get_header_image() to show the logo. Page Speed Insights complains that “Only about 34% of the final above-the-fold content could be rendered with the full HTML […]

Multiple image logo for theme

My website has a logo and this logo have 2 states (i.e. online and offline ). Each of them has an image that will be uploaded to the media. What I am trying to achieve is that, when hovering on, the state of the logo changes (this can be done quite easy). However, in order […]

Display a default image for custom-logo

I am switching my Genesis theme over to use WordPress’ 4.5 custom-logo function. It was simple to do: add_theme_support( ‘custom-logo’, array( ‘width’ => 861, ‘height’ => 130, ‘flex-width’ => true, ‘flex-height’ => true, ) ); However, I do not see a way in which to provide a default logo (which would be under theme/images/header.svg where […]

how to add custom logo to my template

So now it should be somewhere here. I still have no idea how to do it :< <div id=”logo-wrap”> <?php PC_Utility::pc_display_theme_logo($options); $options = get_option( PC_OPTIONS_DB_NAME ); if ( !isset($options[ ‘chk_hide_description’ ]) ) { ?> <div id=”site-description”><?php bloginfo( ‘description’ ); ?></div> <?php } ?> </div><!– #logo-wrap –>

WordPress login page logo customization

For some reason the first code works. But the second does not. And I can’t figure out what is wrong with my syntax. background-image: url(“/wp-content/themes/flawless-v1-17-child-01/images/Logo-B-Classic.jpg”) !important; background-image:url(‘.get_stylesheet_directory_uri().’/images/Logo-B-Classic.jpg) !important;

Change logo url link

I’m trying to change the logo url of the site to “”, but it is not working, can anyone tell me where is the error in the code below? add_filter( ‘login_headerurl’, ‘custom_loginlogo_url’ ); function custom_loginlogo_url($url) { return home_url( ‘side2’ ); }

Three Questions with Twenty Eleven theme

I have a few things that I need help with in Twenty Eleven. The logo I put in the header is resized to 578px by 160px, when it is supposed to be 326px by 90px. I would like to simply the php code that controls this: I added the gradient to the info box […]

Boldy Theme – Tweak PHP for 2nd Logo?

Running WordPress 3.1 with the free Boldy theme from Site5. Here is a working version of my website: I want to achieve something like this screenshot: i.e. Have a 2nd logo above the social media icons. EDIT – Screenshot shows moving an existing image to the new location. This is misleading, and I actually […]