Provide zblog template_zblog them_wordpress template download and customization

GetPageList of zblog function obtains page data

Tianxing Studio 2022-05-14 20:28 Zblog function nine hundred and twenty-seven 0 Comments


zblog GetPageList function is used to obtain the page data [Page in background page management]; The function is constructed in“ zblogphp . php ". As shown below:

 GetPageList of zblog function Get page data zblog page GetPageList zblog function zblog function Page 1

Function parameters:

$select: array; Obtain the specified data;

$where: array, data acquisition restriction rules;

$order: array, data acquisition collation;

$limit: array, limit the number of data obtained;

$option: array, additional restriction options, which can be used to obtain data within the specified range;

Function output:

Output an array, for example, get zblog website All pages in [The following code only takes effect in the theme file]:

 {foreach $zbp->GetPageList('','',array('log_PostTime' => 'DESC'),'','') as $page} <a href="{$page->Url}">{$page->Title}</a> {/foreach}

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