• Resolved cfm168

    (@cfm168)


    Hello,

    How can I find my home page ID? I believe it is because of not created by page editor but something else. My index.php file containing this code:
    —————————————————
    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define( ‘WP_USE_THEMES’, true );

    /** Loads the WordPress Environment and Template */
    require __DIR__ . ‘/wp-blog-header.php’;
    ——————————————————————

    Since an app really need the page ID in order to work properly. Can someone help?

    Many thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Go into your admin dashboard and edit the page you have configured as your homepage, look at the address bar in your browser and you’ll see /wp-admin/post.php?post=1769&action=edit

    Where 1769 is the page/post ID

    Thread Starter cfm168

    (@cfm168)

    Thank you very much Sir.
    The app takes all pages’ slug, but not home page. Only home page ID works for that.

    Thank you again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t find home page ID’ is closed to new replies.