Provide zblog template_zblog them_wordpress template download and customization

The call tags of the total number of articles and comments called by zblogphp

Tianxing Studio 2018-03-16 21:52 Zblogphp Tutorial six thousand one hundred and thirty-nine 1 Comments


Want to Zblog topic The total number of called articles, pages, etc, zblog The official wiki has no ready-made tags. In this article, I will try my best to give a general description (because I haven't fully understood...)

Zblog background Home Page- website There are all website information in the information, and the "site information" in the zblog module management also has information calls. After looking at the source codes in these two places, we roughly classified the following calling codes:

Total number of articles: {$zbp ->cache ->all_article_nums};

Total pages: {$zbp ->cache ->all_page_nums};

Total number of tags: {$zbp ->cache ->all_tags _nums};

Total number of views: {$zbp ->cache ->all_views_nums};

Total comments: {$zbp ->cache ->all_comments_nums};

There is also a total number of categories: {$zbp ->cache ->all_categorys_nums}; This label cannot be used directly. It needs to be changed zblogphp But it is not recommended that you modify the core file of zblog, Tianxing Studio This problem has been reported to the zblog official. I hope it can be added to the system file later.


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

yes one Comments from netizens:

  •  visitor

    visitor Four years ago (April 14, 2020) reply

    no way?

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login