• Resolved skylinks

    (@skylinks)


    Hi,

    I don’t know if it’s possible with this wonderful plugin or not, But I want to display the total number of posts linked with CPT term in archive template created with Elementor. Since Elementor offers dynamic fields I want to create one shortcode that will affect all terms linked to this template.

    Please let me know if I haven’t explained well

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Trying to understand your goal. You say:

    “number of posts linked with CPT term”

    Are you referring to a custom taxonomy? If so, you can do it like this:

    [sbs_tax tax="tax_name"]

    And replace “tax_name” with the name of your tax term. More infos in the plugin Installation guide.

    Thread Starter skylinks

    (@skylinks)

    I’m sorry I somehow didn’t explain well because English is not my native language. I have taken a screenshot of values which I want to display on archive pages. Please check the highlighted area Thank you!
    Image URL
    https://ibb.co/t8yYr76

    Plugin Author Jeff Starr

    (@specialk)

    Yeah I think the plugin can do it, you just need to find out what those are. Are they Custom Post Types, Taxonomy, or ???

    If it’s for Custom Post Types, you can display the stats using either of these shortcodes:

    [sbs_cpts_count]           = list of CPT counts
    [sbs_cpt_count cpt="post"] = number of any post type

    Again, you can find infos about this in the Installation guide.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display post count in archive pages created with Elementor’ is closed to new replies.