-
AuthorPosts
-
June 30, 2013 at 5:24 am #25543
1. When I arrive at a 404 page I get this “You are here: Home / 404 Not Found”
2. I changed the title of the Frontpage “Home” to “Hello”.
Therefore I should be getting this: “You are here: Hello / 404 Not Found”
I have changed the title tag to Hello.
I have changed the page title to Hello.
Why is this showing up in this format?
Also, I see the 404 page has the “Enfold Combo Widget”. How can I remove that widget or add/edit 404 page elements?
Note: I do not want to edit the 404 page sidebar with conditional tags. I would like to edit the main body of the 404 page.
Thank you
July 1, 2013 at 3:04 am #127318Hi Jasmer,
The 404 page is created from the 404.php and the includes>error404.php file within your theme files. There is no backend template to edit it at this time.
Regards,
Devin
July 2, 2013 at 10:59 am #127319Ok actually my question #1 above does not involve the 404 page. It is in the Page Title and Breadcrumb Navigation “You are here: Home / 404 Not Found”
My home page is titled HELLO not Home.
It should say then “You are here: HELLO / 404 Not Found”
Thanks for the help
July 2, 2013 at 2:04 pm #127320Open up functions-enfold.php and replace:
$defaults = array(
'title' => get_the_title($id),
'subtitle' => "", //avia_post_meta($id, 'subtitle'),
'link' => get_permalink($id),
'html' => "<div class='{class} title_container'><div class='container'><{heading} class='main-title'>{title}</{heading}>{additions}</div></div>",
'class' => 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true),
'breadcrumb' => true,
'additions' => "",
'heading' => 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
);with
$defaults = array(
'title' => get_the_title($id),
'subtitle' => "", //avia_post_meta($id, 'subtitle'),
'link' => get_permalink($id),
'html' => "<div class='{class} title_container'><div class='container'><{heading} class='main-title'>{title}</{heading}>{additions}</div></div>",
'class' => 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true),
'breadcrumb' => true,
'additions' => "",
'show_home' => __( 'MY CUSTOM TEXT', 'avia_framework' ),
'heading' => 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
);and insert your custom text instead of “MY CUSTOM TEXT”.
July 2, 2013 at 10:01 pm #127321Thanks but it does not change anything I replaced default with the following and I still get: “You are here: Home / 404 Not Found”
I am not trying to change where it goes I am trying to change the word “Home” to “Hello” because my home is not called home it is called Hello.
Thank you
–
$defaults = array(
‘title’ => get_the_title($id),
‘subtitle’ => “”, //avia_post_meta($id, ‘subtitle’),
‘link’ => get_permalink($id),
‘html’ => “<div class='{class} title_container’><div class=’container’><{heading} class=’main-title’>{title}</{heading}>{additions}</div></div>”,
‘class’ => ‘stretch_full container_wrap alternate_color ‘.avia_is_dark_bg(‘alternate_color’, true),
‘breadcrumb’ => true,
‘additions’ => “”,
‘show_home’ => __( ‘Hello’, ‘avia_framework’ ),
‘heading’ => ‘h1’ //headings are set based on this article: http://yoast.com/blog-headings-structure/
);
July 3, 2013 at 6:55 am #127322Solved in duplicate topic here: https://kriesi.at/support/topic/frontpage-problem-editing-tag?replies=4#post-121956
July 3, 2013 at 6:56 am #127323Hi,
Edit framework > php > class-breadcrumb.php, find this code
/* Set up the default arguments for the breadcrumb. */
$defaults = array(
'separator' => '»',
'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',
'after' => false,
'front_page' => true,
'show_home' => __( 'Home', 'avia_framework' ),
'echo' => false,
'show_posts_page' => true,
'truncate' => 70,
'richsnippet' => false
);Replace it with
/* Set up the default arguments for the breadcrumb. */
$defaults = array(
'separator' => '»',
'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',
'after' => false,
'front_page' => true,
'show_home' => __( 'Hello', 'avia_framework' ),
'echo' => false,
'show_posts_page' => true,
'truncate' => 70,
'richsnippet' => false
);Regards,
Ismael
-
AuthorPosts
- The topic ‘404 page, url path incorrect’ is closed to new replies.