https://www.cherryframework.com/portfolio-view/it-consulting-wordpress-theme-4678
-
Hi, in this theme https://www.cherryframework.com/portfolio-view/it-consulting-wordpress-theme-4678 on the home page, it runs a shortcode that displays 5 recent clients like so:
[recent_posts num="5" post_format="standard" type="clients" meta="false" thumb="true" thumb_width="162" thumb_height="44" custom_class="clients"]
The only issue is I have is that I need to display 10 and if I set the num=”10″ it staggers them on the next line to 4 and then one on the following third line and just looks awful. So now I have two rows of 5 just repeated as above like.
[recent_posts num="5" post_format="standard" type="clients" meta="false" thumb="true" thumb_width="162" thumb_height="44" custom_class="clients"] [recent_posts num="5" post_format="standard" type="clients" meta="false" thumb="true" thumb_width="162" thumb_height="44" custom_class="clients"]
I wondered in a shortcode if you can orderby asc or desc? As if I seperated them like that, it would give me the 5 old and the 5 new?
Anyone know how this is done?
Thanks in advance,
Jamie
- The topic ‘https://www.cherryframework.com/portfolio-view/it-consulting-wordpress-theme-4678’ is closed to new replies.