找回密码
 注册
搜索
热搜: 活动 交友
查看: 102|回复: 0

Adding the counter in the sidebar

[复制链接]

5

主题

0

回帖

17

积分

新手上路

积分
17
发表于 2024-2-17 15:03:15 | 显示全部楼层 |阅读模式
On this page, you can see short codes that display various statistics such as the number of registered users, the number of comments, the number of articles, the number of pages, the number of categories and many others.

Briefly copy the code [sbs_approved]  if you want to display the counter of approved comments on the WordPress site.

If you want to display this statistic in an article or page, simply enter the editor of the respective page/article and click on Add block (+), then briefly search for the desired code and click on it to add it to the editor. In this field, you will be able to briefly paste the Denmark Email List code presented above. Before or after this field you can write whatever you want. Alternatively, you can use the short code in a paragraph-type field. Simply put the code where you want it to appear. If you use the paragraph field, you will also have access to the style options. Once you've finished adding the shortcode, save or publish the content you're just editing.




You can use the same shortcode above to display the counter of approved comments. Go to Appearance and then Parts. Here add a piece (widget) of text type in which you add your text and the desired short code. Don't forget to save the song. Depending on the theme or plugins you use, you will have several areas for parts. Either on the side, in the basement or in other areas, you can place the short code anywhere. Some areas are divided into several columns.


Displaying the comment counter without a plugin
If you are a more technical person and have certain programming skills, you can try this version of the comment counter implementation.

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黒屋|Quetzal Audio

GMT+9, 2025-2-26 07:03 , Processed in 0.158410 second(s), 18 queries .

Powered by Discuz! X3.5

Copyright © 2001-2025 Tencent Cloud.

快速回复 返回顶部 返回列表