Maybe I’m missing something here, but it looks like you have an if-else. If there is a logo, it shows. Else the title and description show. Try removing the if-else stuff.
Related Posts:
- What is the meaning of %s, %1$s etc.? [closed]
- Include WP_Query in my own PHP file?
- Has anyone tried putting PHP ActiveRecord on WordPress?
- Copyright info change in Theme Child PHP
- Add footer.php to WordPress child theme
- I want to remove the links from the term list returned by get_the_term_list
- Can I run custom php on specific pages in wordpress?
- Successful or Error Message after running mysql code in functions.php
- Can I view my own wordpress php source code on my hosted web server?
- How do i get (unique) page name?
- How to display posts of specific category using a custom Query in WordPress?
- How to display php source code inside a post using visual editor?
- stats_get_csv (WordPress Stats) to only display top posts (not pages)
- Hide wordpress field if data is empty in post!
- How to get the POST TITLE using the POST ID?
- Latest post in a specific menu
- Cause of Blank Lines Being Added to WP FIles?
- How to save checkbox values for logged in users?
- Insert custom PHP head above in WP pages
- Log in / Log Out Custom Button
- How to do a code in php and have text before it? [closed]
- PHP nested If statement syntax
- Display Data in Table from External Database in WP using Shortcodes
- How to Configure Events List in WordPress to Disappear Event Once Date is Past
- Code snippet to show current php version inside “At a Glance” box in admin
- Fatal error: Uncaught Error: Call to undefined function get_header() [closed]
- using wp enqueue style to create a CSS file specifically for a page template
- Accidentally deleted php code in WordPress website [closed]
- random reason on refresh
- Insert PHP code in Text
- PHP code snippet to remove microdata
- Counting number of posts in multiple (sub)categories using shortcode
- Need help for some PHP code
- Woocommerce display orders with products from specific categories to specific admins
- Woocommerce template file outputting tags
- Copying and pasting to WordPress “code editor” code via the front end and clipboard
- How to preload header logo image in WordPress? like what’s the code and where do I put it?
- How to put 2 php codes in functions.php without site crashing
- Displaying SQL query result from user input via wpdb
- admin-ajax.php 400 bad request – whats wrong with my code?
- style.min.css code issue
- how to run a php code in widget?
- how to add number value in front for variable [closed]
- Blog only showing code
- Display pages from specific page template
- why is markup routinely placed in functions in wordpress?
- Themes with variable width or single columns? I want to display source code
- Open all external links in new window – need help with the code
- How to get the Woocoomerce subtotal value without tax in the hardcode? [closed]
- Where to put include php file?
- Can you not edit the HTML and PHP of your WordPress without paying?
- Dynamically added text at bottom of article – non searchable by PHP code
- how to create twitter card without plugin in wordpress website?
- What is the correct way to use WordPress functions outside WordPress files?
- Hide php Notices in Dashboard
- Shortcode to insert
- WordPress new user / forgot password emails are broken
- How to get year, month and hour in WordPress?
- Calling a method from functions.php on a click of a button
- How to change featured content to a different tag in WordPress Twenty Fourteen?
- Two posts in same div – WP loop
- Compare two meta key values against each other inside the get_posts array?
- WordPress menu deletes when trying to add a hook
- Making Quote Plugin more efficient
- Different database query in function.php using mysqli
- How do i use this jquery script on a wordpress site?
- How Display Posts on category
- Add custom url to featured image
- WP-PageNavi is showing the first page only
- How to add date to navigation bar
- Filter Select results based on selection
- creating a second image attachment template?
- Using WP-API and SSE not authenticating user ID
- How to show only subcategories in parent category not parent category?
- Woocommerce change prices for a certain country [closed]
- Adding PHP in the menu
- WordPress Environment: Dynamic Page using shortcode – how to change the page name for sharing
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- How can I spin up a new website for a registered user automatically?
- What is the alternative code to if (isset ($_POST) && !empty ($_POST) to avoid warnings?
- How to show every second user different types of banners?
- Woocommerce – get_items() returns empty array
- echo esc_url( get_permalink($post->ID) + complete the ID’s url
- Accessing an API with jQuery and AJAX
- comment_post (if comment is approved OR $comment_approved === 1) not working?
- Configure WordPress to Use Responsive Image Rendering
- Creating multiple tables with Plugin
- How can i create a function tag in my plugin
- load plugin in code snippet
- Why the responseText containing those two arrow signs at the beginning
- Meta Box clears saved field content
- Woocommerce remove menu item on myaccount dashboard
- woocommerce plugin bugs
- Getting most popular posts based on Facebook comments count
- WordPress get_post_meta issue
- Best way to define a database with product codes and back-end support?
- 3 domains, 1 wordpress install, redirecting and changing domains on live site
- How can I print out a single stylesheet or javascript link?
- wordpress featured image
- Disable Typed Parameters for JavaScript in PhpStorm? [closed]