• Resolved kanonxtwgok

    (@kanonxtwgok)


    So I’m looking for a way to hide my custom post type name in the front end using the shortcode: <span class=”sbs-count-cpt”>.

    My custom post type name is Job with 0 post. As using the shortcode, I really want the front end to show just the number of post: “0”, rather then “0 Job”.

    The custom post type plugin I’m using is CPT UI.

    • This topic was modified 4 years, 1 month ago by kanonxtwgok.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    You can just do this:

    [sbs_cpt_count cpt="book" txt="null"]

    Replace “book” with your own Custom Post Type.

    This is explained in the SBS docs under the “Customize Output” section.

    Thread Starter kanonxtwgok

    (@kanonxtwgok)

    Thank you so much for the help, maybe you guys should do some wording so that it is easier to navigate the document.

    Plugin Author Jeff Starr

    (@specialk)

    I am constantly revising and updating the readme/docs for this free plugin. If you have any specific suggestions, please do share.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide post type name in front-end’ is closed to new replies.