Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #171884

    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

    #171975

    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

    #172036

    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?

    #172041

    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!

    #172042

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘remove text on news posts’ is closed to new replies.