Provide zblog template_zblog them_wordpress template download and customization

Discussion on setting tags for zblogphp comments

Tianxing Studio 2017-08-04 22:26 Zblogphp Tutorial five thousand one hundred and ninety-six 0 Comments


Today, a user reported a problem to us, zblogphp backstage website Settings - "Number of comments output per page" is set in comment settings, but the foreground Template The display is abnormal.

This problem is due to zblog A small bug caused by changing the function name after upgrading PHP to 1.5.

zblogphp1.5 The call tag of "Number of output comments per page" is: {$zbp ->Config ('system ') ->ZC_COMMENTS_DISPLAY_COUNT};

Tianxing Studio The way to use this tag for the theme is:

 {if $article.CommNums>$zbp->Config('system')->ZC_COMMENTS_DISPLAY_COUNT}

Where "{$article. CommNums}" is the number of called article comments. The above code means that if the number of article comments is greater than the number of output frequencies per page set in the background, the page bar of comments will be displayed. Otherwise, the page bar of comments will not be displayed.

If there is a better way, please give me some advice.


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

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