What?
Not sure what you are asking here..
Tip: provide more context to help communicate your idea.
tx
My website has hundreds of listings (directory site)
https://www.acceptcryptoz.com/?select=&lp_s_tag=&lp_s_cat=&s=home&post_type=listing
At the moment users can copy your shortcode [sbs_posts] to display the number of total posts in an wordpress article
I d like to do the same with Listings instead of posts
maybe a shortcode called [sbs_listings]
Thank you very much for your help
Regards
Is “listings” a custom post type? Or something else?
I’m not familiar, but you can ask the theme developer 1) if it is a Custom Post Type, and 2) the correct id (slug), for example is it “listings” or “listing”, etc. That information can be used to display the number of listings on your site.
I ll ask them and let you know as soon as they get back to me
Thank you very much
Hi Jeff
Yes it a custom post type and the default slug is “listing”
Thanks
Great, then you can do this:
[sbs_cpt_count cpt="listing"]
Thank you SOOOOOO much, you are a star
You are welcome! And thanks for the great review.