Tagged: Blog, enfold, Post meta info
-
AuthorPosts
-
January 24, 2022 at 12:45 pm #1336888
Hi
We had seen that it was on the changelog:
Stop the post meta information loading completely when it is turned off in the Enfold Control Panel.
This will stopping a link being generated to an author archive that could potentially be bad for SEO.One of my clients is using the ALB Blog Post Element to display posts.
It is set to List Layout – Excerpt (Title, meta information and exerpty only)When this option is selected it is still loading the Author Links as a hidden element even though they are turned off in the Enfold control panel.
Is there a way to stop the author information from being added as a hidden element? The client has applied a lot of custom CSS to change the layout of the blog so I cannot change to one of the other options.
- This topic was modified 2 years, 11 months ago by thinkjarvis.
January 25, 2022 at 8:05 am #1336981Hey Thomas,
Thank you for the inquiry.
Have you tried using the avf_show_author_meta to completely disable the author info? The filter is located in the includes > loop-index.php template.
Example:
add_filter("avf_show_author_meta", "__return_false");
Best regards,
IsmaelJanuary 25, 2022 at 11:39 am #1337036Unfortunately this didnt work.
I have found another solution in the forum which I am going to put to the client but it will mean customising loop-index.php and loop-author.php.
I have commented out the line that pulls in the VCard Author info.
Looks like the client site has an outdated version of loop-index.php in the child theme folder. I’ll have to address this with the client.
January 25, 2022 at 1:19 pm #1337063Hi,
Thanks for the update.
Looks like the client site has an outdated version of loop-index.php in the child theme folder. I’ll have to address this with the client.
The solution probably didn’t work because of this. Make sure that the avf_show_author_meta filter actually exists in the template.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.