Support » Theme: Make » Remove or change "From" on archive page

  • Resolved wpfan1000

    (@wpfan1000)


    Hi,

    When I click a category and the archive page is shown for that category, the title of the arhcive page is

    From [category]

    Eg:

    From Safety

    This of course makes no grammatical sense.

    How do I change or hide “From”?

    I examined the theme’s archive.php template but do not see anything to controls the “From”

    Thanks ahead of time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi wpfan1000,

    The archive.php template calls template files located somewhere else that combined make up the content.

    To eliminate the From, go to partials/section-title.php

    If you change the code using a child theme so that ‘From’ is not included, you should be fine.

    I hope this helps 🙂
    -Maria Antonietta

    Thanks Maria for your quick and helpful response 🙂

    PS, editing partials/section-title.php in my child theme, I can see how the theme prints an appropriate prefix depending on context – nicely done!

    You’re very welcome. You’re right about the archive title code: WP is all about flexibility and dynamic content.

    Have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove or change "From" on archive page’ is closed to new replies.