List of articles on how to call the wordpress sidebar. I have been reading WordPress & nbsp; 3.7.1 Simplified Chinese version for a long time, and how to call the wordpress sidebar article list in my next topic. php & lt; div & nbsp; id = "primary" & nbsp; class = "si wordpress's article list on how to call the sidebar, which has been hard to understand for a long time
WordPress 3.7.1 Simplified Chinese version, wordpress sidebar how to call the article list
Sidebar. php in one of my topics
Dynamic_sidebar ('inclubartop ') is the list of the latest articles about function calling?
Sidebartop is registered in functions. php and then displayed in the background, as shown below:
register_sidebar(array(
'name' => 'SidebarTop',
'description' => 'Top sidebar',
'id' => 'sidebartop',
'before_widget' => "\n\t\t\t" . '
',
'after_widget' => "\n\t\t\t\n",
'before_title' => "\n\t\t\t\t". '',
'after_title' => "\n" .''
));
Share:
------ Solution --------------------
Reference:
Quote: reference:
This is to call the sidebar widgt
The code depends on the wordpress core function, and the code in the topic is invisible.
I downloaded a topic, but want to make the layout of the sidebar look better. for example, if three recently updated articles are displayed, the title will not be too long. what should I change?
Write code on the sidebar:
Check the usage of the wordpress query_posts () function online. If it is helpful, score it!