Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #364248

    where is this page?

    • This topic was modified 9 years, 11 months ago by kailibuy.
    #364250

    interesting, can’t find this page anywhere

    • This reply was modified 9 years, 11 months ago by kailibuy.
    #364437

    Hey!

    Thank you for using Enfold.

    The page doesn’t exist on the Pages panel. You can edit the 404.php file.

    Cheers!
    Ismael

    #368112

    where do I find the 404.php file?

    and if I simply want to show a page stating,

    “HTTP Error 404 – File or Directory not found” error message”

    How do I modify 404.php file?

    #368123

    The page is inside the enfold theme folder.
    You modify it with a text editor.

    You could simply delete the whole <div> container from line 15 to 47 and replace it with anything you want.

    #368126

    <?php
    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    echo avia_title(array(‘title’ => __(‘Error 404 – page not found’, ‘avia_framework’)));

    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>

    <?php
    do_action(‘avia_404_extra’); // allows user to hook into 404 page fr extra functionallity. eg: send mail that page is missing, output additional information
    ?>

    <div class=’container’>

    <main class=’template-page content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’));?>>

    <div class=”entry entry-content-wrapper clearfix” id=’search-fail’>
    <?php

    get_template_part(‘includes/error404’);

    ?>
    </div>

    <!–end content–>
    </main>

    <?php

    //get the sidebar
    $avia_config[‘currently_viewing’] = ‘page’;
    get_sidebar();

    ?>

    </div><!–end container–>

    </div><!– close default .container_wrap element –>

    <?php get_footer(); ?>

    #368127

    So where do I edit to replace the content in the file with this,

    “HTTP Error 404 – File or Directory not found” error message”

    #368179

    try this, didn’t work

    _______________________________________________________________________
    <?php
    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    echo avia_title(array(‘title’ => __(‘Error 404 – page not found’, ‘avia_framework’)));

    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>

    <?php
    do_action(‘avia_404_extra’); // allows user to hook into 404 page fr extra functionallity. eg: send mail that page is missing, output additional information
    ?>

    <div class=’container’>

    HTTP Error 404 – File or Directory not found” error message

    </div>

    <!–end content–>
    </main>

    <?php

    //get the sidebar
    $avia_config[‘currently_viewing’] = ‘page’;
    get_sidebar();

    ?>

    </div><!–end container–>

    </div><!– close default .container_wrap element –>

    <?php get_footer(); ?>

    #368748

    anyone?

    #369029

    Hi!

    Please go to Enfold/includes folder and open error404.php file and change the text as needed

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.