how do I get all the articles under the category to which the article belongs?
I found a code on the Internet, php $this- > widget ("Widget_Archive@index"," pageSize=6&type=category", "mid=3")-> parse ("
how do I get all the articles under the category to which the article belongs?
I found a code on the Internet, php $this- > widget ("Widget_Archive@index"," pageSize=6&type=category", "mid=3")-> parse ("
'mid=' . $this->mid
Previous: Define a global variable that automatically transforms the value
Next: How does Pandas DataFrame align the column name with the column data when the output is displayed?
I haven t written a blog for a long time, but I visit it occasionally, and the front desk is fine. Today, I suddenly wanted to edit an article in the background. I found that in the background 404, the admin directory of the files was gone . then fi...
such as the title. Copied an article, more than ten thousand words, after generating the page, it is more than one meter long. Ask the old bird, how can you set how many natural pages of long articles? It means that when the title goes down, 50 natural ...
do you have any good-looking typecho themes that you recommend? Want to embellish your blog ...
how do I get a fixed link to a comment when paging is turned on? is currently in the format of https: kexue.fm archives 481., but if the way the comments are displayed changes, the address changes (the latest display changes to the oldest display in...
after building LNMP and typecho with pagoda, apply for free ssl to open https, with pagoda. Everything else is normal, but jump directly to this URL https: www.xxx.com index.php. after publishing articles and setting pseudo-static. here is the nginx ...
typecho migration. Error appears on the home page after database import. The code is as follows: exception Typecho_Db_Query_Exception in home noteeyga public_html var Typecho Db Adapter Mysql.php:88 Stack trace: -sharp0 home noteeyga public_h...
how Typecho implements infinite nesting of comments it is useless to find some tutorials by yourself! Solve! ...
...
in the Typecho theme development process, there is no problem with paging after adding paging, but an error will be reported when you click on a link to any article, as shown in figure . this line of code is used to add paging: ...
typecho cannot link to the database the database uses mariaDB5 Is not supported? ask how to support ...
I have followed the steps of the ...
A typecho standalone page template, <?php ** * * * @package custom * if (!defined( __TYPECHO_ROOT_DIR__ )) exit; ?> <?php $this->need( header.php ); ?> <h2 class="page-title"><?php $this->title() ?><...
in the typecho official document, the following code gets all the categories $this->widget( Widget_Metas_Category_List )->parse( <li><a href="{permalink}">{name}< a>< li> want not to output all categories, ...
$this->widget( Widget_Contents_Page_List ) -> to($pages); the above code can get open independent pages, but can not get hidden independent pages, how to get all independent pages? ...
The typecho default theme used by . You want to add the corresponding icon symbols according to the custom fields of each page in front of the navigation menu Code: current problem: is not displayed on the home page, so the custom field of the p...