• Resolved itism64

    (@itism64)


    Hi,

    I am looking at your plugin and looks like what i need. I have install it and activate. (it only showed one shortcode [sbs_posts] in the admin) After i put the shortcode on the front page the website stopped completely. I have about 19500 post there is that the problem ? and 210 tags with 20 category

    Cheers

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

    (@specialk)

    Hi itism64, glad to help. Yes it sounds like a possible bug on sites with lots of posts. I will investigate this and try to resolve any issue for the next plugin update. Thank you for reporting.

    Thread Starter itism64

    (@itism64)

    Hi Jeff,

    Thanks for the quick reply. I just used

    function wpb_total_posts() {
    $total = wp_count_posts()->publish;
    return $total;
    }
    add_shortcode(‘total_posts’,’wpb_total_posts’);

    and that works without any problem. But would be great to use your plugin as it has some nice features

    cheers

    Plugin Author Jeff Starr

    (@specialk)

    Awesome glad you found a solution.

    And just to be clear, the shortcode that did not work for you was [sbs_posts], correct?

    Thread Starter itism64

    (@itism64)

    Hi Jeff,

    Yes correct. That was the only one showed in the admin panel by the way.

    Cheers

    Plugin Author Jeff Starr

    (@specialk)

    Admin panel where? On the Dashboard or Widgets screen or plugin settings page? Not trying to be difficult, just need to understand how to recreate the issue so I can test and investigate. Thank you

    Thread Starter itism64

    (@itism64)

    Hi Jeff,

    This info https://perishablepress.com/wp/wp-content/images/2012/simple-blog-stats-options.gif

    Only showed [sbs_posts] and the rest as shown on the picture was not there

    cheers

    Plugin Author Jeff Starr

    (@specialk)

    Okay actually that is super helpful. If I understand, the plugin settings screen doesn’t display anything after the [sbs_posts] shortcode. So you can see the “Shortcode / Options” column, but nothing in the “Output” column (or after). Does that sound correct?

    Thread Starter itism64

    (@itism64)

    Hi Jeff,

    Yes that is correct. Send me email if you want more details or have a look.

    Cheers

    Plugin Author Jeff Starr

    (@specialk)

    Thanks will keep that in mind!

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up with this, the next version of SBS includes an alternate shortcode for getting the total number of posts:

    [sbs_posts_alt]

    This alternate shortcode is meant for use on sites with LOTS of posts. The shortcode accepts the following attributes:

    [sbs_posts_alt type="page" status="draft"]

    More information will be available in the plugin readme.txt/documentation. Thanks again itism64 for the feedback and help with this.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘All stops working after place the shortcode’ is closed to new replies.