• Resolved niska

    (@niska)


    For setting taxonomy SEO data it would be very useful with a variable %%posttotal%%. All I find is %%pagetotal%%, but that doesn’t help me.

    Is there a %%posttotal%% variable? What is it called? Docs doesn’t say anything about it.

    Eg “%%posttotal%% best t-shirts for modern adults”

    https://wordpress.org/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Thread Starter niska

    (@niska)

    Has anyone succeeded with this? I thinks the variable is available at $wp_query->post_count – so it is probably pretty easy to make it a SEO variable…

Viewing 1 replies (of 1 total)

The topic ‘How to get number of posts variable?’ is closed to new replies.