you can try following
if ( !function_exists( 'get_current_screen' ) ) {
require_once ABSPATH . '/wp-admin/includes/screen.php';
}
$screen = get_current_screen();
echo $screen;
Related Posts:
- Fatal error: Maximum execution time of 60 seconds exceeded in H:\wamp\www\custom\wp-includes\class-wp-http-curl.php
- Theme Javascript.php Overwritten Nightly [closed]
- Call to undefined function add_menu_page() on theme activation
- How can I add a URL field to the attachments window?
- How can I display a menu on certain pages only?
- WP 3.4 – what action/hook is called when theme customisation is saved?
- Is the theme customizer slowing down my site?
- Enqueue scripts inside a class
- How can I get wp_head() as a string instead of echoing it?
- How to access certain WP functions inside custom class, in theme folder
- Multiple Custom_Background, is it possible?
- new theme permissions don’t allow me to edit
- Getting Permalink within the loop
- Allow users to add custom functions to wordpress theme
- What page should I use for a contact form?
- Get attachments by user
- Can a child theme based on Starker theme be released as free to use theme for public use?
- Appending a value to metabox before and after saving
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- I made a my own theme to WordPress and Admin Menu missing from frontend
- Link won’t show using the_permalink();
- What program can I use to preview my wordpress site?
- How exactly *does* unit testing work for themes?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- wp_nav_menu add something before closing container and after last list item
- qTranslate with my own theme and settings
- Make logo dynamic in wordpress
- Do i need to keep all the default WP templates files in a theme?
- Create a new page in WordPress theme
- where to split off footer.php
- How to show user online status on their posts?
- What is the correct way of getting parent styles from child theme?
- How to display all subpages and short by year
- how to setup custom content structures
- WordPress Filtering Custom Post Type by Metadata and Search Heirachy
- Nested comments in WordPress theme
- Featured Image meta box not showing up
- Why does WordPress append numbers to page slugs sometimes? How to reliably style based on page
- filemtime(): stat failed warning within a child theme
- What are the hooks in WordPress theme development?
- How can I override a require() used in functions.php of parent theme to my child theme
- WordPress dummy data for theme design
- Can I use WooCommerce in a headless CMS setup?
- Dynamic Post Thumbnail →
- How to transfer one domain to another domain without losing theme options (customizer)?
- Do I need to include a textdomain if my theme doesn’t support translation?
- adding class to excerpt
- How can I wrap all blog posts image with
- How to allow users to create their own website within my domain? [closed]
- Problem escaping text which contains html markups
- Avada Child Theme Development
- Editing my theme to try to place the default header at the top of the page breaks the rest of the page content
- WordPress creating images if uploaded image is greater than 960px on one side?
- Create theme for mobile phones and tablets only?
- Using the media library for theme customization
- Never actually adding the action? Or do I have to call the action?
- Changing sidebar.php and footer.php depending on URL
- Seeting Active Nav for Bootstrap in WordPress
- ACF get_sub_field ALT TAG in the repeater doesn’t show
- WordPress 6.x / PHP 8.x deprecated warnings in development environment
- Best way to implement bootstrap after loading
- Why front-page.php doesn’t show content of file instead shows loop
- How to Detect “Your homepage displays” setting in wordpress
- Why does wp_customizer default values do not apply when theme is installed for the first time?
- Building a custom menu or use a plugin?
- How Do I Create a WordPress Demo Site with Limited Admin Access
- Importing sass into underscores theme
- Woocommerce REST API for my account & checkout process
- How can I fix my theme header for my CSS stylesheet?
- Alternative solution for script_loader_tag?
- Change logo url by category and in some pages
- Enqueue script for development purposes only?
- How to show Custom Field Value in Woocommerce Shop Page
- How to transfer all posts, pages and media
- What are entry.php and its appendix files and is it safe to delete them in a most miniaml site?
- Custom theme vs theme customization?
- style.css not being rendered in browser
- WordPress Customizer Help with FontAwesome Icon
- Correct (and secure) way to escape url when using href attribute
- “Add media” dialog is not showing any images
- captiva Theme Error
- Two theme options pages for a theme
- “No Data Received” error in Chrome every time i try to update the theme functions file
- Creating a Playlist of Widgets
- Loop through all posts, show attachment if there
- Strict Standards Error bootstrap navwalker
- Default calendar widget not showing up
- Can’t attach Javascript to theme
- Menu item not created on theme activation
- Ubuntu 13.04 create new wordpress theme from scratch problems
- 404 on child page template
- Confused on loading page content
- Problem dynamically generating an all purpose title tag
- why my WordPress theme doesn’t support shortcode? [closed]
- I’m new in developing responsive WordPress Theme, so which framework to use or work from scratch? [closed]
- Permalink Setting Changes From Post Name to Default After Changing The Page Name
- Not Able to Access Terms Under Custom Taxonomy Archive
- Why is my Toggle field not showing in Gutenberg?