• Resolved subgrega

    (@subgrega)


    Is it possible to run stats on “Portfolio Categories”? As far as I tested it only works for “Posts”…

    Thank you.

    The page I need help with: [log in to see the link]

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

    (@specialk)

    It depends, what exactly is a “Portfolio Categories”? It sounds like it is a custom taxonomy..?

    Thread Starter subgrega

    (@subgrega)

    Well as far as I see you usually have:
    – posts
    – portfolio
    – galleries
    – media
    – etc

    As menus in wp. I tested the plugin and it gathers the “posts” beautifully, but I have no idea how to get the “portfolio” stats?

    Thank you.

    Plugin Author Jeff Starr

    (@specialk)

    Yeah I don’t know what all you’ve got going on at your site, with the “portfolio” statistics. But if you can let me know *what* a “portfolio” is, I might be able to help. For example, on your site, is “portfolio” refer to a Custom Post Type..?

    Thread Starter subgrega

    (@subgrega)

    Yes, I think that is exactly what it is a Custom post type…

    Plugin Author Jeff Starr

    (@specialk)

    Thanks, according to the plugin documentation you can display the count of any CPT like so:

    [sbs_cpt_count cpt="portfolio"]

    Should do the trick.

    Thread Starter subgrega

    (@subgrega)

    Beautiful. How about if I want to limit CPT to taxonomy terms?
    [sbs_cpt_count cpt=”portfolio” tax=”logo”]

    Plugin Author Jeff Starr

    (@specialk)

    You can display the number of posts for any taxonomy term(s) like so:

    [sbs_tax_posts tax="your-taxonomy" terms="term-1, term-2, term-3" type="your-custom-post-type"]

    Again, this is all right there in the plugin documentation fyi.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Portfolio’ is closed to new replies.