I’ve got a site that will be using mainly static pages but will use “posts” for news items. I created a category of “News” for this purpose.
However I have noticed that WP inserts information I don’t want to appear in the title area when viewing.
For example, when reading a particular news item, the top title area shows “Blog – Latest News”. I don’t want to note the Blog portion. Just “Latest News” would be fine.
Also, when looking at the category post for all the news items it shows the following: “Archive for category: News”. I don’t want the “Archive for category” to appear, just “News” is fine.
Any ideas on how to tweak things to do this?
Thanks in advance!
TOm
Hey Tom!
Please refer to Ismael’s post here https://kriesi.at/support/topic/change-text-of-main-title/#post-167849
It answers both of your questions :)
Best regards,
Yigit
Thanks, I was able to take care of the first item (it was the title on single.php that controlled the one I needed to remove).
The second item wasn’t as easy. The link from the other topic you gave says:
The text “Archive for category:” is generated by avia_which_archive function. You can find it on framework > php > function-set-avia-frontend.php, find this code on line 834:
However, I haven’t had much luck figuring out how to get to the specific file it noted to make the change. Can you point me in the right direction?
disregard the previous post. I was able to find the file to edit. Just thought it was accessible thru the WP dashboard but apparently not.
Thanks!
Hey!
You will need a FTP client or a plugin like this, the file in question is located at:
/enfold/framework/php/function-set-avia-frontend.php
Regards,
Josue