Consejos para el desarrollo Web, estrategias de marketing y novedades de A2 Hosting enviadas a su email.
You have created multiple content on your WordPress site and would like to show your users the collection of interesting articles you have. Showcasing your content statistics creates an interesting perspective of the wealth of resources and user interaction on your site. This article will show you the steps to add the Simple Blog Stats plugin to your site and have your content statistics show up in no time.
Simple Blog Stats is a plugin available for free in WordPress, which gives you shortcodes and tags to display your site's statistics on posts, pages or anywhere on your WordPress site. You can pull up and show the following statistics anywhere on your site:
Now that you know what statistics you can display, let's learn how to install this plugin on your WordPress site.
To install the Simple Blog Stats plugin, follow these steps:
Search for “Simple Blog Stats” and the available plugins appear:
To install the Simple Blog Stats plugin, click Install Now and Activate the plugin:
The plugin page appears, showing the activated plugins for your WordPress site. You should see Simple Blog Status on the list of activated plugins:
You have now installed the Simple Blog Stats plugin successfully.
Now that you have successfully installed and activated the plugin, let's build a simple page to show your site's blog statistics. To do this, follow these steps:
The Simple Blog Stats page appears with a bunch of shortcodes for you to copy and use on posts, pages, or anywhere you need to have the statistics displayed:
Click on the shortcodes, run through the list and copy the shortcode you need. For this exercise, copy the post shortcode [sbs_posts]. This shortcode displays the number of published posts on the site:
Create a new post and paste the shortcode:
Click Preview or Publish to view the result. In this example, there are no published blogs on this site; so it shows zero results:
To display the number of blogs or posts from a specific category and status, you can add the attributes to define the filter criteria as shown below.
[sbs_posts cat="WordPress" status="Pending Review"]
With the above attributes in the shortcode you should be able to see the count of blogs with the defined attribute value:
For more information about the Small Blog Post plugin, please visit https://wordpress.org/plugins/simple-blog-stats/#description.
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.