Filtered index - ethos

Hi,
I’ve created a filterable index for my “blog”. How do I get it to display “all posts” as default and not just the first category? I found this topic from 2015 https://theme.co/apex/forums/topic/ethos-filterable-index-shows-only-one-cat/
Does this still apply? Is this part of the instruction from Rad referring to the c-panel? "(
Currently, it only show posts of first category. But you could try this.

  1. Create file _index.php under your child theme (/x-child-ethos/framework/views/ethos/_index.php)")
    Kind regards,
    Jane

Hi There,

Please try adding this code under Theme Options > JS:

jQuery("document").ready(function($){
	$("ul.x-index-filters-menu li:first-child a").trigger('click');
});

Hope it helps :slight_smile:

1 Like

Thanks worked a treat!!

Hi Thai,
I’ve now noted the social links in my footer no longer link to facebook and twitter but an archive page that doesn’t exist. Despite the footer link still showing the correct address when I edit it. Could this be a consequence of the fix?
Many thanks,
Jane

Hey Jane,

The code @thai gave is unlikely to cause something like you’ve described.

Your issue sounds like you have not added the full URL of your social links. Please check if you have included http or https like https://fb.com/page and not fb.com/page only.

If you have further unrelated questions, we kindly ask that you open a separate thread in order to avoid confusion and will also help other readers to find solutions.

Thanks.

1 Like

Thanks. You were correct. Problem gone!

You’re most welcome!

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