Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #26142

    Hi,

    Really like Enfold. Still haven’t completely understood all the options, and one thing has me very confused:

    Early in development we were going to call the blog “latest news” then we changed our minds, only I can’t find where that “Permanent Link” is coming from that shows up in the #top .title_container. We added category titles and changed default “uncategorized” to “blog.” None of our categories is “latest news,” but still it shows up, and additionally, it is a link to the home page, which has me completely baffled.

    Also, in the breadcrumbs we’re getting …/blog/blog/… We created a “page” with blog entries text box, and have posts going to “blog” in WP reading settings.

    Here’s a page: http://www.montana-associates.dreamhosters.com/2013/07/the-dodd-frank-conflict-minerals-certification-provision/

    I hope you can shed some light on this. Thank you.

    #129449

    Hi babayard,

    That is called the page slug and you can change it by clicking on the little url structure under the page title.

    The reason you are getting 2 blogs in your breadcrumbs is because you have the root “blog” page and then you have a post category called “blog”. So its going Home> Blog Page>Post Category>Post Sub-Category>Post title.

    See: http://codex.wordpress.org/Glossary#Post_Slug

    Regards,

    Devin

    #129450

    Devin,

    Thanks for reply. I fixed the blog/blog issue, but the first question is still a problem. My page slug is just /blog, but what I’m getting in the .main-title is Blog – Latest News, and it is a link to the home page !?!? The permalink for the page under the page title is /blog

    (as an aside, and a secondary problem here: In fact, all the main titles on Pages are links to themselves, which is the first time I’ve seen that happen. Can I change that in one of the Enfold theme files?)

    I have looked at the slug of every page and post in current lists as well as in the trash.

    I have searched the database for that slug and cannot find it…

    Any other thoughts on where it might be hidden away would be greatly appreciated.

    #129451

    OK, please scratch the question about eliminating the anchor for page titles. I see they are “bookmarks” and understand the reasoning there. I will leave them.

    Still, if you can think of any other place I could look to change or delete Latest News, I would be greatly relieved.

    Thanks!

    #129452

    Add following code to the bottom of functions.php:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if ( $args['title'] == 'Blog - Latest News' )
    {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    }

    return $args;
    }

    This will replace the “Blog – Latest News” with the page title.

    #129453

    Sweet! Thank you.

    #129454

    Glad Dude could help :)

    Let us know if you have any other questions or issues.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Changing Permanent Link’ is closed to new replies.