Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

logo

How to display custom logo on WordPress login page

Change the code to: function my_login_logo() { $site_id = get_current_blog_id(); ?> <style type=”text/css”> body.login div#login h1 a { background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/Logo-B-Classic-<?php echo $site_id; ?>.jpg); } </style> <?php } add_action( ‘login_enqueue_scripts’, ‘my_login_logo’ ); Then, update the logo image file names to append the site ID accordingly to each different logo image file, for example … Read more

Categories multisite Tags login, logo, multisite

Load different logo on mobile

Seems to be you have selected the incorrect “light logo” for the mobile view. As I inspected code and noticed that the “light logo” is actually the dark one! Replace that logo with white one and it should be just fine. And if you don’t want to play around with the theme setting, Just go … Read more

Categories logo Tags logo

theme logo setting to template file

theme logo setting to template file

Categories logo Tags logo

Twenty Ten Theme: Replace the Logo by a picture without moving the code

Your best bet is to make a child theme and simply add in the twentyten header.php with a link to your image. How to make child theme, http://codex.wordpress.org/Child_Themes It would be something like this ( under the branding div.) <div id=”branding” role=”banner”> <div id=”logo”><img src=”https://wordpress.stackexchange.com/questions/5198/<?php bloginfo(“template_url’ ); ?>/images/YourImage.png” alt=””/></div></div><!– #branding –>

Categories themes Tags logo, plugins, theme-twenty-ten, themes

On home page remove link from logo

Its a template specific thing mate. You might have to edit the header.php and add a condition like: <?php //Check for homepage if(!is_front_page()) { //The link around logo markup } else { //Just the logo markup without the link } ?>

Categories homepage Tags homepage, logo

How to add image on top of header logo in child theme?

You have done the most of it, just that you haven’t realized it yet. If you are using a child theme then you can copy and paste the header.php from the main theme into the child theme folder and make the exact same changes you have made now to keep the icon above the logo. … Read more

Categories header-image Tags header-image, logo

Change Site Logo or Menu Logo Per Page

Finally found a workaround. I used UberMenu the WordPress plugin to insert images into menus which I then set on a per page basis.

Categories customization Tags customization, logo, pages

How to change the link of the wordpress logo in the admin bar?

You should add the following to your functions.php, you can add, edit or delete items to your desire. remove_action( ‘admin_bar_menu’, ‘wp_admin_bar_wp_menu’, 10 ); add_action( ‘admin_bar_menu’, ‘my_admin_bar_wp_menu’, 10 ); function my_admin_bar_wp_menu( $wp_admin_bar ) { $wp_admin_bar->add_menu( array( ‘id’ => ‘wp-logo’, ‘title’ => ‘<span class=”ab-icon”></span>’, ‘href’ => ‘http://yourdomain.com’, ‘meta’ => array( ‘title’ => __(‘About my website’), ), ) … Read more

Categories admin Tags admin, links, logo

Dynamic logo/banner depending on affiliate link

The solution for this is, in my opinion, divided into two steps. The first step is to set the variable, which defines the affiliate, that sends you the visitor. The second step is to display an appropriate logo based on the value of the first variable. The solution for the first step would probably look … Read more

Categories links Tags links, logo, woocommerce-offtopic

How do I add a logo to my website?

The title is probably placed within the header.php file. So openup and find something like: <h1><a href=”https://wordpress.stackexchange.com/questions/187487/<?php bloginfo(“url’);?>”><?php bloginfo(‘name’);?></a></h1> This is what displays Abraham & Co on your website. Now first of you need your image uploaded to you images folder in the theme folder.Add the following code BEFORE the code above: <img src=”https://wordpress.stackexchange.com/questions/187487/<?php bloginfo(“template_directory’);?>/images/your-logo.png”> … Read more

Categories wp-head Tags logo, wp-head
Older posts
Newer posts
← Previous Page1 … Page5 Page6 Page7 … Page13 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress