This topic has 3 replies, 3 voices, and was last updated 9 years by lim sungbeom.
-
Author
-
April 9, 2016 at 10:23 #115430
lim sungbeom
ParticipantHello~
I created new tap in a product page using ‘functions.php’.
I like to add an content ‘image’ of a page ‘Delivery & Return’
https://www.miinfra.co.kr:44373/infra/delivery-returns/
How can I set a content of a page which I like to show in tab?
I tried it using ‘Insert Pages’ plugin but it shows just vacant screen.
Attachments:
You must be logged in to view attached files.April 11, 2016 at 16:38 #115678Laura
ModeratorHello, can you share the code you used to add the tab at functions.php? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 11, 2016 at 16:56 #115693Radu
ModeratorHi,
You can add a custom tab with this function : https://docs.woothemes.com/document/editing-product-data-tabs/#section-5
Follow that example and in the function woo_new_product_tab_content() {}
You will have to paste the content from that page in echo ”; like this
COPY CODEfunction woo_new_product_tab_content() { // The new tab content echo ' <b>My Content here</b> <h2>Content here etc...</h2> '; }Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 13, 2016 at 02:39 #116154lim sungbeom
ParticipantThank you Radu~
It worked!!
I really thank you~~
I always check 5 point for your advice.
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.

