Created
July 29, 2020 07:39
-
-
Save adnan360/58af6a0b1144ea51a262a0f0a6882338 to your computer and use it in GitHub Desktop.
Test if adding subcategory adds parent category
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. --> | |
<!-- It contains information about your site's posts, pages, comments, categories, and other content. --> | |
<!-- You may use this file to transfer that content from one site to another. --> | |
<!-- This file is not intended to serve as a complete backup of your site. --> | |
<!-- To import this information into a WordPress site follow these steps: --> | |
<!-- 1. Log in to that site as an administrator. --> | |
<!-- 2. Go to Tools: Import in the WordPress admin panel. --> | |
<!-- 3. Install the "WordPress" importer from the list. --> | |
<!-- 4. Activate & Run Importer. --> | |
<!-- 5. Upload this file using the form provided on that page. --> | |
<!-- 6. You will first be asked to map the authors in this export file to users --> | |
<!-- on the site. For each author, you may choose to map to an --> | |
<!-- existing user on the site or to create a new user. --> | |
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. --> | |
<!-- contained in this file into your site. --> | |
<!-- generator="WordPress/5.4.2" created="2020-07-29 07:34" --> | |
<rss version="2.0" | |
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:wfw="http://wellformedweb.org/CommentAPI/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:wp="http://wordpress.org/export/1.2/" | |
> | |
<channel> | |
<title>Hexo Test</title> | |
<link>http://localhost/wp-hexotest</link> | |
<description>Just another WordPress site</description> | |
<pubDate>Wed, 29 Jul 2020 07:34:42 +0000</pubDate> | |
<language>en-US</language> | |
<wp:wxr_version>1.2</wp:wxr_version> | |
<wp:base_site_url>http://localhost/wp-hexotest</wp:base_site_url> | |
<wp:base_blog_url>http://localhost/wp-hexotest</wp:base_blog_url> | |
<wp:author><wp:author_id>1</wp:author_id><wp:author_login><![CDATA[admin]]></wp:author_login><wp:author_email><![CDATA[[email protected]]]></wp:author_email><wp:author_display_name><![CDATA[admin]]></wp:author_display_name><wp:author_first_name><![CDATA[]]></wp:author_first_name><wp:author_last_name><![CDATA[]]></wp:author_last_name></wp:author> | |
<wp:category> | |
<wp:term_id>2</wp:term_id> | |
<wp:category_nicename><![CDATA[test-category-1]]></wp:category_nicename> | |
<wp:category_parent><![CDATA[]]></wp:category_parent> | |
<wp:cat_name><![CDATA[Test Category 1]]></wp:cat_name> | |
</wp:category> | |
<wp:category> | |
<wp:term_id>5</wp:term_id> | |
<wp:category_nicename><![CDATA[test-category-2]]></wp:category_nicename> | |
<wp:category_parent><![CDATA[]]></wp:category_parent> | |
<wp:cat_name><![CDATA[Test Category 2]]></wp:cat_name> | |
</wp:category> | |
<wp:category> | |
<wp:term_id>6</wp:term_id> | |
<wp:category_nicename><![CDATA[test-category-3]]></wp:category_nicename> | |
<wp:category_parent><![CDATA[]]></wp:category_parent> | |
<wp:cat_name><![CDATA[Test Category 3]]></wp:cat_name> | |
</wp:category> | |
<wp:category> | |
<wp:term_id>3</wp:term_id> | |
<wp:category_nicename><![CDATA[test-subcategory-1]]></wp:category_nicename> | |
<wp:category_parent><![CDATA[test-category-1]]></wp:category_parent> | |
<wp:cat_name><![CDATA[Test Subcategory 1]]></wp:cat_name> | |
</wp:category> | |
<wp:category> | |
<wp:term_id>4</wp:term_id> | |
<wp:category_nicename><![CDATA[test-subcategory-2]]></wp:category_nicename> | |
<wp:category_parent><![CDATA[test-category-1]]></wp:category_parent> | |
<wp:cat_name><![CDATA[Test Subcategory 2]]></wp:cat_name> | |
</wp:category> | |
<wp:category> | |
<wp:term_id>1</wp:term_id> | |
<wp:category_nicename><![CDATA[uncategorized]]></wp:category_nicename> | |
<wp:category_parent><![CDATA[]]></wp:category_parent> | |
<wp:cat_name><![CDATA[Uncategorized]]></wp:cat_name> | |
</wp:category> | |
<wp:tag> | |
<wp:term_id>7</wp:term_id> | |
<wp:tag_slug><![CDATA[test-tag-1]]></wp:tag_slug> | |
<wp:tag_name><![CDATA[Test tag 1]]></wp:tag_name> | |
</wp:tag> | |
<wp:tag> | |
<wp:term_id>8</wp:term_id> | |
<wp:tag_slug><![CDATA[test-tag-2]]></wp:tag_slug> | |
<wp:tag_name><![CDATA[Test tag 2]]></wp:tag_name> | |
</wp:tag> | |
<wp:tag> | |
<wp:term_id>9</wp:term_id> | |
<wp:tag_slug><![CDATA[test-tag-3]]></wp:tag_slug> | |
<wp:tag_name><![CDATA[Test tag 3]]></wp:tag_name> | |
</wp:tag> | |
<wp:term> | |
<wp:term_id><![CDATA[2]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-category-1]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test Category 1]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[5]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-category-2]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test Category 2]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[6]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-category-3]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test Category 3]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[3]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-subcategory-1]]></wp:term_slug> | |
<wp:term_parent><![CDATA[test-category-1]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test Subcategory 1]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[4]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-subcategory-2]]></wp:term_slug> | |
<wp:term_parent><![CDATA[test-category-1]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test Subcategory 2]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[7]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[post_tag]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-tag-1]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test tag 1]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[8]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[post_tag]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-tag-2]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test tag 2]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[9]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[post_tag]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[test-tag-3]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Test tag 3]]></wp:term_name> | |
</wp:term> | |
<wp:term> | |
<wp:term_id><![CDATA[1]]></wp:term_id> | |
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy> | |
<wp:term_slug><![CDATA[uncategorized]]></wp:term_slug> | |
<wp:term_parent><![CDATA[]]></wp:term_parent> | |
<wp:term_name><![CDATA[Uncategorized]]></wp:term_name> | |
</wp:term> | |
<generator>https://wordpress.org/?v=5.4.2</generator> | |
<item> | |
<title>Sample Page</title> | |
<link>http://localhost/wp-hexotest/sample-page/</link> | |
<pubDate>Sat, 04 Jul 2020 16:11:01 +0000</pubDate> | |
<dc:creator><![CDATA[admin]]></dc:creator> | |
<guid isPermaLink="false">http://localhost/wp-hexotest/?page_id=2</guid> | |
<description></description> | |
<content:encoded><![CDATA[<!-- wp:paragraph --> | |
<p>This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin' caught in the rain.)</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>...or something like this:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</p></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>As a new WordPress user, you should go to <a href="http://localhost/wp-hexotest/wp-admin/">your dashboard</a> to delete this page and create new pages for your content. Have fun!</p> | |
<!-- /wp:paragraph -->]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>2</wp:post_id> | |
<wp:post_date><![CDATA[2020-07-04 16:11:01]]></wp:post_date> | |
<wp:post_date_gmt><![CDATA[2020-07-04 16:11:01]]></wp:post_date_gmt> | |
<wp:comment_status><![CDATA[closed]]></wp:comment_status> | |
<wp:ping_status><![CDATA[open]]></wp:ping_status> | |
<wp:post_name><![CDATA[sample-page]]></wp:post_name> | |
<wp:status><![CDATA[publish]]></wp:status> | |
<wp:post_parent>0</wp:post_parent> | |
<wp:menu_order>0</wp:menu_order> | |
<wp:post_type><![CDATA[page]]></wp:post_type> | |
<wp:post_password><![CDATA[]]></wp:post_password> | |
<wp:is_sticky>0</wp:is_sticky> | |
<wp:postmeta> | |
<wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key> | |
<wp:meta_value><![CDATA[default]]></wp:meta_value> | |
</wp:postmeta> | |
</item> | |
<item> | |
<title>Privacy Policy</title> | |
<link>http://localhost/wp-hexotest/?page_id=3</link> | |
<pubDate>Sat, 04 Jul 2020 16:11:01 +0000</pubDate> | |
<dc:creator><![CDATA[admin]]></dc:creator> | |
<guid isPermaLink="false">http://localhost/wp-hexotest/?page_id=3</guid> | |
<description></description> | |
<content:encoded><![CDATA[<!-- wp:heading --><h2>Who we are</h2><!-- /wp:heading --><!-- wp:paragraph --><p>Our website address is: http://localhost/wp-hexotest.</p><!-- /wp:paragraph --><!-- wp:heading --><h2>What personal data we collect and why we collect it</h2><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>Comments</h3><!-- /wp:heading --><!-- wp:paragraph --><p>When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.</p><!-- /wp:paragraph --><!-- wp:heading {"level":3} --><h3>Media</h3><!-- /wp:heading --><!-- wp:paragraph --><p>If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.</p><!-- /wp:paragraph --><!-- wp:heading {"level":3} --><h3>Contact forms</h3><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>Cookies</h3><!-- /wp:heading --><!-- wp:paragraph --><p>If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.</p><!-- /wp:paragraph --><!-- wp:heading {"level":3} --><h3>Embedded content from other websites</h3><!-- /wp:heading --><!-- wp:paragraph --><p>Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.</p><!-- /wp:paragraph --><!-- wp:heading {"level":3} --><h3>Analytics</h3><!-- /wp:heading --><!-- wp:heading --><h2>Who we share your data with</h2><!-- /wp:heading --><!-- wp:heading --><h2>How long we retain your data</h2><!-- /wp:heading --><!-- wp:paragraph --><p>If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.</p><!-- /wp:paragraph --><!-- wp:heading --><h2>What rights you have over your data</h2><!-- /wp:heading --><!-- wp:paragraph --><p>If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.</p><!-- /wp:paragraph --><!-- wp:heading --><h2>Where we send your data</h2><!-- /wp:heading --><!-- wp:paragraph --><p>Visitor comments may be checked through an automated spam detection service.</p><!-- /wp:paragraph --><!-- wp:heading --><h2>Your contact information</h2><!-- /wp:heading --><!-- wp:heading --><h2>Additional information</h2><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>How we protect your data</h3><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>What data breach procedures we have in place</h3><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>What third parties we receive data from</h3><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>What automated decision making and/or profiling we do with user data</h3><!-- /wp:heading --><!-- wp:heading {"level":3} --><h3>Industry regulatory disclosure requirements</h3><!-- /wp:heading -->]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>3</wp:post_id> | |
<wp:post_date><![CDATA[2020-07-04 16:11:01]]></wp:post_date> | |
<wp:post_date_gmt><![CDATA[2020-07-04 16:11:01]]></wp:post_date_gmt> | |
<wp:comment_status><![CDATA[closed]]></wp:comment_status> | |
<wp:ping_status><![CDATA[open]]></wp:ping_status> | |
<wp:post_name><![CDATA[privacy-policy]]></wp:post_name> | |
<wp:status><![CDATA[draft]]></wp:status> | |
<wp:post_parent>0</wp:post_parent> | |
<wp:menu_order>0</wp:menu_order> | |
<wp:post_type><![CDATA[page]]></wp:post_type> | |
<wp:post_password><![CDATA[]]></wp:post_password> | |
<wp:is_sticky>0</wp:is_sticky> | |
<wp:postmeta> | |
<wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key> | |
<wp:meta_value><![CDATA[default]]></wp:meta_value> | |
</wp:postmeta> | |
</item> | |
<item> | |
<title>Post with Image</title> | |
<link>http://localhost/wp-hexotest/2020/07/04/post-with-image/</link> | |
<pubDate>Sat, 04 Jul 2020 16:32:29 +0000</pubDate> | |
<dc:creator><![CDATA[admin]]></dc:creator> | |
<guid isPermaLink="false">http://localhost/wp-hexotest/?p=5</guid> | |
<description></description> | |
<content:encoded><![CDATA[<!-- wp:paragraph --> | |
<p>This is a post edited with WP's modern editor, Gutenberg. This text is before the more tag.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:more --> | |
<!--more--> | |
<!-- /wp:more --> | |
<!-- wp:paragraph --> | |
<p>This text is after the more tag. This is an <code>inline code</code> example on modern Gutenberg editor.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Justo nec ultrices dui sapien. Mi quis hendrerit dolor magna. Eget mauris pharetra et ultrices neque ornare aenean. Sit amet consectetur adipiscing elit pellentesque habitant morbi tristique senectus. Maecenas volutpat blandit aliquam etiam. Justo donec enim diam vulputate ut pharetra sit. Ultrices sagittis orci a scelerisque purus semper. Egestas sed tempus urna et pharetra pharetra massa massa ultricies. Erat imperdiet sed euismod nisi porta lorem mollis. Volutpat est velit egestas dui id ornare. Ac placerat vestibulum lectus mauris ultrices eros. Vel elit scelerisque mauris pellentesque pulvinar pellentesque. Velit sed ullamcorper morbi tincidunt ornare massa eget egestas.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"sizeSlug":"large"} --> | |
<figure class="wp-block-image size-large"><img src="https://i.imgur.com/ScN4xPM.jpg" alt=""/></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Dui faucibus in ornare quam viverra orci sagittis eu. Suspendisse ultrices gravida dictum fusce ut. Diam quam nulla porttitor massa id neque aliquam vestibulum morbi. Integer quis auctor elit sed vulputate mi sit. Etiam erat velit scelerisque in dictum non consectetur. Quis hendrerit dolor magna eget est lorem ipsum. Gravida rutrum quisque non tellus orci ac. Sed augue lacus viverra vitae congue eu consequat ac felis. Adipiscing elit duis tristique sollicitudin nibh sit amet. Diam sit amet nisl suscipit adipiscing bibendum est ultricies. Fringilla urna porttitor rhoncus dolor purus. Adipiscing elit pellentesque habitant morbi tristique senectus. In aliquam sem fringilla ut morbi. Cursus mattis molestie a iaculis at erat pellentesque adipiscing commodo. Pellentesque nec nam aliquam sem et tortor consequat.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:image {"id":11,"sizeSlug":"large"} --> | |
<figure class="wp-block-image size-large"><img src="http://localhost/wp-hexotest/wp-content/uploads/2020/07/greens-4926370_640.jpg" alt="" class="wp-image-11"/><figcaption>Test caption</figcaption></figure> | |
<!-- /wp:image --> | |
<!-- wp:paragraph --> | |
<p>Ut venenatis tellus in metus. Laoreet id donec ultrices tincidunt arcu non sodales. Ut venenatis tellus in metus vulputate eu. In nisl nisi scelerisque eu. In mollis nunc sed id semper risus in hendrerit. Ultrices dui sapien eget mi. Convallis tellus id interdum velit laoreet. Maecenas sed enim ut sem viverra aliquet eget sit amet. Volutpat ac tincidunt vitae semper quis lectus nulla at volutpat. Sed risus ultricies tristique nulla aliquet enim tortor at auctor. Interdum consectetur libero id faucibus nisl tincidunt eget. Dignissim convallis aenean et tortor at risus viverra adipiscing at. Malesuada fames ac turpis egestas. Pretium nibh ipsum consequat nisl vel pretium lectus. At tempor commodo ullamcorper a lacus vestibulum sed. Fermentum posuere urna nec tincidunt praesent semper.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>Pellentesque elit ullamcorper dignissim cras tincidunt. Vulputate ut pharetra sit amet. Suscipit tellus mauris a diam maecenas sed enim ut. Ac placerat vestibulum lectus mauris. Eget velit aliquet sagittis id consectetur purus. Iaculis nunc sed augue lacus. Ultricies lacus sed turpis tincidunt id aliquet risus. Adipiscing commodo elit at imperdiet dui accumsan sit amet. Tincidunt arcu non sodales neque sodales ut etiam. Porta nibh venenatis cras sed felis eget velit. Quis enim lobortis scelerisque fermentum dui faucibus. Vitae turpis massa sed elementum.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p>This is an example of a block quote on modern editor Gutenberg:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:quote --> | |
<blockquote class="wp-block-quote"><p>Life is what happens when you're busy making other plans.</p><cite>John Lennon</cite></blockquote> | |
<!-- /wp:quote --> | |
<!-- wp:paragraph --> | |
<p>This is an example of code block inserted in modern editor Gutenberg:</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:code --> | |
<pre class="wp-block-code"><code>#!/bin/sh | |
echo "test"</code></pre> | |
<!-- /wp:code --> | |
<!-- wp:paragraph --> | |
<p>Massa tincidunt nunc pulvinar sapien et. Lectus vestibulum mattis ullamcorper velit sed ullamcorper morbi. Vitae congue eu consequat ac felis donec. Vitae congue mauris rhoncus aenean vel elit scelerisque mauris. Tortor pretium viverra suspendisse potenti nullam. Lectus arcu bibendum at varius. Sagittis id consectetur purus ut faucibus pulvinar elementum integer. Amet venenatis urna cursus eget nunc scelerisque viverra mauris. Risus commodo viverra maecenas accumsan lacus vel. Purus viverra accumsan in nisl. Vivamus arcu felis bibendum ut tristique et. Arcu odio ut sem nulla pharetra diam sit. Aliquet eget sit amet tellus. Facilisis magna etiam tempor orci eu lobortis. Sagittis orci a scelerisque purus semper eget duis. Tellus elementum sagittis vitae et. Ullamcorper eget nulla facilisi etiam dignissim. Vitae justo eget magna fermentum iaculis eu non diam. Est ullamcorper eget nulla facilisi etiam dignissim diam. Sed risus pretium quam vulputate.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph --> | |
<p></p> | |
<!-- /wp:paragraph -->]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>5</wp:post_id> | |
<wp:post_date><![CDATA[2020-07-04 16:32:29]]></wp:post_date> | |
<wp:post_date_gmt><![CDATA[2020-07-04 16:32:29]]></wp:post_date_gmt> | |
<wp:comment_status><![CDATA[open]]></wp:comment_status> | |
<wp:ping_status><![CDATA[open]]></wp:ping_status> | |
<wp:post_name><![CDATA[post-with-image]]></wp:post_name> | |
<wp:status><![CDATA[publish]]></wp:status> | |
<wp:post_parent>0</wp:post_parent> | |
<wp:menu_order>0</wp:menu_order> | |
<wp:post_type><![CDATA[post]]></wp:post_type> | |
<wp:post_password><![CDATA[]]></wp:post_password> | |
<wp:is_sticky>0</wp:is_sticky> | |
<category domain="category" nicename="test-category-1"><![CDATA[Test Category 1]]></category> | |
<category domain="category" nicename="test-category-2"><![CDATA[Test Category 2]]></category> | |
<category domain="category" nicename="test-category-3"><![CDATA[Test Category 3]]></category> | |
<category domain="category" nicename="test-subcategory-1"><![CDATA[Test Subcategory 1]]></category> | |
<category domain="category" nicename="test-subcategory-2"><![CDATA[Test Subcategory 2]]></category> | |
<category domain="post_tag" nicename="test-tag-1"><![CDATA[Test tag 1]]></category> | |
<category domain="post_tag" nicename="test-tag-2"><![CDATA[Test tag 2]]></category> | |
<category domain="post_tag" nicename="test-tag-3"><![CDATA[Test tag 3]]></category> | |
</item> | |
<item> | |
<title>Post with Image (Classic Editor)</title> | |
<link>http://localhost/wp-hexotest/2020/07/04/post-with-image-classic-editor/</link> | |
<pubDate>Sat, 04 Jul 2020 16:38:10 +0000</pubDate> | |
<dc:creator><![CDATA[admin]]></dc:creator> | |
<guid isPermaLink="false">http://localhost/wp-hexotest/?p=8</guid> | |
<description></description> | |
<content:encoded><![CDATA[This is a post written in classic WP editor. So this is the excerpt before more tag.<!--more--> | |
This is the post body after more tag. This is an <code>inline code</code> example on the classic editor. | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Justo nec ultrices dui sapien. Mi quis hendrerit dolor magna. Eget mauris pharetra et ultrices neque ornare aenean. Sit amet consectetur adipiscing elit pellentesque habitant morbi tristique senectus. Maecenas volutpat blandit aliquam etiam. Justo donec enim diam vulputate ut pharetra sit. Ultrices sagittis orci a scelerisque purus semper. Egestas sed tempus urna et pharetra pharetra massa massa ultricies. Erat imperdiet sed euismod nisi porta lorem mollis. Volutpat est velit egestas dui id ornare. Ac placerat vestibulum lectus mauris ultrices eros. Vel elit scelerisque mauris pellentesque pulvinar pellentesque. Velit sed ullamcorper morbi tincidunt ornare massa eget egestas. | |
<img class="alignnone size-medium" src="https://i.imgur.com/ScN4xPM.jpg" alt="Cat" width="600" height="600" /> | |
Dui faucibus in ornare quam viverra orci sagittis eu. Suspendisse ultrices gravida dictum fusce ut. Diam quam nulla porttitor massa id neque aliquam vestibulum morbi. Integer quis auctor elit sed vulputate mi sit. Etiam erat velit scelerisque in dictum non consectetur. Quis hendrerit dolor magna eget est lorem ipsum. Gravida rutrum quisque non tellus orci ac. Sed augue lacus viverra vitae congue eu consequat ac felis. Adipiscing elit duis tristique sollicitudin nibh sit amet. Diam sit amet nisl suscipit adipiscing bibendum est ultricies. Fringilla urna porttitor rhoncus dolor purus. Adipiscing elit pellentesque habitant morbi tristique senectus. In aliquam sem fringilla ut morbi. Cursus mattis molestie a iaculis at erat pellentesque adipiscing commodo. Pellentesque nec nam aliquam sem et tortor consequat. | |
<img class="alignnone size-medium wp-image-11" src="http://localhost/wp-hexotest/wp-content/uploads/2020/07/greens-4926370_640-300x200.jpg" alt="" width="300" height="200" /> | |
Ut venenatis tellus in metus. Laoreet id donec ultrices tincidunt arcu non sodales. Ut venenatis tellus in metus vulputate eu. In nisl nisi scelerisque eu. In mollis nunc sed id semper risus in hendrerit. Ultrices dui sapien eget mi. Convallis tellus id interdum velit laoreet. Maecenas sed enim ut sem viverra aliquet eget sit amet. Volutpat ac tincidunt vitae semper quis lectus nulla at volutpat. Sed risus ultricies tristique nulla aliquet enim tortor at auctor. Interdum consectetur libero id faucibus nisl tincidunt eget. Dignissim convallis aenean et tortor at risus viverra adipiscing at. Malesuada fames ac turpis egestas. Pretium nibh ipsum consequat nisl vel pretium lectus. At tempor commodo ullamcorper a lacus vestibulum sed. Fermentum posuere urna nec tincidunt praesent semper. | |
Pellentesque elit ullamcorper dignissim cras tincidunt. Vulputate ut pharetra sit amet. Suscipit tellus mauris a diam maecenas sed enim ut. Ac placerat vestibulum lectus mauris. Eget velit aliquet sagittis id consectetur purus. Iaculis nunc sed augue lacus. Ultricies lacus sed turpis tincidunt id aliquet risus. Adipiscing commodo elit at imperdiet dui accumsan sit amet. Tincidunt arcu non sodales neque sodales ut etiam. Porta nibh venenatis cras sed felis eget velit. Quis enim lobortis scelerisque fermentum dui faucibus. Vitae turpis massa sed elementum. | |
This is an example of block quote on classic editor: | |
<blockquote>Life is what happens when you're busy making other plans.</blockquote> | |
This is an example of a code block inserted in the "Text" mode of classic editor (used pre tag to manually type in): | |
<pre>#!/bin/sh | |
echo "test" | |
</pre> | |
Massa tincidunt nunc pulvinar sapien et. Lectus vestibulum mattis ullamcorper velit sed ullamcorper morbi. Vitae congue eu consequat ac felis donec. Vitae congue mauris rhoncus aenean vel elit scelerisque mauris. Tortor pretium viverra suspendisse potenti nullam. Lectus arcu bibendum at varius. Sagittis id consectetur purus ut faucibus pulvinar elementum integer. Amet venenatis urna cursus eget nunc scelerisque viverra mauris. Risus commodo viverra maecenas accumsan lacus vel. Purus viverra accumsan in nisl. Vivamus arcu felis bibendum ut tristique et. Arcu odio ut sem nulla pharetra diam sit. Aliquet eget sit amet tellus. Facilisis magna etiam tempor orci eu lobortis. Sagittis orci a scelerisque purus semper eget duis. Tellus elementum sagittis vitae et. Ullamcorper eget nulla facilisi etiam dignissim. Vitae justo eget magna fermentum iaculis eu non diam. Est ullamcorper eget nulla facilisi etiam dignissim diam. Sed risus pretium quam vulputate.]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>8</wp:post_id> | |
<wp:post_date><![CDATA[2020-07-04 16:38:10]]></wp:post_date> | |
<wp:post_date_gmt><![CDATA[2020-07-04 16:38:10]]></wp:post_date_gmt> | |
<wp:comment_status><![CDATA[open]]></wp:comment_status> | |
<wp:ping_status><![CDATA[open]]></wp:ping_status> | |
<wp:post_name><![CDATA[post-with-image-classic-editor]]></wp:post_name> | |
<wp:status><![CDATA[publish]]></wp:status> | |
<wp:post_parent>0</wp:post_parent> | |
<wp:menu_order>0</wp:menu_order> | |
<wp:post_type><![CDATA[post]]></wp:post_type> | |
<wp:post_password><![CDATA[]]></wp:post_password> | |
<wp:is_sticky>0</wp:is_sticky> | |
<category domain="category" nicename="uncategorized"><![CDATA[Uncategorized]]></category> | |
<wp:postmeta> | |
<wp:meta_key><![CDATA[_edit_last]]></wp:meta_key> | |
<wp:meta_value><![CDATA[1]]></wp:meta_value> | |
</wp:postmeta> | |
<wp:postmeta> | |
<wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key> | |
<wp:meta_value><![CDATA[default]]></wp:meta_value> | |
</wp:postmeta> | |
</item> | |
<item> | |
<title>greens-4926370_640</title> | |
<link>http://localhost/wp-hexotest/2020/07/04/post-with-image-classic-editor/greens-4926370_640/</link> | |
<pubDate>Sat, 04 Jul 2020 16:35:52 +0000</pubDate> | |
<dc:creator><![CDATA[admin]]></dc:creator> | |
<guid isPermaLink="false">http://localhost/wp-hexotest/wp-content/uploads/2020/07/greens-4926370_640.jpg</guid> | |
<description></description> | |
<content:encoded><![CDATA[]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>11</wp:post_id> | |
<wp:post_date><![CDATA[2020-07-04 16:35:52]]></wp:post_date> | |
<wp:post_date_gmt><![CDATA[2020-07-04 16:35:52]]></wp:post_date_gmt> | |
<wp:comment_status><![CDATA[open]]></wp:comment_status> | |
<wp:ping_status><![CDATA[closed]]></wp:ping_status> | |
<wp:post_name><![CDATA[greens-4926370_640]]></wp:post_name> | |
<wp:status><![CDATA[inherit]]></wp:status> | |
<wp:post_parent>8</wp:post_parent> | |
<wp:menu_order>0</wp:menu_order> | |
<wp:post_type><![CDATA[attachment]]></wp:post_type> | |
<wp:post_password><![CDATA[]]></wp:post_password> | |
<wp:is_sticky>0</wp:is_sticky> | |
<wp:attachment_url><![CDATA[http://localhost/wp-hexotest/wp-content/uploads/2020/07/greens-4926370_640.jpg]]></wp:attachment_url> | |
<wp:postmeta> | |
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key> | |
<wp:meta_value><![CDATA[2020/07/greens-4926370_640.jpg]]></wp:meta_value> | |
</wp:postmeta> | |
<wp:postmeta> | |
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key> | |
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:640;s:6:"height";i:427;s:4:"file";s:30:"2020/07/greens-4926370_640.jpg";s:5:"sizes";a:2:{s:6:"medium";a:4:{s:4:"file";s:30:"greens-4926370_640-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:30:"greens-4926370_640-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value> | |
</wp:postmeta> | |
</item> | |
<item> | |
<title>Test Post</title> | |
<link>http://localhost/wp-hexotest/2020/07/29/test-post/</link> | |
<pubDate>Wed, 29 Jul 2020 07:34:30 +0000</pubDate> | |
<dc:creator><![CDATA[admin]]></dc:creator> | |
<guid isPermaLink="false">http://localhost/wp-hexotest/?p=19</guid> | |
<description></description> | |
<content:encoded><![CDATA[<!-- wp:paragraph --> | |
<p>Test post short description.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:more --> | |
<!--more--> | |
<!-- /wp:more --> | |
<!-- wp:paragraph --> | |
<p>Test post body.</p> | |
<!-- /wp:paragraph -->]]></content:encoded> | |
<excerpt:encoded><![CDATA[]]></excerpt:encoded> | |
<wp:post_id>19</wp:post_id> | |
<wp:post_date><![CDATA[2020-07-29 07:34:30]]></wp:post_date> | |
<wp:post_date_gmt><![CDATA[2020-07-29 07:34:30]]></wp:post_date_gmt> | |
<wp:comment_status><![CDATA[open]]></wp:comment_status> | |
<wp:ping_status><![CDATA[open]]></wp:ping_status> | |
<wp:post_name><![CDATA[test-post]]></wp:post_name> | |
<wp:status><![CDATA[publish]]></wp:status> | |
<wp:post_parent>0</wp:post_parent> | |
<wp:menu_order>0</wp:menu_order> | |
<wp:post_type><![CDATA[post]]></wp:post_type> | |
<wp:post_password><![CDATA[]]></wp:post_password> | |
<wp:is_sticky>0</wp:is_sticky> | |
<category domain="category" nicename="test-subcategory-2"><![CDATA[Test Subcategory 2]]></category> | |
</item> | |
</channel> | |
</rss> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment