Feature request : Alternating templates
-
Hello again. I’ve mentioned this in different topic but I though it would be good to make it as an official feature request. This can enrich the functionality of the blog greatly and would be beneficial to many people IMHO.
Here goes :
It would be good to have possibility of alternating templates.
Imagine you have 3 categories “FeaturePosts”,”Shorts”,”BlogPosts”. Feature posts should be big and attract most attention, shorts are just an image or two, something funny let’s say and BlogPost would be an article. You would want something like this:[ Moderator note: This works much better with the code button. ]
__________________ _________________ | Featured | | Featured | | | | | | | | | |_________________| |_________________| _____ _____ _____ _____ _____ |Short| |Short| |Short| |Short| |Short| |_____| |_____| |_____| |_____| |_____| _____________________________________ | Article | | | |_____________________________________|
And then repeat. Hope you enjoyed my great visualization btw ??
I can imagine this being defined something like this:[alm-alternate] [ajax_load_more post_type="post" category="featured" posts_per_page="2" template="featured"] [ajax_load_more post_type="post" category="shorts" posts_per_page="6" template="shorts"] [ajax_load_more post_type="post" category="blogPost" posts_per_page="1" template="blogPost"] [/alm-alternate]
Then there won’t be one button to load more after each alm but only at the end of
[/alm-alternate]
.
Just brainstorming, I understand that probably doesn’t work great with your current shorcodes design but it might be something to look into.Peter
- The topic ‘Feature request : Alternating templates’ is closed to new replies.