Home page >> Related Tutorials >>Body

Modify the sorting of ZBlog1.7 article list, which can be sorted according to the update time (views, comments, popularity, id, author, etc.)

Author: A little Jack    Time: 2022-08-25 09:14:47    Browse: 792   

Transferred from Lao Li next door: There are always various needs in website construction. For example, recently I need to sort the website article list of a ZB program by the update time.

ZBLOG provides rich interfaces for webmasters to customize, so it is easy to reorder articles.

The specific operation process is as follows:

Hanging interface:

 Add_Filter_Plugin ('Filter_Plugin_LargeData_Article ',' Application ID_xxx ');

Function Body:

Hello, you need to log in to our account to view the hidden content, please first Sign in To view!

The log_UpdateTime can be replaced by:

 Log_PostTime//According to the publishing time Log_UpdateTime//According to the update time Log_CommNums//According to the number of comments Log_ViewNums//By the number of views Log_ID//According to ID Log_CateID//According to the classification ID Log_AuthorID//According to the author ID

DESC can be replaced by:

 DESC//Descending ASC//Ascending

Problem solving.


Text label: ZBLOG   Article sorting   Latest articles   The hottest article  
 A little Jack

A little Jack https://lkba.cn

The blogger focuses on Z-Blog website construction, website optimization, computer troubleshooting, reinstallation, optimization, maintenance system, etc., QQ/WX: 2126245521 (please specify the purpose)

Related articles

Previous:

Next:

No comment for this article - Welcome

 Please fill in the verification code

Processed : 0.050 SQL : 14