Home › Forums › Themes Support › Claue › How Can i add short code here?
- This topic has 9 replies, 3 voices, and was last updated 7 years, 1 month ago by Foster.
-
AuthorPosts
-
-
October 26, 2017 at 7:19 am #12469
-
October 26, 2017 at 2:35 pm #12472
Hi
You should write a php function add_action for woocommerce_quickview_after_thumbnail
add_action('woocommerce_quickview_after_thumbnail', 'your_function_name'); function your_function_name(){ echo 'html code'; }
Best regards,
-
October 27, 2017 at 6:44 am #12531
Hi Neo Nguyen,
I know nothing about it. Please kindly share me the code and where i can add onto the site.
Much appreciated.
Thanks.
-
October 27, 2017 at 11:23 am #12535
Hi
Please add below code to bottom of function.php in theme. (or child theme if you use child theme)
add_action('woocommerce_quickview_after_thumbnail', 'your_function_name'); function your_function_name(){ echo 'html code'; }
Or provide for me html code, i will add for you.
Best regards,
-
October 27, 2017 at 8:56 pm #12543
Here you are
[wpdevart_countdown text_for_day=”Days” text_for_hour=”Hours” text_for_minut=”Minutes” text_for_second=”Seconds” countdown_end_type=”time” end_date=”27-10-2017 23:59″ start_time=”1509111966″ end_time=”0,1,1″ action_end_time=”hide” content_position=”center” top_ditance=”10″ bottom_distance=”10″ ][/wpdevart_countdown]
-
October 27, 2017 at 9:32 pm #12549
Hi,
Here is your code
Cheers,
Foster -
October 27, 2017 at 10:08 pm #12560
add_action(‘woocommerce_quickview_after_thumbnail’, ‘your_function_name‘);
function your_function_name(){What name should i change to?
Oh.. I don’t know why below code is appeared whenever i submited reply. It is not my code. Please invistigate.
-
October 27, 2017 at 10:11 pm #12561
Hi,
It’s up to you.
-
October 27, 2017 at 10:21 pm #12566
Oh.. I don’t know why below code is appeared whenever i submited reply. It is not my code. Please invistigate.
-
October 27, 2017 at 10:25 pm #12568
I temporarily removed it. I’m investigating it, please don’t reply this ticket. If you have other questions, please create a new ticket.
Thank you.
-
-
AuthorPosts
The topic ‘How Can i add short code here?’ is closed to new replies.