{"id":192,"date":"2018-10-23T17:57:21","date_gmt":"2018-10-23T17:57:21","guid":{"rendered":"http:\/\/www.webleaps.com\/blog\/?p=192"},"modified":"2023-02-03T20:55:21","modified_gmt":"2023-02-03T20:55:21","slug":"woocommerce-pagination-not-showing","status":"publish","type":"post","link":"https:\/\/www.webleaps.com\/blog\/code\/woocommerce-pagination-not-showing\/","title":{"rendered":"Woocommerce Pagination Not Showing"},"content":{"rendered":"<p>When creating Woocommerce pages to show products from a single category you simply link directly to the category page.\u00a0 Sometimes the page you want to display isn&#8217;t that simple, and you end up creating a new page and use Woocommerce shortcode to display products.<\/p>\n<p>With specific themes the &#8220;Pagination&#8221; does not appear (navigation that appears that allows you to navigate from page to page), luckily there&#8217;s a quick fix for this.<\/p>\n<p>Your code probably looks something similar to this:<\/p>\n<p><code>[product_category category=\"pants\"]<\/code><\/p>\n<p>All you need to add is the paginate attribute to the shortcode:<\/p>\n<p><code>[product_category category=\"pants\" paginate=\"true\"]<\/code><\/p>\n<p>Seems simple right? Well it is!\u00a0 You can also visit the Woocommerce website for additional <a href=\"https:\/\/docs.woocommerce.com\/document\/woocommerce-shortcodes\/\" target=\"_blank\" rel=\"noopener\">woocommerce shortcodes<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When creating Woocommerce pages to show products from a single category you simply link directly to the category page.\u00a0 Sometimes the page you want to display isn&#8217;t that simple, and you end up creating a new page and use Woocommerce shortcode to display products. With specific themes the &#8220;Pagination&#8221; does not appear (navigation that appears [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":197,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-192","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code"],"_links":{"self":[{"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/posts\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":4,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/posts\/192\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/posts\/192\/revisions\/196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/media\/197"}],"wp:attachment":[{"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/media?parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/categories?post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webleaps.com\/blog\/wp-json\/wp\/v2\/tags?post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}