Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WP_Query Object
- (
- [query] => Array
- (
- [s] => test
- )
- [query_vars] => Array
- (
- [s] => test
- [error] =>
- [m] =>
- [p] => 0
- [post_parent] =>
- [subpost] =>
- [subpost_id] =>
- [attachment] =>
- [attachment_id] => 0
- [name] =>
- [static] =>
- [pagename] =>
- [page_id] => 0
- [second] =>
- [minute] =>
- [hour] =>
- [day] => 0
- [monthnum] => 0
- [year] => 0
- [w] => 0
- [category_name] =>
- [tag] =>
- [cat] =>
- [tag_id] =>
- [author] =>
- [author_name] =>
- [feed] =>
- [tb] =>
- [paged] => 0
- [comments_popup] =>
- [meta_key] =>
- [meta_value] =>
- [preview] =>
- [sentence] =>
- [fields] =>
- [menu_order] =>
- [category__in] => Array
- (
- )
- [category__not_in] => Array
- (
- )
- [category__and] => Array
- (
- )
- [post__in] => Array
- (
- )
- [post__not_in] => Array
- (
- )
- [tag__in] => Array
- (
- )
- [tag__not_in] => Array
- (
- )
- [tag__and] => Array
- (
- )
- [tag_slug__in] => Array
- (
- )
- [tag_slug__and] => Array
- (
- )
- [post_parent__in] => Array
- (
- )
- [post_parent__not_in] => Array
- (
- )
- [author__in] => Array
- (
- )
- [author__not_in] => Array
- (
- )
- [ignore_sticky_posts] =>
- [suppress_filters] =>
- [cache_results] => 1
- [update_post_term_cache] => 1
- [update_post_meta_cache] => 1
- [post_type] => any
- [posts_per_page] => 10
- [nopaging] =>
- [comments_per_page] => 50
- [no_found_rows] =>
- [search_terms_count] => 1
- [search_terms] => Array
- (
- [0] => test
- )
- [search_orderby_title] => Array
- (
- [0] => wp_posts.post_title LIKE '%test%'
- )
- [order] => DESC
- )
- [tax_query] => WP_Tax_Query Object
- (
- [queries] => Array
- (
- )
- [relation] => AND
- [table_aliases:protected] => Array
- (
- )
- [queried_terms] => Array
- (
- )
- [primary_table] => wp_posts
- [primary_id_column] => ID
- )
- [meta_query] => WP_Meta_Query Object
- (
- [queries] => Array
- (
- )
- [relation] =>
- [meta_table] =>
- [meta_id_column] =>
- [primary_table] =>
- [primary_id_column] =>
- [table_aliases:protected] => Array
- (
- )
- [clauses:protected] => Array
- (
- )
- [has_or_relation:protected] =>
- )
- [date_query] =>
- [request] => SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE '%test%') OR (wp_posts.post_content LIKE '%test%'))) AND wp_posts.post_type IN ('post', 'page', 'attachment') AND (wp_posts.post_status = 'publish' OR wp_posts.post_author = 1 AND wp_posts.post_status = 'private') ORDER BY wp_posts.post_title LIKE '%test%' DESC, wp_posts.post_date DESC LIMIT 0, 10
- [posts] => Array
- (
- [0] => WP_Post Object
- (
- [ID] => 6
- [post_author] => 1
- [post_date] => 2010-07-25 19:40:01
- [post_date_gmt] => 2010-07-26 02:40:01
- [post_content] => This site is using the standard WordPress Theme Unit Test Data for content. The Theme Unit Test is a series of posts and pages that match up with a checklist on the WordPress codex. You can use the data and checklist together to test your theme.
- <h2>WordPress Theme Development Resources</h2>
- <ol>
- <li>See <a href="http://codex.wordpress.org/Theme_Development">Theme Development</a> for <a href="http://codex.wordpress.org/Theme_Development#Code_Standards">code standards</a>, examples of best practices, and <a href="http://codex.wordpress.org/Theme_Development#Resources_and_References">resources for Theme development</a>.</li>
- <li>See <a href="http://codex.wordpress.org/Theme_Unit_Test">Theme Unit Test</a> for a robust test suite for your Theme and get the latest version of the test data you see here.</li>
- <li>See <a href="http://codex.wordpress.org/Theme_Review">Theme Review</a> for a guide to submitting your Theme to the <a href="http://wordpress.org/extend/themes/">Themes Directory</a>.</li>
- </ol>
- [post_title] => About The Tests
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => about
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2010-07-25 19:40:01
- [post_modified_gmt] => 2010-07-26 02:40:01
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wpthemetestdata.wordpress.com/about/
- [menu_order] => 1
- [post_type] => page
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [1] => WP_Post Object
- (
- [ID] => 1134
- [post_author] => 1
- [post_date] => 2013-03-15 18:20:05
- [post_date_gmt] => 2013-03-15 23:20:05
- [post_content] => <strong>Headings</strong>
- <h1>Header one</h1>
- <h2>Header two</h2>
- <h3>Header three</h3>
- <h4>Header four</h4>
- <h5>Header five</h5>
- <h6>Header six</h6>
- <h2>Blockquotes</h2>
- Single line blockquote:
- <blockquote>Stay hungry. Stay foolish.</blockquote>
- Multi line blockquote with a cite reference:
- <blockquote>People think focus means saying yes to the thing you've got to focus on. But that's not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I'm actually as proud of the things we haven't done as the things I have done. Innovation is saying no to 1,000 things. <cite>Steve Jobs - Apple Worldwide Developers' Conference, 1997</cite></blockquote>
- <h2>Tables</h2>
- <table>
- <tbody>
- <tr>
- <th>Employee</th>
- <th class="views">Salary</th>
- <th></th>
- </tr>
- <tr class="odd">
- <td><a href="http://example.com/">Jane</a></td>
- <td>$1</td>
- <td>Because that's all Steve Job' needed for a salary.</td>
- </tr>
- <tr class="even">
- <td><a href="http://example.com">John</a></td>
- <td>$100K</td>
- <td>For all the blogging he does.</td>
- </tr>
- <tr class="odd">
- <td><a href="http://example.com/">Jane</a></td>
- <td>$100M</td>
- <td>Pictures are worth a thousand words, right? So Tom x 1,000.</td>
- </tr>
- <tr class="even">
- <td><a href="http://example.com/">Jane</a></td>
- <td>$100B</td>
- <td>With hair like that?! Enough said...</td>
- </tr>
- </tbody>
- </table>
- <h2>Definition Lists</h2>
- <dl><dt>Definition List Title</dt><dd>Definition list division.</dd><dt>Startup</dt><dd>A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.</dd><dt>#dowork</dt><dd>Coined by Rob Dyrdek and his personal body guard Christopher "Big Black" Boykins, "Do Work" works as a self motivator, to motivating your friends.</dd><dt>Do It Live</dt><dd>I'll let Bill O'Reilly will <a title="We'll Do It Live" href="https://www.youtube.com/watch?v=O_HyZ5aW76c">explain</a> this one.</dd></dl>
- <h2>Unordered Lists (Nested)</h2>
- <ul>
- <li>List item one
- <ul>
- <li>List item one
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ul>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ul>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ul>
- <h2>Ordered List (Nested)</h2>
- <ol>
- <li>List item one
- <ol>
- <li>List item one
- <ol>
- <li>List item one</li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ol>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ol>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ol>
- <h2>HTML Tags</h2>
- These supported tags come from the WordPress.com code <a title="Code" href="http://en.support.wordpress.com/code/">FAQ</a>.
- <strong>Address Tag</strong>
- <address>1 Infinite Loop
- Cupertino, CA 95014
- United States</address><strong>Anchor Tag (aka. Link)</strong>
- This is an example of a <a title="Apple" href="http://apple.com">link</a>.
- <strong>Abbreviation Tag</strong>
- The abbreviation <abbr title="Seriously">srsly</abbr> stands for "seriously".
- <strong>Acronym Tag</strong>
- The acronym <acronym title="For The Win">ftw</acronym> stands for "for the win".
- <strong>Big Tag</strong>
- These tests are a <big>big</big> deal, but this tag is no longer supported in HTML5.
- <strong>Cite Tag</strong>
- "Code is poetry." --<cite>Automattic</cite>
- <strong>Code Tag</strong>
- You will learn later on in these tests that <code>word-wrap: break-word;</code> will be your best friend.
- <strong>Delete Tag</strong>
- This tag will let you <del>strikeout text</del>, but this tag is no longer supported in HTML5 (use the <code><strike></code> instead).
- <strong>Emphasize Tag</strong>
- The emphasize tag should <em>italicize</em> text.
- <strong>Insert Tag</strong>
- This tag should denote <ins>inserted</ins> text.
- <strong>Keyboard Tag</strong>
- This scarcely known tag emulates <kbd>keyboard text</kbd>, which is usually styled like the <code><code></code> tag.
- <strong>Preformatted Tag</strong>
- This tag styles large blocks of code.
- <pre>.post-title {
- margin: 0 0 5px;
- font-weight: bold;
- font-size: 38px;
- line-height: 1.2;
- }</pre>
- <strong>Quote Tag</strong>
- <q>Developers, developers, developers...</q> --Steve Ballmer
- <strong>Strong Tag</strong>
- This tag shows <strong>bold<strong> text.</strong></strong>
- <strong>Subscript Tag</strong>
- Getting our science styling on with H<sub>2</sub>O, which should push the "2" down.
- <strong>Superscript Tag</strong>
- Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
- <strong>Teletype Tag</strong>
- This rarely used tag emulates <tt>teletype text</tt>, which is usually styled like the <code><code></code> tag.
- <strong>Variable Tag</strong>
- This allows you to denote <var>variables</var>.
- [post_title] => Page Markup And Formatting
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => open
- [ping_status] => open
- [post_password] =>
- [post_name] => page-markup-and-formatting
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2013-03-15 18:20:05
- [post_modified_gmt] => 2013-03-15 23:20:05
- [post_content_filtered] =>
- [post_parent] => 6
- [guid] => http://wptest.io/demo/?page_id=1083
- [menu_order] => 0
- [post_type] => page
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [2] => WP_Post Object
- (
- [ID] => 1178
- [post_author] => 1
- [post_date] => 2013-01-11 20:22:19
- [post_date_gmt] => 2013-01-12 03:22:19
- [post_content] => <h2>Headings</h2>
- <h1>Header one</h1>
- <h2>Header two</h2>
- <h3>Header three</h3>
- <h4>Header four</h4>
- <h5>Header five</h5>
- <h6>Header six</h6>
- <h2>Blockquotes</h2>
- Single line blockquote:
- <blockquote>Stay hungry. Stay foolish.</blockquote>
- Multi line blockquote with a cite reference:
- <blockquote>People think focus means saying yes to the thing you've got to focus on. But that's not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I'm actually as proud of the things we haven't done as the things I have done. Innovation is saying no to 1,000 things. </blockquote>
- <cite>Steve Jobs</cite> - Apple Worldwide Developers' Conference, 1997
- <h2>Tables</h2>
- <table>
- <thead>
- <tr>
- <th>Employee</th>
- <th>Salary</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th><a href="http://example.org/">John Doe</a></th>
- <td>$1</td>
- <td>Because that's all Steve Jobs needed for a salary.</td>
- </tr>
- <tr>
- <th><a href="http://example.org/">Jane Doe</a></th>
- <td>$100K</td>
- <td>For all the blogging she does.</td>
- </tr>
- <tr>
- <th><a href="http://example.org/">Fred Bloggs</a></th>
- <td>$100M</td>
- <td>Pictures are worth a thousand words, right? So Jane x 1,000.</td>
- </tr>
- <tr>
- <th><a href="http://example.org/">Jane Bloggs</a></th>
- <td>$100B</td>
- <td>With hair like that?! Enough said...</td>
- </tr>
- </tbody>
- </table>
- <h2>Definition Lists</h2>
- <dl><dt>Definition List Title</dt><dd>Definition list division.</dd><dt>Startup</dt><dd>A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.</dd><dt>#dowork</dt><dd>Coined by Rob Dyrdek and his personal body guard Christopher "Big Black" Boykins, "Do Work" works as a self motivator, to motivating your friends.</dd><dt>Do It Live</dt><dd>I'll let Bill O'Reilly will <a title="We'll Do It Live" href="https://www.youtube.com/watch?v=O_HyZ5aW76c">explain</a> this one.</dd></dl>
- <h2>Unordered Lists (Nested)</h2>
- <ul>
- <li>List item one
- <ul>
- <li>List item one
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ul>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ul>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ul>
- <h2>Ordered List (Nested)</h2>
- <ol>
- <li>List item one
- <ol>
- <li>List item one
- <ol>
- <li>List item one</li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ol>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ol>
- </li>
- <li>List item two</li>
- <li>List item three</li>
- <li>List item four</li>
- </ol>
- <h2>HTML Tags</h2>
- These supported tags come from the WordPress.com code <a title="Code" href="http://en.support.wordpress.com/code/">FAQ</a>.
- <strong>Address Tag</strong>
- <address>1 Infinite Loop
- Cupertino, CA 95014
- United States</address><strong>Anchor Tag (aka. Link)</strong>
- This is an example of a <a title="Apple" href="http://apple.com">link</a>.
- <strong>Abbreviation Tag</strong>
- The abbreviation <abbr title="Seriously">srsly</abbr> stands for "seriously".
- <strong>Acronym Tag (<em>deprecated in HTML5</em>)</strong>
- The acronym <acronym title="For The Win">ftw</acronym> stands for "for the win".
- <strong>Big Tag <strong>(<em>deprecated in HTML5</em>)</strong></strong>
- These tests are a <big>big</big> deal, but this tag is no longer supported in HTML5.
- <strong>Cite Tag</strong>
- "Code is poetry." --<cite>Automattic</cite>
- <strong>Code Tag</strong>
- You will learn later on in these tests that <code>word-wrap: break-word;</code> will be your best friend.
- <strong>Delete Tag</strong>
- This tag will let you <del>strikeout text</del>, but this tag is no longer supported in HTML5 (use the <code><strike></code> instead).
- <strong>Emphasize Tag</strong>
- The emphasize tag should <em>italicize</em> text.
- <strong>Insert Tag</strong>
- This tag should denote <ins>inserted</ins> text.
- <strong>Keyboard Tag</strong>
- This scarcely known tag emulates <kbd>keyboard text</kbd>, which is usually styled like the <code><code></code> tag.
- <strong>Preformatted Tag</strong>
- This tag styles large blocks of code.
- <pre>.post-title {
- margin: 0 0 5px;
- font-weight: bold;
- font-size: 38px;
- line-height: 1.2;
- and here's a line of some really, really, really, really long text, just to see how the PRE tag handles it and to find out how it overflows;
- }</pre>
- <strong>Quote Tag</strong>
- <q>Developers, developers, developers...</q> --Steve Ballmer
- <strong>Strike Tag <strong>(<em>deprecated in HTML5</em>)</strong></strong>
- This tag shows <span style="text-decoration:line-through;">strike-through text</span>
- <strong>Strong Tag</strong>
- This tag shows <strong>bold<strong> text.</strong></strong>
- <strong>Subscript Tag</strong>
- Getting our science styling on with H<sub>2</sub>O, which should push the "2" down.
- <strong>Superscript Tag</strong>
- Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
- <strong>Teletype Tag <strong>(<em>deprecated in HTML5</em>)</strong></strong>
- This rarely used tag emulates <tt>teletype text</tt>, which is usually styled like the <code><code></code> tag.
- <strong>Variable Tag</strong>
- This allows you to denote <var>variables</var>.
- [post_title] => Markup: HTML Tags and Formatting
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => markup-html-tags-and-formatting
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2013-01-11 20:22:19
- [post_modified_gmt] => 2013-01-12 03:22:19
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wptest.io/demo/?p=919
- [menu_order] => 0
- [post_type] => post
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [3] => WP_Post Object
- (
- [ID] => 1174
- [post_author] => 1
- [post_date] => 2013-01-05 11:00:20
- [post_date_gmt] => 2013-01-05 18:00:20
- [post_content] => Putting special characters in the title should have no adverse effect on the layout or functionality.
- Special characters in the post title have been known to cause issues with JavaScript when it is minified, especially in the admin when editing the post itself (ie. issues with metaboxes, media upload, etc.).
- <h2>Latin Character Tests</h2>
- This is a test to see if the fonts used in this theme support basic Latin characters.
- <table>
- <tbody>
- <tr>
- <td>!</td>
- <td>"</td>
- <td>#</td>
- <td>$</td>
- <td>%</td>
- <td>&</td>
- <td>'</td>
- <td>(</td>
- <td>)</td>
- <td>*</td>
- </tr>
- <tr>
- <td>+</td>
- <td>,</td>
- <td>-</td>
- <td>.</td>
- <td>/</td>
- <td>0</td>
- <td>1</td>
- <td>2</td>
- <td>3</td>
- <td>4</td>
- </tr>
- <tr>
- <td>5</td>
- <td>6</td>
- <td>7</td>
- <td>8</td>
- <td>9</td>
- <td>:</td>
- <td>;</td>
- <td>></td>
- <td>=</td>
- <td><</td>
- </tr>
- <tr>
- <td>?</td>
- <td>@</td>
- <td>A</td>
- <td>B</td>
- <td>C</td>
- <td>D</td>
- <td>E</td>
- <td>F</td>
- <td>G</td>
- <td>H</td>
- </tr>
- <tr>
- <td>I</td>
- <td>J</td>
- <td>K</td>
- <td>L</td>
- <td>M</td>
- <td>N</td>
- <td>O</td>
- <td>P</td>
- <td>Q</td>
- <td>R</td>
- </tr>
- <tr>
- <td>S</td>
- <td>T</td>
- <td>U</td>
- <td>V</td>
- <td>W</td>
- <td>X</td>
- <td>Y</td>
- <td>Z</td>
- <td>[</td>
- <td></td>
- </tr>
- <tr>
- <td>]</td>
- <td>^</td>
- <td>_</td>
- <td>`</td>
- <td>a</td>
- <td>b</td>
- <td>c</td>
- <td>d</td>
- <td>e</td>
- <td>f</td>
- </tr>
- <tr>
- <td>g</td>
- <td>h</td>
- <td>i</td>
- <td>j</td>
- <td>k</td>
- <td>l</td>
- <td>m</td>
- <td>n</td>
- <td>o</td>
- <td>p</td>
- </tr>
- <tr>
- <td>q</td>
- <td>r</td>
- <td>s</td>
- <td>t</td>
- <td>u</td>
- <td>v</td>
- <td>w</td>
- <td>x</td>
- <td>y</td>
- <td>z</td>
- </tr>
- <tr>
- <td>{</td>
- <td>|</td>
- <td>}</td>
- <td>~</td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- [post_title] => Markup: Title With Special Characters
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => title-with-special-characters
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2013-01-05 11:00:20
- [post_modified_gmt] => 2013-01-05 18:00:20
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wptest.io/demo/?p=867
- [menu_order] => 0
- [post_type] => post
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [4] => WP_Post Object
- (
- [ID] => 1016
- [post_author] => 1
- [post_date] => 2012-03-15 15:36:32
- [post_date_gmt] => 2012-03-15 22:36:32
- [post_content] => This post should display a <a title="Featured Images" href="http://en.support.wordpress.com/featured-images/#setting-a-featured-image" target="_blank">featured image</a>, if the theme <a title="Post Thumbnails" href="http://codex.wordpress.org/Post_Thumbnails" target="_blank">supports it</a>.
- Non-square images can provide some unique styling issues.
- This post tests a vertical featured image.
- [post_title] => Template: Featured Image (Vertical)
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => template-featured-image-vertical
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2012-03-15 15:36:32
- [post_modified_gmt] => 2012-03-15 22:36:32
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wptest.io/demo/?p=1016
- [menu_order] => 0
- [post_type] => post
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [5] => WP_Post Object
- (
- [ID] => 1011
- [post_author] => 1
- [post_date] => 2012-03-15 15:15:12
- [post_date_gmt] => 2012-03-15 22:15:12
- [post_content] => This post should display a <a title="Featured Images" href="http://en.support.wordpress.com/featured-images/#setting-a-featured-image" target="_blank">featured image</a>, if the theme <a title="Post Thumbnails" href="http://codex.wordpress.org/Post_Thumbnails" target="_blank">supports it</a>.
- Non-square images can provide some unique styling issues.
- This post tests a horizontal featured image.
- [post_title] => Template: Featured Image (Horizontal)
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => template-featured-image-horizontal
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2012-03-15 15:15:12
- [post_modified_gmt] => 2012-03-15 22:15:12
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wptest.io/demo/?p=1011
- [menu_order] => 0
- [post_type] => post
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [6] => WP_Post Object
- (
- [ID] => 1446
- [post_author] => 1
- [post_date] => 2012-03-14 09:49:22
- [post_date_gmt] => 2012-03-14 16:49:22
- [post_content] => This is the post content. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content. Depending on Theme-defined filters, the length of the auto-generated excerpt will vary from Theme-to-Theme. The default length for auto-generated excerpts is 55 words, so to test the excerpt auto-generation, this post must have more than 55 words.
- Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn't create any layout problems. Also, ensure that any filters applied to the excerpt, such as <code>excerpt_length</code> and <code>excerpt_more</code>, display properly.
- [post_title] => Template: Excerpt (Generated)
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => template-excerpt-generated
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2012-03-14 09:49:22
- [post_modified_gmt] => 2012-03-14 16:49:22
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wpthemetestdata.wordpress.com/?p=1446
- [menu_order] => 0
- [post_type] => post
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [7] => WP_Post Object
- (
- [ID] => 1148
- [post_author] => 1
- [post_date] => 2012-01-03 10:11:37
- [post_date_gmt] => 2012-01-03 17:11:37
- [post_content] => This post tests comments in the following ways.
- <ul>
- <li>Threaded comments up to 10 levels deep</li>
- <li>Paginated comments (set <em><strong>Settings > Discussion > Break comments into pages</strong></em> to <em><strong>5</strong></em> top level comments per page)</li>
- <li>Comment markup / formatting</li>
- <li>Comment images</li>
- <li>Comment videos</li>
- <li>Author comments</li>
- <li>Gravatars and default fallbacks</li>
- </ul>
- [post_title] => Template: Comments
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => open
- [ping_status] => closed
- [post_password] =>
- [post_name] => template-comments
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2012-01-03 10:11:37
- [post_modified_gmt] => 2012-01-03 17:11:37
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wpthemetestdata.wordpress.com/2007/09/04/comment-test/
- [menu_order] => 0
- [post_type] => post
- [post_mime_type] =>
- [comment_count] => 19
- [filter] => raw
- )
- [8] => WP_Post Object
- (
- [ID] => 703
- [post_author] => 1
- [post_date] => 2011-05-20 18:51:43
- [post_date_gmt] => 2011-05-21 01:51:43
- [post_content] => Use this static Page to test the Theme's handling of the Blog Posts Index page. If the site is set to display a static Page on the Front Page, and this Page is set to display the Blog Posts Index, then this text should not appear.
- [post_title] => Blog
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => open
- [ping_status] => closed
- [post_password] =>
- [post_name] => blog
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2011-05-20 18:51:43
- [post_modified_gmt] => 2011-05-21 01:51:43
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wpthemetestdata.wordpress.com/?page_id=703
- [menu_order] => 0
- [post_type] => page
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [9] => WP_Post Object
- (
- [ID] => 701
- [post_author] => 1
- [post_date] => 2011-05-20 18:49:43
- [post_date_gmt] => 2011-05-21 01:49:43
- [post_content] => Use this static Page to test the Theme's handling of the Front Page template file.
- This is the Front Page content. Use this static Page to test the Front Page output of the Theme. The Theme should properly handle both Blog Posts Index as Front Page and static Page as Front Page.
- If the site is set to display the Blog Posts Index as the Front Page, then this text should not be visible. If the site is set to display a static Page as the Front Page, then this text may or may not be visible. If the Theme does not include a front-page.php template file, then this text should appear on the Front Page when set to display a static Page. If the Theme does include a front-page.php template file, then this text may or may not appear.
- [post_title] => Front Page
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => open
- [ping_status] => closed
- [post_password] =>
- [post_name] => front-page
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2011-05-20 18:49:43
- [post_modified_gmt] => 2011-05-21 01:49:43
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wpthemetestdata.wordpress.com/?page_id=701
- [menu_order] => 0
- [post_type] => page
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- )
- [post_count] => 10
- [current_post] => -1
- [in_the_loop] =>
- [post] => WP_Post Object
- (
- [ID] => 6
- [post_author] => 1
- [post_date] => 2010-07-25 19:40:01
- [post_date_gmt] => 2010-07-26 02:40:01
- [post_content] => This site is using the standard WordPress Theme Unit Test Data for content. The Theme Unit Test is a series of posts and pages that match up with a checklist on the WordPress codex. You can use the data and checklist together to test your theme.
- <h2>WordPress Theme Development Resources</h2>
- <ol>
- <li>See <a href="http://codex.wordpress.org/Theme_Development">Theme Development</a> for <a href="http://codex.wordpress.org/Theme_Development#Code_Standards">code standards</a>, examples of best practices, and <a href="http://codex.wordpress.org/Theme_Development#Resources_and_References">resources for Theme development</a>.</li>
- <li>See <a href="http://codex.wordpress.org/Theme_Unit_Test">Theme Unit Test</a> for a robust test suite for your Theme and get the latest version of the test data you see here.</li>
- <li>See <a href="http://codex.wordpress.org/Theme_Review">Theme Review</a> for a guide to submitting your Theme to the <a href="http://wordpress.org/extend/themes/">Themes Directory</a>.</li>
- </ol>
- [post_title] => About The Tests
- [post_excerpt] =>
- [post_status] => publish
- [comment_status] => closed
- [ping_status] => closed
- [post_password] =>
- [post_name] => about
- [to_ping] =>
- [pinged] =>
- [post_modified] => 2010-07-25 19:40:01
- [post_modified_gmt] => 2010-07-26 02:40:01
- [post_content_filtered] =>
- [post_parent] => 0
- [guid] => http://wpthemetestdata.wordpress.com/about/
- [menu_order] => 1
- [post_type] => page
- [post_mime_type] =>
- [comment_count] => 0
- [filter] => raw
- )
- [comment_count] => 0
- [current_comment] => -1
- [found_posts] => 17
- [max_num_pages] => 2
- [max_num_comment_pages] => 0
- [is_single] =>
- [is_preview] =>
- [is_page] =>
- [is_archive] =>
- [is_date] =>
- [is_year] =>
- [is_month] =>
- [is_day] =>
- [is_time] =>
- [is_author] =>
- [is_category] =>
- [is_tag] =>
- [is_tax] =>
- [is_search] => 1
- [is_feed] =>
- [is_comment_feed] =>
- [is_trackback] =>
- [is_home] =>
- [is_404] =>
- [is_comments_popup] =>
- [is_paged] =>
- [is_admin] =>
- [is_attachment] =>
- [is_singular] =>
- [is_robots] =>
- [is_posts_page] =>
- [is_post_type_archive] =>
- [query_vars_hash:WP_Query:private] => e7bea16ecc49abd80924c632fde95f09
- [query_vars_changed:WP_Query:private] =>
- [thumbnails_cached] =>
- [stopwords:WP_Query:private] => Array
- (
- [0] => about
- [1] => an
- [2] => are
- [3] => as
- [4] => at
- [5] => be
- [6] => by
- [7] => com
- [8] => for
- [9] => from
- [10] => how
- [11] => in
- [12] => is
- [13] => it
- [14] => of
- [15] => on
- [16] => or
- [17] => that
- [18] => the
- [19] => this
- [20] => to
- [21] => was
- [22] => what
- [23] => when
- [24] => where
- [25] => who
- [26] => will
- [27] => with
- [28] => www
- )
- [compat_fields:WP_Query:private] => Array
- (
- [0] => query_vars_hash
- [1] => query_vars_changed
- )
- [compat_methods:WP_Query:private] => Array
- (
- [0] => init_query_flags
- [1] => parse_tax_query
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement