Hi, as the content on my blog is evergreen content, I would like to remove the date which is appear in Google SERP. May I know if it is possible to do that in the theme code?
Google Serp is not related to themes. There is no any code to remove the date which appear in Google Serp. It might be controlled from seo plugins that you have activated on your site.
Hi, as I understand most WordPress themes display a set of meta data on published blog posts. This typically includes at least the author and the date the post was published. May I know which file or where in the theme can I edit the code? The solutions I found in Google search involved installing plugins but it didn’t work well as the plugins are outdated. There are solutions which involved inserting code into function.php or single file. But there isn’t any single.php file in Ultimate. Please let me know where can I insert those code? Thank you.
If you like to insert the code in single.php then you can insert the code inside theme folder -> inc -> structure -> content-extension.php inside ultimate_theloop_for_single() function on line no 240.
If no single page then all the functions is controlled by index.php. We are using action hook so you have to make code customization inside content-extension.php file.
Hey, thanks a lot for directing me to the particular function! I really appreciate your time and attention. Managed to make some changes and it seemed to be working. Still monitoring it.