Exclude category from Blog Infinite

pablosci
Posts: 2
Joined: Wed Feb 24, 2016 4:42 am
Contact:

Exclude category from Blog Infinite

Postby pablosci » Mon Feb 29, 2016 10:43 am Supported Until: Wed Jun 15 16:56:20 +1000 2016 | Expired

Hi, is there any way to exclude a category from the Blog Infinite?
If i have this at aq-home-blog-infinite.php:

CodeColon Select All Code

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>


I can make these:

CodeColon Select All Code

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php query_posts($query_string.'&cat=-2480'); while (have_posts()) : the_post(); ?>


Where in the query string i can exclude a specific category, this works perfect, BUT, when i use the "load more" button, it brings me the same post than before.
Any idea?

User avatar
pirateS
Site Admin
Posts: 6831
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Exclude category from Blog Infinite

Postby pirateS » Mon Feb 29, 2016 3:17 pm

Hi there!
Please give me the link of the page that is using the infinite scroll?
Thanks

pablosci
Posts: 2
Joined: Wed Feb 24, 2016 4:42 am
Contact:

Re: Exclude category from Blog Infinite

Postby pablosci » Mon Feb 29, 2016 7:01 pm Supported Until: Wed Jun 15 16:56:20 +1000 2016 | Expired

Sure, its http://www.automotiva.com.ar
(right now, the code above its not implemented)

User avatar
pirateS
Site Admin
Posts: 6831
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Exclude category from Blog Infinite

Postby pirateS » Wed Mar 02, 2016 8:46 am

Hi
Sorry for replying late!
Could you please give me your admin account and create a private page, which implement with the infinite scroll function? I can log in your website to check it.
Thanks


Return to “Aresivel”

Who is online

Users browsing this forum: No registered users and 1 guest