ekforum Posted November 21, 2023 Share Posted November 21, 2023 Featured blogs are shown at the top of the blog homepage, how many featured blog posts will it show? e.g. is it the last 10 featured ones for example. Or does it scroll through them indefinitely so if had 100 featured posts it would randomly scroll between 100 of them? Many thanks in advance Link to comment Share on other sites More sharing options...
DawPi Posted November 21, 2023 Share Posted November 21, 2023 Hello, it's carousel HTML type displaying form: <div class='ipsBox ipsResponsive_pull ipsSpacer_bottom'> <h2 class='ipsType_sectionTitle ipsType_reset'>{lang="featured_entries"}</h2> <div class='ipsClearfix'> <div class="cFeaturedTopics ipsCarousel ipsClearfix" data-ipsCarousel data-ipsCarousel-slideshow data-ipsCarousel-fullSizeItems data-ipsCarousel-shadows='false'> <div class='ipsCarousel_inner'> <ul class='cTopicCarousel ipsClearfix ipsList_reset' data-role='carouselItems'> {{foreach $featured as $entry}} Â So it will be displayed with a horizontal scrolls buttons. Marc 1 Link to comment Share on other sites More sharing options...
Marc Posted November 21, 2023 Share Posted November 21, 2023 If you have 100, it will show 100 Link to comment Share on other sites More sharing options...
ekforum Posted November 23, 2023 Author Share Posted November 23, 2023 (edited) On 11/21/2023 at 4:18 PM, Marc Stridgen said: If you have 100, it will show 100 OK, in the order of when featured, or when the blog entry was created I guess? So would need to manually go and un-feature topics, no default way of only showing the X amount? Would make more practical sense surly, if using the featured as paid featured posts. Or just if the community wants to show only he latest and most relevant featured posts 🤔 Edited November 23, 2023 by ekforum Link to comment Share on other sites More sharing options...
Marc Posted November 24, 2023 Share Posted November 24, 2023 16 hours ago, ekforum said: OK, in the order of when featured, or when the blog entry was created I guess? So would need to manually go and un-feature topics, no default way of only showing the X amount? Would make more practical sense surly, if using the featured as paid featured posts. Or just if the community wants to show only he latest and most relevant featured posts 🤔 I guess what you would actually be asking for here, is the facility to feature only for x amount of time, rather than anything else. A featured block will show all the featured content. Im not sure on the order, so have tagged a dev to see if we can get an answer on that one Link to comment Share on other sites More sharing options...
DawPi Posted November 24, 2023 Share Posted November 24, 2023 This post was recognized by Marc! "Very helpful, thank you :)" DawPi was awarded the badge 'Helpful' and 5 points. 36 minutes ago, Marc Stridgen said: Im not sure on the order, so have tagged a dev to see if we can get an answer on that one It's random. 🙂 $featured = iterator_to_array( \IPS\blog\Entry::featured( 5, '_rand' ) );  Marc 1 Link to comment Share on other sites More sharing options...
Recommended Posts