en

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


is_single [ WordPress Function ]

is_single ( $post = '' )
Parameters:
  • mixed $post Post ID, title, slug, or array of such.
Uses:
See:
Returns:
  • bool
Defined at:



Is the query for a single post?

Works for any post type, except attachments and pages

If the $post parameter is specified, this function will additionally check if the query is for one of the Posts specified.

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics