Ajax Filter

Posted in: Newspaper
Post count: 19

Newspaper Team,

Amazing theme. Really glad to have used it thus far. So many great features, kudos to the team 🙂

I am running into an problems using the Ajax Filter on the Block.

I have categorized my posts as follows:
Type (Parent)
–Popular
–Spotlight
–Mainstream
–Team

Location (Parent)
–NorCal
–NY Metro
–SoCal

Each block on my home page is filtered by each Type above (Popular, Spotlight, Mainstream, Team) and then I set the AJAX filter to sort by Location.

However, once I filter by location using the AJAX filter, it shows me ALL posts within that location. How can I fix the filter or location categories in order to ensure the ajax filter works appropriately? I want the Type filter to stay on for the block, while filtering by Location using the ajax to bring up the appropriate posts.

Thanks,
Ajay

Post count: 7909

Hi,

I guess that you refer to the ajax filter categories – http://screencast.com/t/wDwJKfRJFvT2 just set ajax filter type by categories and paste the categories IDs that you want to display there – http://screencast.com/t/jInXuOH0TUz you can take the ID like this – http://screencast.com/t/7IGPRmU8i

Result: http://screencast.com/t/DcnaU01fD

Thanks!

Post count: 19

Alin,

Thanks but how can I have the AJAX filter keep the original filter? I.e filter results containing BOTH categories Popular and NorCal for instance?

Post count: 19

Alin,

I was able to fix the categories filter 🙂 I created each location three times, with unique slugs and nested them underneath each Type Parent listed above, removing the Location parent altogether.

However, the AJAX Filter isn’t pulling the posts. It begins to think and then go white.

View post on imgur.com

View post on imgur.com

Any ideas on how to fix the ajax pull?

Thanks,
Ajay

Post count: 7909

Hi,

Please provide the screenshots with the settings you have made in the block settings area.

Thanks!

Post count: 19

Alin,

The categories I am using are below, taking one section as an example:

View post on imgur.com

View post on imgur.com

View post on imgur.com

View post on imgur.com

Please note that I am running two themes using the below Multiple Themes Plugin

View post on imgur.com

View post on imgur.com

View post on imgur.com

Thanks,
Ajay

Post count: 7909

Hi,

From the images you have uploaded I see that the ajax filter is properly set. It may be an ajax error so please check this without any plugins active except of Visual Composer, clear cache and see if you still have this issue.
If this doesn’t fix it please provide your site url so we can take a look.

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.