get_bloginfo( 'version' )
Other version globals can be found in wp-includes/version.php
Also, it’s safer to use PHP’s version_compare().
Related Posts:
- Is wp_is_mobile() effective?
- Display Menu Name using wp_nav_menu
- What questions do you ask when asked to give an estimate on theme development?
- How to remove dashicons.min.css from frontend?
- What’s the difference between home.php and index.php?
- get_template_part vs action hooks in themes
- how can I add an icon/image for a child theme?
- Get url of thumbnail from the media uploader
- Caching and Versioning for rtl.css
- Getting instance variable in scope of ‘wp_enqueue_scripts’
- How to change admin bar color scheme in MP6 / WP 3.8 front end?
- How to use logout function on custom menu link?
- Google Maps not displaying in wordpress using Google Maps Javascript API
- When to use esc_url, esc_html, esc_attr, and friends?
- Hide certain pages / posts on wp-admin, show custom filter
- What is the purpose of an extra file for translation?
- use add_action(‘wp_head’) in a widget for generating dynamic CSS styles
- Problem with registering menus – What to do when other solutions aren’t working?
- How to enqueue scripts and styles only when there are needed?
- Unexpected width and srcset attributes for the_post_thumbnail();
- Front End Post Submit Form
- add_theme_support(‘my-custom-feature’)
- Displaying wp menus by name without using theme locations
- Adding dashicon fonts to the admin of pre 3.8 installs
- How to add dynamic inline style?
- Optimal solution to develop a wordpress theme?
- Change display of featured image for pages in twenty seventeen theme
- Do I really need the div class entry?
- How to manipulate “add media” pop-up
- WordPress Gutenberg Theme: Structure, Hierarchy and Custom Templates
- How to Take Ownership of a Theme
- Best way to start becoming a wordpress developer
- Why wp_head() function not loading style.css?
- How to make content editable from admin page?
- Custom shortcodes not working using __s theme
- Redirect Old .php URLs to New WordPress Page
- Widget items disappearing
- Add submenus to Theme options menu
- create-guten-block in wordpress theme?
- WordPress navbar with logo in middle [closed]
- How to add new args data in $wp_customize->add_setting?
- wp_post->post_parent object returning 0
- Is the current Theme version number cached somewhere?
- PHP Template way of coding for wordpress theme development
- display menu with out list tags
- Custom form in theme template displaying internal server error upon submission
- Permanently activate WordPress theme
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Where to place template files?
- [&hellip appearing instead of […]
- Is it possible to include an HTML flat-file website inside a WordPress theme?
- Getting author URL outside the loop
- Replace single_template filter with what for default posts?
- How to have content scroll over background
- Need help with adding templates (archives and sitemap) to WordPress child theme
- save_post action doesn’t passing post id to my function as argument
- Exclude custom post type from search conflict with get_posts
- How to obfuscate theme directory URLs
- Is there Photo Categories?
- Post and page content not displaying in search results
- Why still output /wp-content/themes/twentynineteen?
- WordPress does not load page template or anything else, just empty page with header and footer
- add shortcode support in customizer
- How to make my themes compatible with different WordPress versions?
- add jquery file if a certain page is included
- Exclude subcategory from wp_query
- Some doubts about WordPress handle the horizontal main menu visualization
- How To Display Value from Theme Options Field in Front End Template?
- Changing footer depending on URL (poli language site)
- Archives and Categories in Custom Menu
- Custom search template is showing 404 when adding query string
- How do I restructure the comment HTML layout?
- How to set a custom URL for the iframe in the customize page
- How to render block editor in wp-admin custom pages programmatically
- Post Featured Image Custom Sizing?
- Fetch data from database with dropdown selected option
- Theme: dropdown hover menu not showing up in IE/Edge
- How do I keep my iframes responsive and scaled to fit their container?
- How to Show Next, Previous, and Page Numbers with wp_link_pages
- how to ensure responsiveness in wp themes? [closed]
- Let user publish posts on community page
- How to perform str_replace on the results of wp_list_pages
- How would I get this to work – send to post from thick box
- Safe way to echo wp_trim_words
- Show category and description
- How can I demonstrate themes well?
- Support Multiple featured images
- How to update my own theme?
- trying to figure out how to use more that one image upload in the same section in theme customizer
- WordPress custom jquery not found
- How to using custom DB tables
- Programatically add a page in WordPress
- How to highlight current menu bar base on the URL?
- Replacing static code in a template file with a sidebar and widgets?
- How to remove proudly created by WordPress in theme?
- How to load custom php file in WordPress themes
- Roll my own theme or customize an existing one [closed]
- Is there a way to have WordPress autodetect page templates in the page-templates directory and any sub-folders?
- Feeds are showing where Post archive page should be
- WordPress Two Level Filters on Getting Custom Taxonomy Terms