Blog Index - Filter by "All" by default instead of "By Topic"

Hi,

As mentioned above in the topic title I would like to set the Blog index to filter “All” categories instead of
having it default to “Search By Topic”

Can someone give me the code to do this or is there a simple configuration I am missing?

Thanks

Shane

Hi @Daltai,

Thanks for writing in.

It’s possible, and before we start, make sure you install and activate your child theme. Then please follow this

  1. Copy the file \framework\views\ethos\_index.php from your main them and paste it in your child theme with the same directory path.

Example,

\x-child\framework\views\ethos\_index.php

or

\pro-child\framework\views\ethos\_index.php

  1. Edit your child theme’s \framework\views\ethos\_index.php and change the text Filter by Topic to your preferred one.

<span class="x-index-filter-label"><?php _e( 'Filter by Topic', '__x__' ); ?></span>

  1. Upload your changes.

Please check this https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/ for further info about FTP and file uploading in case you’re not yet familiar :slight_smile:

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.