-
AuthorPosts
-
September 15, 2020 at 6:09 pm #1246098
Hi,
I took over a website. I suspect the previous owner put in some code that mess up the blog.
On the blog overview page (Image A). Excerpts are missing on new posts. Do you know why and how to fix?
On the single post page (Image B). Title in breadcrumbs on old posts show “Blog” but on new post it shows the blog title. Do you know why and how to fix?Best regards
Miki
September 18, 2020 at 11:27 am #1246738Hey Miki,
Thanks for giving us admin access.
The reason why it’s not showing is because you’re using Advanced Layout Builder on that post, the workaround it is to manually add the Excerpt.
If you can’t find this field you’ll need to click on Screen Options (upper right) which shows some options to hide/show, check Excerpt and manually add a summary/content into it.
Hope it helps.Best regards,
NikkoSeptember 18, 2020 at 11:34 am #1246741Hey Nikko,
Thanks, I think that could work just to manually add the excerpt as you suggest.
What can I do about the title in the breadcrumb?
Best regards
MikiSeptember 18, 2020 at 12:12 pm #1246766Hi Miki,
Thanks for pointing it out. It is changed to h1 tag because of this article: https://yoast.com/how-to-use-headings-on-your-site/
However, since the h1 in Advanced Styling is set, it overrides the default style.
I added this CSS code to fix it.#top #wrap_all .all_colors h1.main-title.entry-title { font-size: 16px; }
As for the word itself, would you prefer to use Blog or the title?
Best regards,
NikkoSeptember 18, 2020 at 12:22 pm #1246775Awesome, thanks Nikko :D
I would like to use “Blog” as the word
Best regards
Miki
September 18, 2020 at 1:23 pm #1246813Hi Miki,
You’re welcome :)
I have added this code in your child theme’s functions.php:function enfold_title_args( $args, $id ) { $args['title'] = 'Blog'; return $args; } add_filter( 'avf_title_args', 'enfold_title_args', 10, 2 );
Best regards,
NikkoSeptember 18, 2020 at 1:38 pm #1246816This is perfect, thank you so much Nikko :D
Have a great day!
Best regards
Miki
September 18, 2020 at 7:35 pm #1246907Hi Miki,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.