Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1108843
    Joshua
    Participant

    I’m using the Ethos stack and the filterable index.

    If you use the filters, it always starts filtered. So I added an “All” category to show everything.

    The issue is in the language in the button at the bottom of the page.

    It says, “See all X posts”.

    1. It doesn’t work well with my category titles in general.
    2. It looks horrible for “See all all posts”.

    How do I change that text?

    Thanks,

    Josh

    #1109028
    Lely
    Moderator

    Hello Josh,

    Thanks for posting in.
    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then copy the file _index.php from \wp-content\themes\x\framework\views\ethos to this folder \wp-content\themes\x-child\framework\views\ethos.
    Open the copied file and then look for this line of code on line 52:

          echo '<a href="' . get_category_link( $category->term_id ) . '" class="x-btn-filterable x-btn">See All ' . $category->name . ' Posts</a>';
    

    Then feel free to update the text.

    Hope this helps.

    #1109161
    Joshua
    Participant

    Worked perfect. Thanks!

    #1109229
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1108843 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>