{"id":6702,"date":"2022-07-17T16:39:32","date_gmt":"2022-07-17T07:39:32","guid":{"rendered":"https:\/\/the-world-star.com\/?p=6702"},"modified":"2026-11-21T11:44:45","modified_gmt":"2026-11-21T02:44:45","slug":"how-to-show-only-same-category-posts-in-recent-posts-on-wordpress","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/server\/how-to-show-only-same-category-posts-in-recent-posts-on-wordpress-6702\/","title":{"rendered":"How to Show Only Same-Category Posts in \"Recent Posts\" on WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Continuing from my last post, I&#039;ve been exploring how to prevent the &quot;Recent Posts&quot; widget from displaying unrelated content that readers aren&#039;t interested in. There was nothing useful when I googled it, so I decided to analyze it myself. If successful, I&#039;ll put the conclusion right at the beginning. This is for the Lightning theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion: Modify the Lightning Theme&#039;s PHP Code in sidebar-contents-post.php<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, for those who don&#039;t care about the process, here is the brief conclusion.<br>Here is how to make the &quot;Recent Posts&quot; section in the sidebar of a single post page in Lightning display only items from the same category as that post. By the way, this also restricts the sidebar on category archive pages to that same category.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The file is located at:<br><span style=\"font-size: revert; color: initial;\">\/var\/www\/html\/wp-content\/themes\/lightning\/_g3\/template-parts\/sidebar-contents-post.php<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Modifying the Code to Filter by the Same Category as the Current Article<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><span data-color=\"#f78da7\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\" class=\"vk_highlighter\">\/same category\u306e\u305f\u3081\u65b0\u898f\u5909\u6570\u3092\u8ffd\u52a0\u3059\u308b\n$cats   = get_the_category(); \/\/category\u306f\u914d\u5217\u3067\u5165\u308b\n$cat_id = $cats&#91;0]-&gt;term_id;  \/\/\u4e00\u3064\u76ee\u306ecategory ID<\/span><span data-color=\"#ff6bb2\" style=\"background: linear-gradient(transparent 60%,rgba(255, 107, 178, 0.7) 0);\" class=\"vk_highlighter\">\n<\/span>\n<span data-color=\"#fcfa69\" style=\"background: linear-gradient(transparent 60%,rgba(252, 250, 105, 0.7) 0);\" class=\"vk_highlighter\">\/\/test\n\/\/echo $cat_id; echo ':';echo($cats&#91;0]-&gt;name);echo '&lt;\/p&gt;';\n\/\/var_dump($cats&#91;0]);echo '&lt;\/p&gt;';\n\/\/var_dump(get_the_category()&#91;0]);echo '&lt;\/p&gt;';\/\/\u7d9a\u3051\u3066\u304b\u3044\u3066\u3082\u3088\u3057<\/span>\n\n$post_loop = new WP_Query(\n\tarray(\n\t\t'post_type'              =&gt; 'post',\n<span data-color=\"#f78da7\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\" class=\"vk_highlighter\">\t        'cat'                    =&gt; $cat_id,\/\/add for restruct same category<\/span>\n\t\t'posts_per_page'         =&gt; 10,\n\t\t'no_found_rows'          =&gt; true,\n\t\t'update_post_meta_cache' =&gt; false,\n\t\t'update_post_term_cache' =&gt; false,\n\t)\n);\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You will need to add the code where I&#039;ve highlighted the pink fluorescent line.<br><\/p>\n\n\n<ul class=\"wp-block-list\">\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Later on, I also explain how to rewrite &quot;Recent Posts&quot; to &quot;Recent Posts in [Category Name]&quot;, so make sure to read until the end.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">First Steps: Exploring around lightning\/_g3 based on insights from the previous article.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This file looks suspicious:<br>\/var\/www\/html\/wp-content\/themes\/lightning\/_g3\/template-parts\/sidebar-contents-post.php<br>The filename suggests it handles &quot;sidebar content for posts&quot;.<br>This is our entry point.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> * \u6295\u7a3f\u30bf\u30a4\u30d7 post \u7528\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u3067\u3059\u3002\n * \u3057\u304b\u3057\u3001\u30b5\u30a4\u30c8\u30d0\u30fc\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30a8\u30ea\u30a2\uff08\u6295\u7a3f\uff09\u306b\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u304b\u30d6\u30ed\u30c3\u30af\u304c\u914d\u7f6e\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\n * \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u8aad\u307f\u8fbc\u307e\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">There is a comment like the above at the beginning. Initially, I wondered if I could handle this through the Lightning browser settings and stumbled upon the sidebar widget settings. However, I couldn&#039;t figure out how to use it at all. It seems that if you specify certain options, this processing gets disabled.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$post_loop = new WP_Query(\n\tarray(\n\t\t'post_type'              =&gt; 'post',\n\t\t'posts_per_page'         =&gt; 10,\n\t\t'no_found_rows'          =&gt; true,\n\t\t'update_post_meta_cache' =&gt; false,\n\t\t'update_post_term_cache' =&gt; false,\n\t)\n);\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This part handles the settings. Since it&#039;s passed as an argument to the while loop, it must be the loop condition. If it displays 10 posts and you want fewer, you apparently change the number here. I tried changing this number to 5 and reloaded the article, and the change was applied immediately. There&#039;s no doubt this is the right entrance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next up is...<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php if ( $post_loop-&gt;have_posts() ) : ?&gt;\n&lt;aside class=\"widget widget_media\"&gt;\n&lt;h4 class=\"sub-section-title\"&gt;&lt;?php echo __( 'Recent posts', 'lightning' ); ?&gt;&lt;\/h4&gt;\n&lt;div class=\"vk_posts\"&gt;\n\t&lt;?php\n\twhile ( $post_loop-&gt;have_posts() ) :\n\t\t$post_loop-&gt;the_post();\n\n\t\t$options = array(\n\t\t\t'layout'                     =&gt; 'media', \/\/ card , card-horizontal , media\n\t\t\t'display_image'              =&gt; true,\n\t\t\t'display_image_overlay_term' =&gt; true,\n                   \u301c\u7565\u301c\n\t\t);\n\t\twp_kses_post( VK_Component_Posts::the_view( $post, $options ) );\n\nendwhile;\n\t?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It looks like a function definition. Looking inside, it feels like it loops for as many posts as there are. Since it says `php echo __( &#039;Recent posts&#039;`, this must be it. How does localization work, anyway? It seems to rely on an English-Japanese lookup table in `lightning-ja.po`.<br>It probably loops through the available posts and displays them using `wp_kses_post( VK_Component_Posts::the_view( $post, $options ) );`.<br>Should we insert a conditional check around here to see if it matches the current article? Unlike the previous article, it doesn&#039;t seem as simple as just toggling a standard function on or off.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Key is WP_Query()<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Looking up WP_Query, it has all sorts of features, and you can specify various conditions specifically for post loops.<br><a rel=\"noreferrer noopener\" href=\"https:\/\/wpdocs.osdn.jp\/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9\/WP_Query\" data-type=\"URL\" data-id=\"https:\/\/wpdocs.osdn.jp\/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9\/WP_Query\" target=\"_blank\">https:\/\/wpdocs.osdn.jp\/%E9%96%A2%E6%95%B0%E3%83%AC%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9\/WP_Query<\/a><br>Vibe-wise, it would be great if we could just specify the &quot;category&quot; in the parameter settings we saw earlier.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The &quot;Category Parameters&quot; section on this site looks like a good hint.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u3042\u308b\u30ab\u30c6\u30b4\u30ea\u30fc\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u6295\u7a3f\u3092\u8868\u793a\u3059\u308b\u3002<br><strong>cat<\/strong>&nbsp;(<em>\u6574\u6570<\/em>) - \u30ab\u30c6\u30b4\u30ea\u30fc ID \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br><strong>category_name<\/strong>&nbsp;(<em>\u6587\u5b57\u5217<\/em>) - \u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u30b9\u30e9\u30c3\u30b0\uff08\u30ab\u30c6\u30b4\u30ea\u540d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br><strong>category__and<\/strong>&nbsp;(<em>\u914d\u5217<\/em>) - \u30ab\u30c6\u30b4\u30ea\u30fc ID \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br><strong>category__in<\/strong>&nbsp;(<em>\u914d\u5217<\/em>) - \u30ab\u30c6\u30b4\u30ea\u30fc ID \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br><strong>category__not_in<\/strong>&nbsp;(<em>\u914d\u5217<\/em>) - \u30ab\u30c6\u30b4\u30ea\u30fc ID \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p><cite>https:\/\/wpdocs.osdn.jp\/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9\/WP_Query<\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">I see, I see. If we are setting category parameters statically, using category slugs seems like an easy way to limit them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also specify multiple categories by listing them separated by commas.<br>$query = new WP_Query( &#039;category_name=fishing,camp&#039; );<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nice. Our goal this time is to match the category of the currently displayed article. All we need to do is fetch the category ID of the current article and pass it through.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fetching the Category ID of the Current Article<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I Googled it. Thank you, internet.<br><a href=\"https:\/\/www.nowte.net\/wordpress\/wordpress-get-category-data\/\">https:\/\/www.nowte.net\/wordpress\/wordpress-get-category-data\/<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>\u73fe\u5728\u8868\u793a\u3057\u3066\u3044\u308b\u8a18\u4e8b\u306e1\u756a\u76ee\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u30b9\u30e9\u30c3\u30b0\u3092\u8868\u793a<\/strong><\/p><p>&lt;?php<br> $cat = get_the_category();<br> $cat = $cat[0];<br> echo $cat-&gt;slug; ?&gt;<\/p><cite>https:\/\/www.nowte.net\/wordpress\/wordpress-get-category-data\/<\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Since I only allow a single category to be assigned, I should be good with this approach, right?<br>*Wait, the variable changes from `cat` [array] to `cat` (not an array) midway through. That&#039;s kind of annoying.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>\u73fe\u5728\u8868\u793a\u3057\u3066\u3044\u308b\u8a18\u4e8b\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u8907\u6570\u8868\u793a<\/strong><\/p><p><code>&lt;?php <br>$cats = get_the_category();<br> foreach($cats as $cat){<br>     echo $cat-&gt;cat_name;<br>     echo $cat-&gt;slug; }<br> ?&gt;<\/code><\/p><cite>https:\/\/www.nowte.net\/wordpress\/wordpress-get-category-data\/<\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">It seems possible to fetch multiple categories too. Since the setting side could also take multiple values, would that be safer? But it looks like it might get complicated.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Code to Modify<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\/var\/www\/html\/wp-content\/themes\/lightning\/_g3\/template-parts\/sidebar-contents-post.php<br>This is the file that appeared earlier. Thanks to my previous WordPress knowledge, I got here pretty quickly this time. Everything was a bullseye. However, I struggled a bit with writing the PHP code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Modification 1: Filtering by the Same Category as the Current Article<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><span data-color=\"#f78da7\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\" class=\"vk_highlighter\">\/same category\u306e\u305f\u3081\u65b0\u898f\u5909\u6570\u3092\u8ffd\u52a0\u3059\u308b\n$cats   = get_the_category(); \/\/category\u306f\u914d\u5217\u3067\u5165\u308b\n$cat_id = $cats&#91;0]-&gt;term_id;  \/\/\u4e00\u3064\u76ee\u306ecategory ID  \u4f8b\uff092:web\u69cb\u7bc9\u65e5\u8a18<\/span><span data-color=\"#ff6bb2\" style=\"background: linear-gradient(transparent 60%,rgba(255, 107, 178, 0.7) 0);\" class=\"vk_highlighter\">\n<\/span>\n<span data-color=\"#fcfa69\" style=\"background: linear-gradient(transparent 60%,rgba(252, 250, 105, 0.7) 0);\" class=\"vk_highlighter\">\/\/test\n\/\/echo $cat_id; echo ':';echo($cats&#91;0]-&gt;name);echo '&lt;\/p&gt;';\n\/\/var_dump($cats&#91;0]);echo '&lt;\/p&gt;';\n\/\/var_dump(get_the_category()&#91;0]);echo '&lt;\/p&gt;';\/\/\u7d9a\u3051\u3066\u304b\u3044\u3066\u3082\u3088\u3057<\/span>\n\n$post_loop = new WP_Query(\n\tarray(\n\t\t'post_type'              =&gt; 'post',\n<span data-color=\"#f78da7\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\" class=\"vk_highlighter\">\t        'cat'                    =&gt; $cat_id,\/\/add for restruct same category  0 is all<\/span>\n\t\t'posts_per_page'         =&gt; 10,\n\t\t'no_found_rows'          =&gt; true,\n\t\t'update_post_meta_cache' =&gt; false,\n\t\t'update_post_term_cache' =&gt; false,\n\t)\n);\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I&#039;ll add the code where the pink fluorescent line is highlighted.<br>The yellow fluorescent line is diagnostic code for research purposes. For reference, it will output to the browser.<br><\/p>\n\n\n<ul class=\"wp-block-list\">\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\"><br>I&#039;m not used to prefixing variables with `$` in PHP, so I stumbled for a moment by forgetting the `$` in `$cat_id=cats[0]-&gt;term_id`, writing it as `cats` instead. By the way, is there a reason why object properties don&#039;t take a `$`?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Modification 2: Changing &quot;Recent Posts&quot; to &quot;Recent Posts in [Category Name]&quot;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I want to change the display of &quot;Recent Posts&quot; to &quot;Recent Posts in [Category Name]&quot;.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;h4 class=\"sub-section-title\"&gt;&lt;?php echo __( 'Recent posts', 'lightning' ); ?&gt;&lt;\/h4&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Just below Modification 1, right before the loop processing, there is a line similar to the above. This is where &quot;Recent posts&quot; is outputted to HTML. It probably goes through some magic to become the Japanese &quot;\u6700\u8fd1\u306e\u6295\u7a3f&quot;, but that&#039;s a hassle to figure out, so I&#039;m going to bypass the mechanism and output it directly.<br>What I want to do is prepend the static text &quot;Category:&quot; + [Category Name] + &quot;Recent Posts&quot; before the heading.<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;h4 class=\"sub-section-title\"&gt;\n<span data-color=\"#f78da7\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\" class=\"vk_highlighter\">    \u300c\n    &lt;?php echo($cats&#91;0]-&gt;name); \/*\u3053\u306e\u8fba\u8ffd\u52a0*\/ ?&gt;\n    \u300d\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u306e<\/span>\n    &lt;?php echo __( 'Recent posts', 'lightning' ); ?&gt;\n&lt;\/h4&gt;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It&#039;s hard to read on a single line, so I&#039;ll break it up and append it. The text stays as it is, and for [Category Name], we write the code between `&lt;?php` and `?&gt;` using PHP as we learned earlier. Outputting text is done with `echo`. And we can reuse the category information variable `cats[]` from earlier. The property name for the category name is `&#039;name&#039;`, and there are various other variables too, so feel free to play around with them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And with that, we&#039;re done.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Result: It Worked!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A single page of recent posts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-vk-image-shadow\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/17161431\/Screenshot-from-2022-07-17-16-13-40-1024x499.png\" alt=\"\" class=\"wp-image-1988\" srcset=\"https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/17161431\/Screenshot-from-2022-07-17-16-13-40-1024x499.png 1024w, https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/17161431\/Screenshot-from-2022-07-17-16-13-40-300x146.png 300w, https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/17161431\/Screenshot-from-2022-07-17-16-13-40-768x374.png 768w, https:\/\/static.the-world-star.com\/wp-content\/uploads\/2022\/07\/17161431\/Screenshot-from-2022-07-17-16-13-40.png 1299w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By the way, category top pages started doing this too. They must be sharing the same template.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On my site, interests are neatly grouped under parent category pages, so it might actually be nice to display posts from the parent category instead. Since the post&#039;s category info also contained the parent ID, could I just collect that and all its child IDs into an ID-only array and pass it? Until next time!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continuing from my last post, I&#039;ve been exploring how to prevent the &quot;Recent Posts&quot; widget from displaying unrelated content that readers aren&#039;t interested in. There was nothing useful when I googled it, so I decided to analyze it myself. If successful, I&#039;ll put the conclusion right at the beginning. This is for the Lightning theme. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1988,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/175.41.248.22\/?p=1973","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[81,85,1086,1255,1258,67,68],"class_list":["post-6702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-lightning","tag-wp_query","tag-customization","tag-category","tag-independent-categories","tag-server","tag-wordpress","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/comments?post=6702"}],"version-history":[{"count":1,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6702\/revisions"}],"predecessor-version":[{"id":6703,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6702\/revisions\/6703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media\/1988"}],"wp:attachment":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media?parent=6702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=6702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=6702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}