Slideshow content?
-
I’m experimenting with a site that is not live yet but was populated with old content from an XML export of its previous WP installation. I am unclear how I can determine which posts will show in the homepage slideshow.
What is the criterion in Avventura for how that content is selected? Can I change it?
-
Hello
a new option to display specific posts will be added within few working days, the slideshow show the recent posts
Thanks for your suggestion
Alex
Look forward to it. There is a “make this post sticky” toggle on the editor. Is that doing anything?
Yes, if you make a post as sticky post, it will be show on the homepage slideshow
If needed you can create a child theme and use the following PHP code to exclude the sticky posts from the main loop on homepage (this feature is already available on the pro version)
function avventura_exclude_single_posts_home($query) { if ( $query->is_home() && $query->is_main_query() ) { $query->set('post__not_in', get_option( 'sticky_posts' )); } } add_action('pre_get_posts', 'avventura_exclude_single_posts_home');Thanks, Alex! The other question I have about the slideshow is how I can make the slides clickable?
You’re welcome 😉
This feature is not still available, i could add this feature with the next theme update
Best regards
Alex
That would be great. It’s a beautiful theme.
The topic ‘Slideshow content?’ is closed to new replies.
