if ( get_bloginfo( 'description' ) ) {
//do something
}
bloginfo echoes the description, get_bloginfo returns php variable
Related Posts:
- Is there a blog info object?
- Is it possible to change the template_directory?
- Correct way to hardcode an image into a parent theme file?
- how can i load svg image with get_template_directory_uri() or bloginfo(‘template_url’)
- get_template_directory() vs bloginfo( ‘template_directory’ ) vs TEMPLATEPATH
- What is difference between get_bloginfo(‘url’) and get_site_url()?
- From a security standpoint, should bloginfo() or get_bloginfo() be escaped?
- How do I change the login logo URL and hover title?
- bloginfo() vs get_option?
- Difference between bloginfo(‘home’) and home_url() and site_url()
- get_template_directory_uri() and other URL tags not working in theme
- bloginfo(‘stylesheet_directory’) vs. get_stylesheet_directory_uri() and include(‘file.php’) vs. get_template_part()
- How to use tinyMCE for user “biographical info” without messing with any core file?
- Filter the blog title displayed in the header
- Filter the blog’s title without using global variables
- How to use bloginfo( ‘template_directory’ ) in array
- Right way to add HTML bloginfo name using a filter
- How do I create a dynamically-updated copyright statement?
- bloginfo(‘template_directory’) img src
- Still relevant method of embedding images in WP Theme in 2018
- php syntax – how to concatenate properly – echo bloginfo(‘stylesheet_directory)
- Proper syntax for simple conditional bloginfo language
- How can I use get_bloginfo(‘admin_email’) in a custom PHP file?
- sprintf bloginfo odditie
- Access bloginfo, get_option, and plugins_url from a non-core php file
- Change “en-US” to “en”
- Change the meta description on a specific page?
- Are get_bloginfo queries cached to start, or should they be cached?
- What is the difference between the different ways of linking stylesheets
- Form action unfamiliar
- Should I use get_bloginfo(‘stylesheet_directory’) or get_stylesheet_directory_uri() when enqueueing my js files?
- WordPress address URL and bloginfo
- How to call for bloginfo inside function in functions.php?
- Wp Enviroment problem with included file
- WP HTML Templates – Any way to get bloginfo() or the path to the theme folder?
- Split site title and apply different classes
- Using bloginfo and divs inside a php file
- Need help with page title (Static front page)
- get_bloginfo prints IP instead of url
- Blogname and Blogdescription in Pagelines DMS Options Panel
- How to set base url for php widget
- How to make title for home to be News, but if page has parent then its name else just post/page name
- Bloginfo hook – can it be more precise?
- WordPress function bloginfo not echoing output on parts of the pages
- CSS images don’t show up with bloginfo
- Header Link function not working. Problem with bloginfo()
- Inconsistent bloginfo information
- I have a background-image in css file but don’t show in site.how to fix this prblm. i sent screenshot. thx
- How can I change the background color of a contact box? [closed]
- How to add dynamic content in title and meta description in wordpress theme for homepage, post page, category, tag and pages
- Custom Info Box at end of posts?
- Access from template info of another blog (in the same network)
- How can I include a file related to blog URL? Nothing seems to work
- Show Site Name on WP login screen
- WPMU – How to echo only one URL
- How can I get blog content from SFTP?