The theme developer confirmed that:
Job, places, events are all the same custom post type just different listing types.
I am unsure then if I can pull the correct data based from this plugin, can you confirm?
Absolutely, the plugin provides a shortcode to display the count of any CPT. Here is an example:
[sbs_cpt_count cpt="post" txt="null"]
You can change “post” to the name of your custom post type. More details in the plugin documentation/readme.txt.
Hi,
If I use your example it pulls a count of all the individual listing types:
[sbs_cpt_count cpt=”job_listing”]
The issue seems to be based on the feedback from the theme developer that they have a single custom post type ‘job_listing’ and within that specific ‘listing’ types such as cars, events, place, jobs…In my case I want to pull back a count of only one specific ‘listing’
Yeah not sure then. I can take a closer look for the next update. For now, maybe try experimenting with other CPT names/values and SBS shortcodes, etc. Hopefully something will work for your particular setup.
[sbs_cpt_count cpt=”job_listing” txt=”null”] worked great on my website: I could managed to extract the total count of listings. Would it be possible to extract one specific category within job_listing? Also, the shortcode only works when inserted within a paragraph. Is it possible to make these shortcodes work within menus, titles, etc?
“Would it be possible to extract one specific category within job_listing?”
Not with the current version, sorry.
“Is it possible to make these shortcodes work within menus, titles, etc?”
The shortcode simply outputs a line of text. Should work anywhere that supports shortcodes. If that is not happening, it could be interference from another plugin/theme or could be a bug.