Tagged: x
-
AuthorPosts
-
July 29, 2016 at 9:19 am #1108843
JoshuaParticipantI’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
July 29, 2016 at 11:30 am #1109028
LelyModeratorHello 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.
July 29, 2016 at 1:17 pm #1109161
JoshuaParticipantWorked perfect. Thanks!
July 29, 2016 at 2:05 pm #1109229
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1108843 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
