Thank you @brainstormteam,
Great work!
Regards,
Dustin
Hi Ajay,
echo get_tptn_post_count(); doesn’t seem to work and only displays a value of “0” but then I used the tptn_shortcode_views(); function and now it works perfectly. But can I ask if using this function is correct or is it a bad implementation? I want to make sure that I did right to prevent future problems.
Please visit This Link to check the actual output.
Hi Ajay,
I’ve implemented the code you’ve shown me and it works fine but I want to get the styles and other meta information applied to the posts generated by the short-code [tptn_list] because our current short-code only displays title, image, date posted and post excerpt unlike the posts generated by the short-code [tptn_list] which also displays author and views count.
-
This reply was modified 7 years, 9 months ago by Dustin Yulo.