$pageID = get_option('page_on_front');
should get you the Page ID of the page set at ‘Front Page’ in WordPress options.
Related Posts:
- Creating a WordPress admin page without a menu for a plugin
- Dynamic homepage according to user role
- Image resizing on home page (product category) [closed]
- Show only preview of posts on the homepage?
- Transient unique names
- New to wordpress: would like to have pluggable main page sections [closed]
- How do I display only the latest post on my home page, while maintaining proper plugin hooks?
- How to get post ID with hooks publish_post, new_to_publish, etc
- Form that generates an ID for the customer
- Set post tags using tag ID
- Customizing a blog page layout
- Get Image Having the ID [closed]
- how to add a comment button to be displayed only for the posts in the home page [closed]
- Search by Attachment ID
- Change website directory safely to add a static page on startup
- Trying to use shortcode for a plugin on custom homepage of Responsive theme
- How to remove automatic generated tag in Home page
- is_front_page breaks with url parameters generated by a plugin
- Summary and Comments on Main landing Page
- how to display recent post by category on home page
- Give custom page template a custom post ID
- Bookmarking custom template pages which all have the same page ID
- Custom Post Type with Sequence ID
- Ability to change homepage on WordPress using API
- Get Current Post ID in WP Loop For GiveWP
- Writing SEO for Homepage when homepage is set to display latest posts
- how to do Thematic like this website using wordpress?
- How can I write code in a plugin for my child theme that will allow me to use remove_action() based on if the current page is the home page?
- Set plugin page as homepage
- Is there a function to search for a wildcard value when calling a shortcode?
- Get page content by ID (from a plugin)
- Issue with custom plugin
- Add meta tags with a plugin?
- How to wrap image logo in Homepage with H1 tag
- A splash page on landing page
- How to create a dynamically created page on wordpress plugin?
- Help with WP Business Directory Manager Plugin?
- “W3 Total Cache” with “What Would Seth Godin Do” (and widgets?!)? [closed]
- Add filter on html tags,attributes on specific function in wordpress
- XML Sitemap Generator can’t notify google and bing
- cforms plugin function “my_cforms_logic” (for writing custom logic), is running 5 times
- Adding rel=”nofollow” to external links in posts?
- Best Sitemap Plugin for 1M+ pages [closed]
- Collecting email addresses via a “beta” sign up form
- Plugin that provides the [edit] shortcode?
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- How to limit image size for the entire website ? But without editing the post (css/plugin?!)
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- How do I get the Twitter Tools widget to display my tweets?
- Why are my WordPress store items showing up in duplicates?
- When I try to de-activate any plugin it gives error “Warning: call_user_func_array() [function.call-user-func-array]”
- Plugins for logo in wp themes? [closed]
- How to remove js ui library added by default by wordpress
- Is there a plugin for automatically adding a word or symbol after a trigger word? I.e. Like a search and replace but more like search and add? [closed]
- How to set category correctly for a custom post created by a remote API call?
- Can I do in-page changes binding events/triggers to actions in WordPress?
- Can inactive WordPress plugins still load scripts?
- What is the best way to cache pages on WordPress
- How to see which sites use my installed plugins (wordpress multisite)
- Product count in archive page Title in WooCommerce [closed]
- Use current class method inside add_submenu_page()
- how remove font to increase site speed load
- Plugin main file is constantly been fired on every website visit
- Why is Google Search Console getting X-Robots-Tag noindex?
- Website show Google Ads when we have no Google Ads linked to our website
- How to set “split_on_numerics” to false in ElasticSearch mapping using ElasticPress? (for proper SKU search in WooCommerce) [closed]
- Sticky option for custom post types without using custom fields or plugins
- My plugins are ending up above the header?
- Let users sell video in my website [closed]
- Change letters for day name
- Where should custom post types be registered in a plugin?
- Keeping and updating ACF and ACF Pro at the same time
- Pass user role to javascript code inside body
- A plugin that downloads other plugins
- Php page with filters for custom fields
- How to be escape Variables and options when echo?
- (WordPress 5.8.3) Function.php or a plugin for better performance? [duplicate]
- Basic question about accessing scripts in my plugin
- Gutenberg Blocks – Cannot retrieve block saved attributes in edit post
- plugins not working in custom theme
- How to use template_include hook with form submission?
- Adding Plugin Assets to Header
- Release the plugin in the WordPress repository where redux is used
- How to Define Multiple List Tables in a Single Submenu
- Add item to the woocommerce dashboard menu from a plugin
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- Add type to enqueued script inside plugin
- Dokan Marketplace store link in single product page
- How can I redirect some pages to new subdomain? [closed]
- Automatically download, install and activate plugins that my plugin depends, how?
- Integrating boxtal PHP library into a custom WordPress Plugin
- wp-mail attachment is not sent for no reason?
- Translations for my plugin don’t show up
- Changing menu order of a specific plugin in dashboard
- Error in pdf generating plugin using FPDF
- syntax error, unexpected ‘while’ (t_while) please help :)
- How to create WordPress custom end point with multiple parameters?
- Plugin has added weird data in wp_options, set to autoload
- Different custom templates for product category [closed]
- Text change in Advanced Customs Fields [closed]