
{"id":50,"date":"2018-01-21T16:05:31","date_gmt":"2018-01-21T16:05:31","guid":{"rendered":"http:\/\/blog.gordonbuchan.com\/blog\/?p=50"},"modified":"2021-02-07T13:02:00","modified_gmt":"2021-02-07T13:02:00","slug":"a-wordpress-tip-enabling-links-under-categories","status":"publish","type":"post","link":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/2018\/01\/21\/a-wordpress-tip-enabling-links-under-categories\/","title":{"rendered":"A WordPress tip: enabling links under Categories"},"content":{"rendered":"<p>In theory, if you tag posts in your blog by category, those category titles should be offered as links that show a search list of matching posts, on the blog&#8217;s main page, in a section labeled &#8220;Categories.&#8221;<\/p>\n<p>It turns out that, in order for this to actually work, you must first enter values under Settings | Optional | &#8220;Category base&#8221; and &#8220;Tag base&#8221; as below. Note I chose to use the value &#8220;categories&#8221; rather than the suggested value &#8220;topic&#8221; for both fields. Entering values in these fields will result in the links under Categories displaying a correct listing of the posts in each category:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/mail.google.com\/mail\/u\/0\/?ui=2&amp;ik=da0095f596&amp;view=fimg&amp;th=1611948423dfdfd4&amp;attid=0.1&amp;disp=emb&amp;realattid=ii_1611947faa4e3bea&amp;attbid=ANGjdJ_B5GAxgvuV9ZpdJIAzVZTXKZuBbonWzxQf813Wzi7mCqvu_xzP6IKhkUCnPDf1N-KinYn4tK1Z3BCvz4j3ICkRrTMVewTeqzIXDJC4DtNAtisPQ-4RYmHJQns&amp;sz=w1086-h654&amp;ats=1516550260096&amp;rm=1611948423dfdfd4&amp;zw&amp;atsh=1\" alt=\"Inline image 1\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In theory, if you tag posts in your blog by category, those category titles should be offered as links that show a search list of matching posts, on the blog&#8217;s main page, in a section labeled &#8220;Categories.&#8221; It turns out that, in order for this to actually work, you must first enter values under Settings &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/2018\/01\/21\/a-wordpress-tip-enabling-links-under-categories\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A WordPress tip: enabling links under Categories&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":3,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":673,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/50\/revisions\/673"}],"wp:attachment":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}