{"id":460,"date":"2024-02-07T07:08:45","date_gmt":"2024-02-07T07:08:45","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/how-to\/"},"modified":"2024-02-07T07:08:45","modified_gmt":"2024-02-07T07:08:45","slug":"how-to","status":"publish","type":"page","link":"http:\/\/127.0.0.1:8081\/how-to\/","title":{"rendered":"How to use the test data"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The purpose of this test data is to test block changes across WordPress versions and Gutenberg versions. It is a complement to the other <a href=\"https:\/\/github.com\/WordPress\/theme-test-data\" data-type=\"link\" data-id=\"https:\/\/github.com\/WordPress\/theme-test-data\">theme test data files<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A use case would be when you want to test the typography options of a block, and you don&#8217;t want to spend time adding the blocks and changing all the settings manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The blocks were generated using WordPress 6.4.3 with a block theme with the most permissive theme.json settings possible. All presets are the defaults: Colors, duotones, font sizes, spacing sizes, shadows, width etc.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each block has its own post, and is listed under its category: Design, Theme, Widget etc.<\/li>\n\n\n\n<li>Inner blocks such as the column, button, and comment blocks do not have their own posts.<\/li>\n\n\n\n<li>Blocks that support borders have a tag called &#8220;Border&#8221;.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Download the file, activate the WordPress importer plugin and import the file.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you want to test the Author Biography block, you need to manually add a biography to the &#8220;theme reviewer&#8221; user.<\/li>\n\n\n\n<li>If you want to test the template only blocks, such as archive title, you need to add these manually to a template.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Tips for testing<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When you use block themes with different settings and templates, or a classic theme, you may find that not everything works as you expected. This is not necessarily a bug with the block, the theme, or the test file. If you suspect that there are bugs, it will require further testing.<br><br>For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If your theme does not have a spacing preset called &#8220;7&#8221;, then spacing preset 7 will not work in your theme.<\/li>\n\n\n\n<li>If your theme does not support drop cap you will not be able to turn drop cap off and on.<\/li>\n\n\n\n<li>If the content block in your single template is not set to full width, then a full width block will not span the full width of the browser window.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s not included<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Experimental blocks\n<ul class=\"wp-block-list\">\n<li>Forms<\/li>\n\n\n\n<li>Time to read<\/li>\n\n\n\n<li>Table of contents<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Every embed block<\/li>\n\n\n\n<li>Template only blocks\n<ul class=\"wp-block-list\">\n<li>Archive and search title<\/li>\n\n\n\n<li>Term description<\/li>\n\n\n\n<li>Comment count<\/li>\n\n\n\n<li>Comments link<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What it is not intended for<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Testing font families. No font families were included in this test, only default presets were used.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Testing blocks on WordPress versions below 6.4.3<\/li>\n\n\n\n<li>Accessibility testing<\/li>\n\n\n\n<li>Testing private or scheduled posts, long titles, posts with many categories, etc.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How you can help<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can help by reporting bugs, writing documentation, requesting features and submitting updates in the GitHub repository: <a href=\"https:\/\/github.com\/WordPress\/theme-test-data\">https:\/\/github.com\/WordPress\/theme-test-data<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The purpose of this test data is to test block changes across WordPress versions and &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-460","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/pages\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":0,"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/pages\/460\/revisions"}],"wp:attachment":[{"href":"http:\/\/127.0.0.1:8081\/wp-json\/wp\/v2\/media?parent=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}