July 13, 2013 at 6:25 am #26142
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.
I hope you can shed some light on this. Thank you.July 14, 2013 at 5:06 pm #129449
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.
DevinJuly 15, 2013 at 3:33 am #129450
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.July 15, 2013 at 3:46 am #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!July 16, 2013 at 8:46 am #129452
Add following code to the bottom of functions.php:
add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
if ( $args['title'] == 'Blog - Latest News' )
$args['title'] = get_the_title($id);
$args['link'] = get_permalink($id);
This will replace the “Blog – Latest News” with the page title.July 16, 2013 at 7:37 pm #129453July 17, 2013 at 4:34 pm #129454
The topic ‘Changing Permanent Link’ is closed to new replies.