• Okay , So I copied the code that was on the ‘Main Index Template’ to my index.php page and when I load it, I get this messgae:
    Fatal error: Call to undefined function: get_header() in /home/iheartde/public_html/index.php on line 406

    How do I fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter angie2much

    (@angie2much)

    by the way I need it to look like this page:
    https://iheartdemi.org/wordpress/

    Well you copied over the WRONG index.php file.

    You need to copy that to wp-content/themes/your-theme/index.php.

    The index.php in your public_html should be:

    <?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('./wp-blog-header.php');
    ?>

    Thread Starter angie2much

    (@angie2much)

    Thank You Soo Much! But Now, My Permalinks won’t work! How do I fix that? And Also I need to know how to re-size the fields on the “Comments” forum. Cuase w/e I clicke on the ‘write a comment’ link, the “Comment” field shows up too wide:
    See Here:
    https://iheartdemi.org/wordpress/
    And also, How do I get rid of the comment forum on Word Press Pages?

    Thread Starter angie2much

    (@angie2much)

    wait, this is the link I want you to look at:
    https://iheartdemi.org/?p=216#respond
    how do I resize the fields?
    And I fix the permalink issue already.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Won’t Show On Index Page’ is closed to new replies.