{"id":4188,"date":"2017-08-30T08:58:14","date_gmt":"2017-08-30T06:58:14","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-my-account\/?post_type=faq&#038;p=179"},"modified":"2020-07-21T13:32:37","modified_gmt":"2020-07-21T11:32:37","slug":"create-woocommerce-my-account-tabs","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/create-woocommerce-my-account-tabs\/","title":{"rendered":"Create WooCommerce My Account Tabs"},"content":{"rendered":"<p>We show you how to create custom WooCommerce My Account tabs and how to setup our plugin.<\/p>\n<h2>Settings Panel<\/h2>\n<p>You can find the everything inside your Admin Panel below WooCommerce -&gt; My Account.\u00a0 If you can not see the settings panel, make sure you have installed the Redux Framework Plugin.<\/p>\n<h2>General Settings<\/h2>\n<p>In the general settings you can enable \/ disable our plugin. Moreover you are able to set a tab amount to increase performance &amp; load time, you can reorder or disable tabs and you are able to rename the general WooCommerce tabs. For example you could disable the logout tab and rename the orders tab to &#8220;My orders&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-5173\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings-1024x715.png\" alt=\"WooCommerce my account tab settings\" width=\"1020\" height=\"712\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings-1024x715.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings-247x172.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings-510x356.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings-300x209.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings-768x536.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/woocommerce-my-account-tab-settings.png 1272w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<h2>My Account Tab Styles<\/h2>\n<p>In the styles section you are able to choose a layout (left \/ right sidebar or full width tabs). Furthermore you can set tab background &amp; text styles, also for hover and active tabs.<\/p>\n<figure id=\"attachment_5172\" aria-describedby=\"caption-attachment-5172\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5172\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling-1024x647.png\" alt=\"my account styling\" width=\"1020\" height=\"644\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling-1024x647.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling-247x156.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling-510x322.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling-300x189.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling-768x485.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/my-account-styling.png 1270w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5172\" class=\"wp-caption-text\">my account styling<\/figcaption><\/figure>\n<h2>Create a custom My Account Tab<\/h2>\n<p>To create your first custom my account tab simply go into one of the settings. There you have the possibility to set the title, menu title and the endpoint URL. Then you need to specify a callback what the tab will show in the frontend. You can choose from different callbacks:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Editor (Custom WYSIWIG Text where you can use shortcodes or even customer meta data)<\/li>\n<li>Link (simply links the tab to another page)<\/li>\n<li>Contact 7 Form<\/li>\n<li>Function (custom function that will be called. Create this in your functions.php of your child theme)<\/li>\n<li>Products by category<\/li>\n<li>Product Categories<\/li>\n<li>Show Cart<\/li>\n<li>Order Tracking<\/li>\n<li>My Account<\/li>\n<li>Recent Products<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>Featured Products<\/li>\n<li>Sale Products<\/li>\n<li>Best Selling Products<\/li>\n<li>Top Rated Products<\/li>\n<li>Related Products<\/li>\n<\/ul>\n<p>Each of the callbacks have own settings, e.g. the editor will show a WYSIWIG editor then. At the bottom you can also limit a tab to a specific user role. <strong>After you created a tab, reload the admin panel and make sure you add the tab in the reorder section in general settings!<\/strong><\/p>\n<figure id=\"attachment_5171\" aria-describedby=\"caption-attachment-5171\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5171\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page-1024x698.png\" alt=\"create your own my account page\" width=\"1020\" height=\"695\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page-1024x698.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page-247x168.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page-510x347.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page-300x204.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page-768x523.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/create-your-own-my-account-page.png 1271w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5171\" class=\"wp-caption-text\">create your own my account page<\/figcaption><\/figure>\n<h2>Example output<\/h2>\n<p>Below you can see an example output of the editor settings we used below. It shows first name &#8220;d&#8221; and then also the shortcode of current year.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5174\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/custom-tab-example.png\" alt=\"\" width=\"676\" height=\"431\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/custom-tab-example.png 676w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/custom-tab-example-247x157.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/custom-tab-example-510x325.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2017\/08\/custom-tab-example-300x191.png 300w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4188","faq","type-faq","status-publish","hentry","faq_topics-my-account"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=4188"}],"version-history":[{"count":6,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4188\/revisions"}],"predecessor-version":[{"id":5175,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4188\/revisions\/5175"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=4188"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=4188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}