All posts tagged Post

Comment function have been disable in this Post


Table of Comments

The Table of Comments displays all the comments, with the most recent comment displayed first. In the instructions that follow, reference is made to using a mouse to click on fields and links, but the Keyboard Shortcuts article describes the various keyboard combinations that will allow navigation and management of comments without using the mouse.


  • [ ] – This checkbox, when clicked (checked), ‘selects’ that particular comment to be processed by aBulk Action.
  • Gravatar – This is a picture orgravatar of the comment author.
  • Author – This is the name of the comment author. Below the comment author name is the comment author’s email address that can be clicked to begin an email to that address. Below the email address is the commenter’s web-site in the form of a URL that can be click to visit that commenter’s web-site. Below the email address is commenter’s IP address in the form of a link. Clicking that IP address link causes all the comments originated by that IP address to be displayed thus allowing a Bulk Action to be applied to all comments from that address.
  • Comment – The first item in this column is the comment date and time presented as a link. Click the date and time link to allow the comment to be edited in the Comments Edit Screen. Below the date and time is the actual comment that was submitted, and below that is the Immediate Actions that can be performed on that comment.
  • In Response tT – This column displays the title of the post related to the comment. Click the post title to edit that post. Below the post title, a comment bubble depicts the number of comments made to the post. Place the mouse cursor (Hover) over the comment bubble to see how many of the comments are in a Pending state. And finally, next the comment bubble, a # (pound sign/hash symbol) is displayed as a link to see a single post view of the post related to the comments.

Post with custom sidebar

The return value should be used to determine whether to display a static sidebar. This ensures that your theme will look good even when the Widgets plug-in is not active.

If your sidebars were registered by number, they should be retrieved by number. If they had names when you registered them, use their names to retrieve them.


 <?php dynamic_sidebar( $index ); ?> 


(integer/string) (optional) Name or ID of dynamic sidebar.

Default: 1

Return Value

True, if widget sidebar was found and called. False if not found or not called.


Here is the recommended use of this function:

<ul id="sidebar">
<?php if ( !dynamic_sidebar() ) : ?>
   <li>{static sidebar item 1}</li>
   <li>{static sidebar item 2}</li>
<?php endif; ?>
<ul id="sidebar">
   <?php dynamic_sidebar( 'Right Sidebar' ); ?>

in the “Twenty Ten” theme (3.0+)

Multiple Sidebars

You can load a specific sidebar by either their name (if given a string) or ID (if given an integer). For example,dynamic_sidebar('top_menu') will present a sidebar registered withregister_sidebar(array('name'=>'top_menu',)).

Using ID’s ( dynamic_sidebar(1) ) is easier in that you don’t need to name your sidebar, but they are harder to figure out without looking into your functions.php file or in the widgets administration panel and thus make your code less readable. Note that ID’s begin at 1.

If you name your own ID values in the register_sidebar() WordPress function, you might increase readability of the code. The ID should be all lowercase alphanumeric characters and not contain white space. You can also use the - and _ characters. IDs must be unique and cannot match a sidebar name. Using your own IDs can also make the sidebar name translatable.

// See the __() WordPress function for valid values for $text_domain.
register_sidebar( array(
    'id'          => 'top-menu',
    'name'        => __( 'Top Menu', $text_domain ),
    'description' => __( 'This sidebar is located above the age logo.', $text_domain ),
) );

This allows the use of dynamic_sidebar( 'top-menu' ) which uses an ID and is readable.

Page 1 of 1