Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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

    #127318

    Hi 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

    #127319

    Ok 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

    #127320

    Open 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”.

    #127321

    Thanks 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/

    );

    #127322
    #127323

    Hi,

    Edit framework > php > class-breadcrumb.php, find this code

    /* Set up the default arguments for the breadcrumb. */
    $defaults = array(
    'separator' => '&raquo;',
    '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' => '&raquo;',
    '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

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘404 page, url path incorrect’ is closed to new replies.