-
AuthorPosts
-
August 29, 2015 at 9:23 pm #495370
When I turn on the page titles in Enfold it shows a title, but for many of the blog posts that title is incorrect and it says “Blog – Latest News” for all of them. These posts are not even in a blog category called Latest News. So I have no idea where Enfold is picking up that title from. How do we fix this?
I notice that when we apply an Enfold template to an existing post and completely move the content into that Enfold template that the page title is correct (i.e. is the name of the page). But when the template is not applied, the page name is as described above. There are some posts that we are not going to apply this template to, so once our site is finished this is still going to be a problem for these posts.
Also the breadcrumb path is incorrect. I have turned them off at the moment for many of the pages, but last night I was seeing this on every post I looked at. The breadcrumbs were set to pick up on the session data, but they were not displaying the path I took to get to the post. In fact I couldn’t figure out how they were getting the path they were.
August 30, 2015 at 2:57 am #495417Hi mikehartrich!
I understand that your website is under construction, but may we have temporary access just to check to see if there is a setting conflict?
You can also try disabling any plugins and ensuring that you are using the latest version of Enfold.
Cheers!
DakeAugust 30, 2015 at 7:16 pm #495507Hi Dake, details in the private content
August 30, 2015 at 10:17 pm #495534Hi!
Hvae you disabled the plugins, have you tried that option out that Dake suggested?
Cheers!
BasilisSeptember 3, 2015 at 11:39 pm #498061Hi Basillis, no I haven’t had a chance to do that yet because there are several of us working on the site throughout the day, even in the evening. I don’t want anyone to lose their work of there is an error when I turn off all the plugins. I will try and test once I get a chance.
September 6, 2015 at 3:57 am #498788Hey!
Alright. If you have the chance to access the site, try to add this in the functions.php file:
add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( is_single() ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
https://kriesi.at/support/topic/cant-change-blog-die-aktuellsten-neuigkeiten/#post-460731
Best regards,
IsmaelSeptember 30, 2015 at 8:19 pm #511809Hi Ismael, hacking the core files is bad practice, and we don’t want to create a child theme.
I have found that if I turn on the Avia Layout Builder then Enfold will display the correct page titles. That limits us and creates much more work as we now have to convert hundreds of posts over to the Avia Layout Builder. Will the next Enfold update fix this bug?
October 1, 2015 at 11:20 pm #512474If you don’t want / don’t have a child theme you can use this plugin to store custom functions like the one Ismael posted:
https://wordpress.org/plugins/functionality/Regards,
JosueOctober 1, 2015 at 11:46 pm #512479Thanks Josue, that would be handy, I’ll check it out!
October 1, 2015 at 11:58 pm #512483You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.