{"id":6588,"date":"2022-11-27T13:03:01","date_gmt":"2022-11-27T04:03:01","guid":{"rendered":"https:\/\/the-world-star.com\/?p=6588"},"modified":"2026-11-17T21:34:46","modified_gmt":"2026-11-17T12:34:46","slug":"a-summary-of-custom-code-changes-in-wordpress","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/server\/a-summary-of-custom-code-changes-in-wordpress-6588\/","title":{"rendered":"A Summary of Custom Code Changes in WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To ensure I can quickly restore my customizations whenever I update my theme, I've put together a summary of my previous blog posts noting where and how I modified the WordPress code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this in mind, I went ahead with the workflow of updating the theme and then restoring my changes. After carefully testing everything in a local environment, I applied the fixes to the live site. Even when just copy-pasting, it's easy to panic if something breaks and the page won't load, so caution is key. While my local tests went off without a hitch, on the live site I ran into a few hiccups\u2014like the initial forward slash \"\/\" in a comment (\"\/\/\") failing to copy over, or accidental full-width characters preventing \"true\" from working properly\u2014which led to a few failed attempts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Past Article Links<a href=\"http:\/\/localhost\/server\/centeringcategoryimage-2659\/\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a list of previous articles covering code modifications:<\/p>\n\n\n<ul class=\"wp-block-list\">\n\n<li><a href=\"http:\/\/localhost\/server\/onlysamecat-1943\/\">Restricting \"Previous\" and \"Next\" posts to the same category only<\/a><\/li>\n\n\n<li><a href=\"http:\/\/localhost\/server\/restruct_same_category-1973\/\">Displaying only posts from the same category in the \"Recent Posts\" section of single post pages<\/a><\/li>\n\n\n<li>Displaying a category top image<\/li>\n\n\n<li>Modifications to functions.php<\/li>\n\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">--------<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Modification Details<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"http:\/\/localhost\/server\/onlysamecat-1943\/\">Restricting \"Previous\" and \"Next\" posts to the same category only<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">wp-content\/themes\/lightning\/_g3\/template-parts\/next-prev.php<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nglobal $bootstrap;\n\/\/$in_same_term   = apply_filters( 'lightning_prev_next_post_in_same_term', false );\n$in_same_term   = apply_filters( 'lightning_prev_next_post_in_same_term', <strong><em><mark style=\"background-color:#ff6900\" class=\"has-inline-color has-black-color\">true<\/mark><\/em><\/strong> ); \/\/\u3053\u3053\u304b\u306a\uff1f\n$excluded_terms = apply_filters( 'lightning_prev_next_post_excluded_terms', '' );\n$taxonomy       = apply_filters( 'lightning_prev_next_post_taxonomy', 'category' );\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the third line from the top, change the $in_same_term argument definition for get_previous_post() and get_next_post() from false to true.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"http:\/\/localhost\/server\/restruct_same_category-1973\/\">Displaying only posts from the same category in the \"Recent Posts\" section of single post pages<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">wordpress\/wp-content\/themes\/lightning\/_g3\/template-parts\/sidebar-contents-post.php<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span data-color=\"#f78da7\" class=\"vk_highlighter\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\">\/\/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\" class=\"vk_highlighter\" style=\"background: linear-gradient(transparent 60%,rgba(255, 107, 178, 0.7) 0);\">\n<\/span>\n$post_loop = new WP_Query(\n\tarray(\n\t\t'post_type'              =&gt; 'post',\n<span data-color=\"#f78da7\" class=\"vk_highlighter\" style=\"background: linear-gradient(transparent 60%,rgba(247, 141, 167, 0.7) 0);\">\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<h3 class=\"wp-block-heading\">Displaying the category feature image at the top of category pages<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The past article structure is a bit complex, but it consists of:<\/p>\n\n\n<ul class=\"wp-block-list\">\n\n<li><a href=\"http:\/\/localhost\/server\/category_ind-2028\/\">Steps 1 & 2: Basics<\/a><\/li>\n\n\n<li><a href=\"http:\/\/localhost\/server\/category_ind-2-2058\/\">Step 3: Overlaying the category name on top of the image<\/a><\/li>\n\n\n<li><a href=\"http:\/\/localhost\/server\/centeringcategoryimage-2659\/\">Centering the category image<\/a><\/li>\n\n<\/ul>\n\n\n<h4 class=\"wp-block-heading\">Overview<\/h4>\n\n\n<ul class=\"wp-block-list\">\n\n<li>Use the \"Category Images\" plugin to enable registering images for each category.<\/li>\n\n\n<li>Modify the code to display the registered images on the category top pages.<\/li>\n\n<\/ul>\n\n\n<h4 class=\"wp-block-heading\">Code Modifications<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Modification Location 1<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">wordpress\/wp-content\/themes\/lightning\/_g3\/template-parts\/page-header.php<br>Add the following code to the very bottom.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The added code, with the original code highlighted in blue.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>&lt;!-- \/\/\u30ab\u30c6\u30b4\u30ea\u30fc\u72ec\u7acb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u305f\u3081\u306e\u4fee\u6b63\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306eCategory Images\u3092\u5229\u7528\u3057\u3066\u3044\u308b\n&lt;!-- \/\/category\u3060\u3063\u305f\u3089\u306e\u6761\u4ef6\u306fz_taxonomy_image()\u306b\u5165\u3063\u3066\u3044\u305f\u306e\u3067\u305d\u3053\u3082\u3044\u3058\u308b --&gt;\n&lt;?php\nif (function_exists('z_taxonomy_image')){\n  echo '&lt;div style=\"text-align: center;\"&gt;';\n  echo '&lt;div style=\"position: relative; display:inline-block;\"&gt;';\n  $taximage = z_taxonomy_image(); \/\/\u3053\u308c\u3067\u753b\u50cf\u8868\u793a\u306eecho\u3001\u6210\u529f\u6642\u306b\u3082html\u30b3\u30fc\u30c9\u3092\u8fd4\u3059\u3088\u3046\u306b\u3057\u305f\n  if(!empty($taximage)){           \/\/\u753b\u50cf\u304c\u3042\u3063\u305f\u3089\u30ab\u30c6\u30b4\u30ea\u30fc\u540d\u3092\u8868\u793a\n    echo '&lt;div style=\"position: absolute; top: 50%; left: 50%; max-width: 100%; max-height: 100%; color:white;transform:translate(-50%,-50%)\"&gt;';\n    echo '&lt;p&gt;';\n    echo wp_kses( apply_filters( 'lightning_page_header_title_html', $page_header_title_html ), $allowed_html ); \/\/\u30ab\u30c6\u30b4\u30ea\u30fc\u540d\n    echo '&lt;\/p&gt;';\n    echo '&lt;\/div&gt;';\n  }\n  echo '&lt;\/div&gt;';\n  echo '&lt;\/div&gt;';\n }\n?&gt;\n\n&lt;!-- \/\/edit \u9752\u3044\u67a0 --&gt;\n&lt;?php\nif (empty($taximage)){ \/\/\u753b\u50cf\u304c\u306a\u304b\u3063\u305f\u3089\u3053\u308c\u307e\u3067\u901a\u308a\u306e\u9752\u3044\u67a0+\u6587\u5b57\n  echo '<mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">&lt;div class=\"page-header\"&gt;&lt;div class=\"page-header-inner container\"&gt;<\/mark>';\n  echo <mark style=\"background-color:#8ed1fc\" class=\"has-inline-color has-black-color\">wp_kses( apply_filters( 'lightning_page_header_title_html', $page_header_title_html ), $allowed_html );<\/mark>\n  echo ('<mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">&lt;\/div&gt;&lt;\/div&gt;<\/mark>');\n }\n?&gt;\n\n<mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">&lt;!-- &#91; \/.page-header ] --&gt;<\/mark><\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Modification Location 2<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Modify the code for the Category Images plugin. Since this is separate from the theme, it won't be overwritten by theme updates. However, if it gets overwritten during a plugin update, re-apply the fix as before.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I want to check whether an image exists using z_taxonomy_image(). I've configured it to always return $taxonomy_image, allowing me to check if it's missing using \"if (empty($taximage))\".<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>wordpress\/wp-content\/plugins\/categories-images\/categories-images.php<br>The function is zTaxonomyImage(). Comment out the sections highlighted in red.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>\n        if ($echo)    echo $taxonomy_image;\n<mark style=\"background-color:#f0c5d0\" class=\"has-inline-color\">        \/\/else \/\/edit \u753b\u50cf\u304c\u3042\u3063\u305f\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u305f\u3044<\/mark>\n\treturn $taxonomy_image;\n    }<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Modifications to functions.php<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"http:\/\/localhost\/server\/wordpressshortarchive-2517\/\">Shortening the WordPress Archive List<\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Add the get_archives_link() filter code to wordpress\/wp-content\/themes\/function.php<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* \u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3067\u8868\u793a\u3055\u308c\u308b\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u77ed\u304f\u8868\u793a\u3055\u305b\u307e\u3059\n * 1.\u30ea\u30f3\u30af\u304c\/\u30b5\u30a4\u30c8url\/2022\/07\u3068\u3044\u3046\u3088\u3046\u306b\u56fa\u5b9a\u3055\u308c\u308b\u3002\u30ea\u30f3\u30af\u306f\u8a2d\u5b9a\u6b21\u7b2c\u3067\u5909\u308f\u308b\u306e\u3067\u3001\u30ea\u30f3\u30af\u306f\u305d\u306e\u307e\u307e\u4f7f\u3044\u305f\u3044\u3002 \u2192\u89e3\u6c7a\n * 2.\u6708\u3084\u9031\u3084\u65e5\u3067\u6307\u5b9a\u3055\u308c\u305f\u5834\u5408\u306e\u8003\u616e\u304c\u306a\u3044 \u2192\u89e3\u6c7a\n * 3.12\u6708\u306b\u8a18\u4e8b\u304c\u306a\u3044\u5e74\u306f\u5e74\u8868\u793a\u304c\u3055\u308c\u306a\u3044 \u2192\u89e3\u6c7a\n * 4.\u4eca\u6708\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u306a\u3044\u3068\u5e74\u8868\u793a\u304c\u3055\u308c\u306a\u3044 \u2192\u89e3\u6c7a\n * 5.\u4eca\u5e74\u306e\u8a18\u4e8b\u3057\u304b\u306a\u304f\u3001\u4eca\u6708\u306e\u8a18\u4e8b\u304c\u306a\u3044\u5834\u5408\u30012\u56de\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u547c\u3070\u308c\u308b\u3068\u5e74\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3002\u2192\u672a\u89e3\u6c7a\n * \u6708\u8868\u793a\u306e\u5f8c\u4e0d\u8981\u306ahtml\u30bf\u30b0\u304c\u51fa\u3066\u3044\u308b\u300c&lt;\/a&gt;&lt;\/li&gt;\u300d \u2192\u89e3\u6c7a\n * \u3082\u3046\u30ac\u30f3\u30ac\u30f3\u4f5c\u308a\u5909\u3048\u307e\u3059\n *\/\nfunction my_archives_link($link_html){\n    $currentMonth = date('n');\n    $currentYear = date('Y');\n\n\/\/\u5e74\u6307\u5b9a\u306e\u5834\u5408\u306f\u4f55\u3082\u3057\u306a\u3044\n    if(strpos($link_html,'\u6708') != true){\n      return $link_html;\n    }\n\n\/\/\u5e74\/\u6708\/(\u65e5\u3067\u3082OK?)\u306e\u5834\u5408\n    \/\/ \u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u5e74\u6708HTML\u3092\u7de8\u96c6\n    $ym = explode('\u5e74', $link_html);        \/\/ym&#91;0]=&lt;li&gt;&lt;a href='https:\/\/localhost\/?m=202206'&gt;2022 ym&#91;1]=6\u6708&lt;\/a&gt;&lt;\/li&gt; \n    $monthArray = explode('\u6708', $ym&#91;1]);    \/\/$monthArray&#91;0]=6 &#91;1]=&lt;\/a&gt;&lt;\/li&gt;\n    $month = $monthArray&#91;0];                \/\/=6\n    $year = intval(strip_tags($ym&#91;0]));\t    \/\/2022 remove php html tags\n    \/\/$linkMonth = substr('0'.$month, -2);    \/\/0+\u6708\u306e\u5f8c\u308d2\u6587\u5b57 012 \u2192 12, 07\u219207\u30012\u6841\u306b\u3057\u3066\u3044\u308b \u3044\u3089\u306a\u3044\n\n    \/\/\u30ea\u30f3\u30af\u5148\n    preg_match_all('\/'.+?'\/', $ym&#91;0], $urlArray);\/\/\u6b63\u898f\u8868\u73fe\u3067''\u3067\u56f2\u307e\u308c\u305fURL\u3092\u62bd\u51fa\n    $url = $urlArray&#91;0]&#91;0];\n    \/\/echo '$urlEX =';echo $url;var_dump ($linkMonthArray); \/\/for debug\n\t   \n    $linkMonth  = '&lt;a href='.$url.' style=\"white-space: nowrap;\"&gt;'.$month.'\u6708&amp;nbsp;&lt;\/a&gt;';\n    $linkYear   = '';  \/\/\u6761\u4ef6\u306b\u3088\u308a\u751f\u6210\u3059\u308b\n    $formatYear = '&lt;span style=\"font-weight:bold;\"&gt;%s\u5e74&lt;\/span&gt;&lt;br \/&gt;';\n\n\/\/$linkYear\u3092\u6761\u4ef6\u306b\u3088\u308a\u4f5c\u6210\u3057\u3001$_SESSION&#91;'printyear']\u3092\u4eca\u51e6\u7406\u4e2d\u306e\u5e74\u3092\u5165\u308c\u308b\u3002\u3053\u308c\u306f1\u5e74\u306b1\u5ea6\u3057\u304b\u51e6\u7406\u3055\u305b\u306a\u3044\u305f\u3081\n    \/\/\u4eca\u307e\u3067\u51fa\u529b\u3057\u3066\u3044\u305f\u5e74\u3068\u306f\u9055\u3046\u5834\u5408\uff1d\u521d\u3081\u3066\u305d\u306e\u5e74\u3092\u51fa\u529b\u3059\u308b\u3068\u304d\n    if ($_SESSION&#91;'printyear']!=$year) {  \/\/\u521d\u671f\u5024\u306f\"\"\u7a7a\u767d\u3067\u3042\u308b\u30022\u56de\u76ee\u4ee5\u964d\u547c\u3073\u51fa\u3055\u308c\u308b\u3068\u6700\u5f8c\u306b\u51e6\u7406\u3057\u305f\u5e74\u3068\u306a\u308b\n      \/\/\u203b\u4eca\u5e74\u306e\u8a18\u4e8b\u3057\u304b\u306a\u3044\u5834\u5408\u306b2\u56de\u76ee\u306b\u547c\u3070\u308c\u308b\u3068$_SESSION&#91;'printyear']\u304c\u4eca\u5e74\u304b\u3089\u66f4\u65b0\u3055\u308c\u306a\u3044\u306e\u3067\u5f15\u3063\u304b\u304b\u3089\u306a\u3044\n      $linkYear = sprintf($formatYear, $year);  \/\/1\u5e74\u76ee\u300c\u5e74+\u6539\u884c\u300d\n      $_SESSION&#91;'printyear']=$year;           \/\/&#91;\u5e74+\u6539\u884c]\u51fa\u529b\u3057\u305f\u5e74\u3092\u8a18\u9332\n      if($currentYear != $year){        \/\/\u4eca\u5e74\u3067\u306f\u306a\u3044\u5834\u5408\n\t$linkYear = '&lt;br \/&gt;'.$linkYear; \/\/\u3055\u3089\u306b\u982d\u306b&#91;\u6539\u884c]\u3092\u52a0\u3048\u308b\u300c&#91;\u6539\u884c]+\u5e74+&#91;\u6539\u884c]\u300d\n      }\n    }\n    \/\/2\u56de\u76ee\u306b\u547c\u3070\u308c\u305f\u6642\u306e\u5bfe\u7b561.\uff1a\u4eca\u6708\u3060\u3063\u305f\u3089\u9593\u9055\u3044\u306a\u3057\u3002\u4e0d\u5341\u5206\u3002\u4eca\u6708\u66f8\u3044\u3066\u306a\u304b\u3063\u305f\u3089\u30c0\u30e1\n    else if (($currentMonth == $month) AND ($currentYear == $year)){\n      $linkYear = sprintf($formatYear, $year);  \/\/1\u5e74\u76ee\u300c\u5e74+\u6539\u884c\u300d\n      $_SESSION&#91;'printyear']=$year; \/\/&#91;\u5e74+\u6539\u884c]\u51fa\u529b\u3057\u305f\u5e74\u3092\u8a18\u9332 \n    }\n    \/\/\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u521d\u671f\u5024$linkYear = ''\n\n    \/\/'&#91;\u6539\u884c]or&#91;\u7121]2020&#91;\u6539\u884c]' or '\u7121' + '&lt;a href='.$url.' style=\"white-space: nowrap;\"&gt;6\u6708&lt;\/a&gt;'\n    return $linkYear.$linkMonth;  \/\/$link_html\u3092$linkYear + $linkMonth\u306b\u52a0\u5de5\u3057\u3066\u8fd4\u3059\n}\nadd_filter('get_archives_link', 'my_archives_link');\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Replacing Japanese Slugs with \"post-\"<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Though there isn't a dedicated post for it, this also modifies wordpress\/wp-content\/themes\/function.php. This should be updated alongside the one above.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/*\n* \u30b9\u30e9\u30c3\u30b0\u540d\u304c\u65e5\u672c\u8a9e\u3060\u3063\u305f\u3089\u81ea\u52d5\u7684\u306b\u6295\u7a3f\u30bf\u30a4\u30d7\uff0bid\u4ed8\u4e0e\u3078\u5909\u66f4\uff08\u30b9\u30e9\u30c3\u30b0\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u306f\u9069\u7528\u3057\u306a\u3044\uff09\n*\/\nfunction auto_post_slug( $slug, $post_ID, $post_status, $post_type ) {\n    if ( preg_match( '\/(%&#91;0-9a-f]{2})+\/', $slug ) ) {\n\/\/        $slug = utf8_uri_encode( $post_type ) . '-' . $post_ID; \n        $slug = utf8_uri_encode( $post_type ); \n\/\/ &nbsp; &nbsp; &nbsp; &nbsp;$slug = utf8_uri_encode( 's15bravetune' ); \n    }\n    return $slug;\n}\nadd_filter( 'wp_unique_post_slug', 'auto_post_slug', 10, 4  );<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To ensure I can quickly restore my customizations whenever I update my theme, I've put together a summary of my previous blog posts noting where and how I modified the WordPress code. With this in mind, I went ahead with the workflow of updating the theme and then restoring my changes. After carefully testing everything [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2606,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/175.41.248.22\/?p=4038","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[67],"class_list":["post-6588","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-server","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6588","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=6588"}],"version-history":[{"count":1,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6588\/revisions"}],"predecessor-version":[{"id":6589,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/6588\/revisions\/6589"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media\/2606"}],"wp:attachment":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media?parent=6588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=6588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=6588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}