Possible to make top grid post random in mobile ?

Posted in: Newspaper
Post count: 135

Hello,

I am using the mobile plugin. The homepage shows a top grid and latest articles.

I would like to make the posts that appear in the top grid and latest articles random. How do I this for mobile?

Thank you.

Post count: 23312

Hello crazydiver,

Notice that our theme has two possibilities to be displayed on mobile. The default one is General Responsive Mobile and with Mobile Theme plugin. The first one will display the exact layout from the desktop in responsiveness mode and the second one, Mobile Theme will display a certain layout for mobile as you can see in our documentation from here -> https://forum.tagdiv.com/the-mobile-theme/ -> https://www.screencast.com/t/yzdjJUZ4W If you want to change something like this from here you can do it from the code. Also, if you will choose the first way, it’s enough to set up your blocks with your desired filter and the mobile responsiveness will display the same results but on mobile.

Thanks for the message!

Post count: 135

Hello Catalin,

Thank you for the message.

The screenshot above helped but I see no effect changing “featured” to “random”. Perhaps I’m doing something wrong.

In addition to the above, is it possible to disable the mobile theme plugin only for the homepage?

Thank you for your time.

Post count: 135

Just adding to the above to show you what I did.

<div class="td-container">
<?php echo do_shortcode('[td_block_big_grid_mob_1 sort="featured"]'); ?>

to

<div class="td-container">
<?php echo do_shortcode('[td_block_big_grid_mob_1 sort="rand"]'); ?>

Post count: 135

Oops!

Never mind… I got it. It’s not rand… it’s “random_posts”

THank you.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.