Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1200377

    The header title for the category archive pages displays as “Archive for category: [category]” while the header title for the tag archive pages displays as “Tag Archive for: [tag]”.

    Is there a way to remove the part of the title that reads “Archive for Category” and “Tag Archive for” and instead just have the actual tag or category as the header title with no prelude text.

    In other words, if the category was called “News” the header title would just display as “News” and not “Archive for category: News” and the same set-up for the tag archive pages.

    #1201329

    Hey lsrmedia,

    You will need to modify this function “avia_which_archive” here
    /framework/php/function-set-avia-frontend.php
    Image 2020-04-06 at 20.18.57.png

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1201477

    Perfect! I was able to make the required changed. Thanks for your help!

    #1201614

    Hi,

    Great, I’m glad that you got things working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1201773

    Sorry one more question. When a blog is displayed, under the title is the date, time and category. The category is displayed as “in category”, such as “in news” or “in personal”. I would like to remove the word “in” from displaying so it will just display as “news” or “personal”.

    How would I do this. I would assume I would just edit the appropriate PHP file as I did above but after searching for an hour for the correct PHP file, I could not find it. Thanks

    #1202730

    Hi lsrmedia,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1202827

    I have provided the link to my website. When you go to the website, you will see each blog post has the category in a small black box listed beside the date and time. It will say “in personal” or “in news” or whatever the category is. I would like to remove the word “in” so it just says “personal” or “news”. Thanks

    #1203292

    Hi lsrmedia,

    Well, you’ll need to copy this file to your child theme
    /includes/loop-index.php and remove the line of code:

    
    	echo '<span class="blog-categories minor-meta">' . __( 'in','avia_framework' ) . ' ';
    

    Image 2020-04-13 at 16.03.06.png

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1203439

    Worked great! Thanks so much.

    #1203639

    Hi lsrmedia,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.