Zblog calls the background page to manage the code of all single pages

Exhibition of works zero five hundred and ten

For the needs of website development, it is sometimes necessary to call all single pages of page management separately. zblog does not provide a tag for direct call, so you need to write your own call function. According to the development guide of zblog wiki, the zblog code for calling all single pages is as follows:

 Zblog calls the background page to manage the code of all single pages

PHP
 function qiteen_getPages(){ global $zbp; $pages = ''; $arrayPage = $zbp->GetPostList('*', array('=', 'log_Type', '1'), null, null, null); foreach ($arrayPage as $page){         $pages .= '< li><a href="'.$page->Url.'" title="'.$page->Title.'">'.$ page->Title.'</ a></li>'; } return $pages;}

Add code where you want to call, such as footer.php:

PHP
 {qiteen_getPages()}

Related recommendations:

Message from netizens:

I would like to comment:

◎ Welcome to participate in the discussion. Please express your views and exchange your views here.
 Verification Code