-
AuthorPosts
-
December 7, 2014 at 8:31 am #364248
where is this page?
- This topic was modified 9 years, 11 months ago by kailibuy.
December 7, 2014 at 8:36 am #364250interesting, can’t find this page anywhere
- This reply was modified 9 years, 11 months ago by kailibuy.
December 8, 2014 at 4:45 am #364437Hey!
Thank you for using Enfold.
The page doesn’t exist on the Pages panel. You can edit the 404.php file.
Cheers!
IsmaelDecember 15, 2014 at 3:19 am #368112where 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?
December 15, 2014 at 4:23 am #368123The 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.
December 15, 2014 at 4:44 am #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’>
<?phpget_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(); ?>
December 15, 2014 at 4:45 am #368127So where do I edit to replace the content in the file with this,
“HTTP Error 404 – File or Directory not found” error message”
December 15, 2014 at 7:47 am #368179try 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(); ?>
December 16, 2014 at 3:23 am #368748anyone?
December 16, 2014 at 5:46 pm #369029 -
AuthorPosts
- You must be logged in to reply to this topic.