Forum Replies Created
-
AuthorPosts
-
Clayton
ParticipantAwesome, thanks for the quick response.
Clayton
ParticipantHey Jon,
Thanks for the reply. There must be some sort of conflict with something. I’ve tried with your version of the plugin and added the filters to my functions but it still doesn’t return anything. Not sure what I’m missing!
Clayton
Clayton
ParticipantHey guys,
I was never able to get this working properly. I have the beta version installed and activated. Is this option built in to the beta version?
Clayton
ParticipantAmazing! Worked like a charm. Thanks! Loving the continued development on WP Show Posts.
Clayton
ParticipantKind of a work around but you can use nth child CSS selectors.
.home-posts article:nth-last-of-type(-n+2) { display: none !important; }
Wrap the shortcode in a div and give it the class of your choice. The CSS above with will hide the last two elements (posts) within that div. Then just use CSS3 media query to apply this css based on screen width. This is a great media query generator: http://giona.net/tools/css3-mediaquery-generator/
I’m using this to change the number of posts being displayed on mobile and it works like a charm other than they are just hidden with
display: none;
via CSS.Clayton
ParticipantAmazing! Is there some more detailed hook documentation anywhere?
Thanks,
ClaytonClayton
ParticipantWill do! Also, this plugin rocks. I’ve used other plugins like Display Posts Shortcode but this one is fantastic. When I saw there was a pro version I had to snag it! Very excited to see how the plugin continues to develop. Thanks Tom!
Clayton
ParticipantHey Tom,
This is great. I’ll look it over. Thank you!
-
AuthorPosts