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

Help! Need a different logo on my main page from my other pages

In your header.php which you copied into your child theme, replace the logo request with this:

If (is_front() || is_home) {
//Your logo for the front page
}Else {
// Your other logo
}

If your home page is static use is_front. If your home page is blogs use is_home.

I looked up your theme “classify”. If it’s the one from themeforest login to your themeforest and download the complete theme folder not just the WordPress install file. In the file you downloaded you’ll find the “classify-child.zip” install that as well into your WordPress theme. this will make a copy of the theme that you can customize but won’t be affected when you update the actual classify WordPress theme next time.

Now, from the classify folder, copy the header.php file into the classify-child folder in your wordpress install. Make the changes in the new header.php file that is in your classify-child theme.

Related Posts:

  1. Add multiple custom fields to the general settings page
  2. When should you, and when should you not, use wp_list_pluck()?
  3. Is it possible to remove the “standard” post format?
  4. Woocommerce add to simple product attribute programmatically [closed]
  5. Issue with get_theme_mod returning a blank value instead of the saved value
  6. How to remove row-actions from pages table?
  7. opening links in new tab using – add_filter( ‘the_content’, ‘make_clickable’);
  8. Modify search function in WordPress (TwentyTwelve)
  9. Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
  10. How to fix a theme with page.php Default Template that accidentally deleted?
  11. Set default options for inserting media
  12. How do I change parameters without changing the core
  13. Problem with extract() with custom shortcode
  14. add sidebar area to header of child theme
  15. Changing itemprop from logo to image on custom logo?
  16. Custom logo sizes for multiple logos
  17. Theme-Config tab in admin Pannel?
  18. Creating loop within functions.php
  19. How to Add a Random Custom Gravatar in the WordPress Comments?
  20. adding custom classes for tables
  21. Pass Shortcode Attribute to footer Script
  22. How to mass-delete inline styles in WordPress custom post type automatically?
  23. Remove the deleted users avatar from list
  24. PHP files included in functions.php don’t seem to work
  25. How Can I Expand the WordPress Customize window without any Plugin?
  26. Set quantity of woocommerce product on page visit [closed]
  27. wp_dropdown_categories and custom attribute
  28. str_replace function in theme
  29. Automatically wrap multiple images in div
  30. Ajax not working properly
  31. Include default functions and methods
  32. How can I remove the main description text box in a Woocommerce product editor page? I only use the “Product short description” text box [closed]
  33. How can I modify all existing tags while keeping the urls themselves?
  34. Best practices regarding the creation of custom widgets?
  35. Unable to login using username
  36. Word Press – Dynamic Content [closed]
  37. how can I just add to parent theme function(s) instead of redeclaring whole the function
  38. different style sheet for just one page template
  39. Condition OR for current user ID
  40. How to retrieve the current post’s generated featured image size?
  41. Custom Behavior when Adding New Custom Post Type in Dashboard
  42. Where do I store custom functions that call custom page template files?
  43. Why There Is No “get content by ID” Function
  44. Wp-query Order By problem
  45. Randomizing wp_tag_cloud() in child theme
  46. login_headertitle is deprecated since version 5.2.0
  47. Where do I go to edit this area? [closed]
  48. How to properly set custom logo size?
  49. Replace plugin function with a custom function?
  50. Add attribute only to first image of every post via functions.php
  51. Convert multiple logos into the_custom_logo
  52. Different favicon on different pages
  53. How can I set the SRC URL of the custom logo image?
  54. The_content and Preg_replace in loaded Iframe [closed]
  55. Problem with images URL after filter applying
  56. Insert a field with PREG_REPLACE – strange behaviour
  57. How to echo Widget Title in Custom Frontend-Template Box
  58. how to display a page before the home page
  59. loginout function customization
  60. Function to check if custom page is used by page?
  61. implementing a centralized content “show-do-not-show” toggle?
  62. How would I make a function to dynamically determine if user is logged to change navigation menu text?
  63. How to display this meta data (an array) in form of a function (created with a custom write panel)?
  64. WordPress – using sessions?
  65. How to remove font awesome from loading in wp theme
  66. Header menu aligned right on all pages except for single-post page [closed]
  67. Save_post – Warning: Cannot modify header information
  68. How to use WP conditional tag in a functions.php with OCEANWP Theme?
  69. Modifying a WordPress Plugin
  70. CF7 select value get to function and reciept value from function
  71. Extend WordPress Audio Widget to accept HLS (.m3u8) URLs
  72. Shortcode to insert default text and change one word throughout it?
  73. How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?
  74. Woocommerce custom calculation function
  75. Remove all video attachment, both files and post/postmeta from database?
  76. WordPress Ajaxifying not working properly
  77. WordPress function with attribute pass to template
  78. Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
  79. Replace image attributes for lazyload plugin on image elements with specific class
  80. Adding A New Widget to WordPress Disables the Existing Widgets
  81. Display page number on custom page title function
  82. How to replace words in my posts and saved new words
  83. How do I integrate my Child Theme into a Custom Template?
  84. Shortcode to eliminate and replace with
  85. Add functionality to post editor
  86. custom post with loading script per single post
  87. functions.php / replacing div’s with new ones?
  88. Why does modifying my functions.php file always result in a server error
  89. Post variables not displaying correctly in custom function
  90. Remove snippets of JS from core
  91. Removing Facebook contact field from user contact not working
  92. Explode Array from Repeatable Custom Field
  93. WordPress Custom wp mail template return full template
  94. How to crop image in WordPress with aspect ratio for any size of image
  95. post_row_actions filter from parent theme not executing in child theme
  96. Copy and Modified WooCommerce function is_coupon_valid [closed]
  97. BuddyPress Edit activity function good practice
  98. wp_login_form display no styled form
  99. Advanced Custom Fields in WP_Query: Clickable Text in List Format
  100. Add custom css to specific user
Categories functions Tags customization, functions, logo
WordPress FTP/media directory permissions problem?
get_comment_meta() for a filter hook in a plugin

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
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • 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