visual composer block 3 -> start latest sort order with the 4th post

Posted in: Newspaper
Post count: 10

Hi,

my frontpage is built with visual composer.

first row -> slider (with the latest 4 posts)
second row -> block 3 (sort order: latest posts)

Problem: slider already shows the latest posts and block 3 shows them again. is there a possibility to let block 3 start with the 4th post?

i am more or less familiar with coding but i can’t find the right .php where i can edit the sort-order (starting point)

thanks and best regards,
alex

Post count: 3343

Hello,
Is not possible, what you can do is to use the slider to show there Featured articles and in block 3 add in category filter to exclude the Featured posts(this is to prevent duplicated articles between slider and block 3), add the cat id with minus (ex -4) of the Featured category.

Thanks for the message!

Post count: 94

Hello,

so if the featured category has the id 86, you have to add 86-4 to the filtering option? Didn’t work for me.

Post count: 854

hello,
on the slider add this: http://screencast.com/t/5ZJTSQRsi

on the block , add this: http://screencast.com/t/WOfJhbKq6pw

Thanks for you message.
Radu A.

Post count: 10

hi guys

thanks for your reply.

But unfortunately it doesn’t help me. i have daily news-updates on the site. so the last 4 news should be shown on the slider and the older news right below the slider. both of them have the same category “news”. therefore i have no possibility to separate the categories.

thanks
alex

Post count: 3343

Hello,

@davistar

I mean you can exclude a category adding in category filter the cat with minus. If you have a category FOOD with cat 8, if you add in category filter -8 from that block all post from FOOD category will be excluded.

Thanks!

Post count: 10

i think i figured it out.

for all who have the same issue and maybe @davistar -> so if you want to exclude X articles of the latest post:

go (via ftp) to /themes/newspaper/page-homepage-loop. there you have to edit line 130 to this:

query_posts(‘offset=4’);

in this case the first 4 articles would be excluded.

Post count: 3343

Hello,
Thanks @PMstal.
The version V3 have offset option built in. Will be lunched tomorrow.

Thanks!

Post count: 10

great news! thanks!

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