-
AuthorPosts
-
November 24, 2021 at 11:06 pm #1330368
Hey guys,
Gunter, would it be possible to implement a quick fix for something in the blog setup?
Currently, on the Theme’s blog settings you can enable/disable lots of elements, like post date, author, categories etc which is great. However I just discovered that it doesn’t actually remove it from the page, it only uses {display: none;} to hide it.
While this would likely be fine in many situations, in others it isn’t.
For instance, we are changing things with our URL structures using filters for Yoast breadcrumbs etc, but the single blog page is still outputting a blog category URL that we don’t want to be crawled or accessed – it’s just hidden from the user. This isn’t great for SEO.
Same for author archives – the blog post is still linking to an author archive, which we don’t want, even though it’s disabled in the theme settings. Again, not great for SEO having 2 (at least, probably more with tags etc) wasted links per post leading crawlers all over the place.
Does that make sense?
Would be great if these options actually removed the content from the code, rather than just hiding it from the user.
Any chance you could take a look at that for the next/coming release?
Thanks as always,
Tim.
- This topic was modified 3 years ago by THP Studio.
November 25, 2021 at 1:25 pm #1330448Hey Tim,
Thanks for your suggestion!
I am not sure if this is going to be a quick fix or not but we have forwarded your request and added this thread as reference as always :)
Regards,
YigitNovember 25, 2021 at 4:26 pm #1330498Great, thanks Yigit, I appreciate it.
Tim
November 25, 2021 at 4:44 pm #1330505November 29, 2021 at 4:31 pm #1330868Hi Tim,
Changes are added to next release.
Modified files are loop-author, loop-index, loop-search, loop-portfolio-single
Added filters to customize output – see https://kriesi.at/support/topic/enfold-upcoming-fixes/
Best regards,
GünterNovember 29, 2021 at 8:17 pm #1330886Hi Gunter, that’s really great thank you for that.
Just out of curiosity, what was the reason to keep the current functionality and use filters for this fix? (rather than maybe the other way around)
Thanks so much for improving this for us.
Tim.
- This reply was modified 3 years ago by THP Studio.
November 30, 2021 at 8:53 am #1330947Hi,
In the “new” version only the selected Blog Meta Elements are rendered in HTML.
Filters are only needed if you want to customize or even extend output for certain posts.Best regards,
GünterNovember 30, 2021 at 5:10 pm #1331030Oh I’m sorry, I misunderstood what the filters where there for, thanks for clarifying and for putting in place the fix, I really do appreciate it.
Tim.
December 10, 2021 at 4:50 pm #1332360Hi Gunter,
Thanks again
Tim
December 10, 2021 at 6:15 pm #1332364December 10, 2021 at 6:17 pm #1332365Thanks a lot Yigit, have a great weekend.
December 10, 2021 at 6:24 pm #1332366January 18, 2022 at 3:21 pm #1336046This one can be closed, thanks.
-
AuthorPosts
- The topic ‘Blog meta improvements’ is closed to new replies.