Home › Forums › All Other Themes › Customized theme shortcode
- This topic has 3 replies, 3 voices, and was last updated 5 years, 10 months ago by
Sonnal S Sinha.
-
AuthorPosts
-
November 29, 2017 at 6:17 pm #88544
Hi SKT Team,
I am using the coffee pro theme and want to create an additional theme shortcode. In section ID wrappfourth the following theme shortcodes have been used: [latest-news], [event-lists] and [menu-price].
Instead of event dates I want to display the opening hours of my customer´s business. I thought I could simply use the [menu-price] shortcode and instead of the prices I´d write down the opening hours. But there is not enough space on the right side for an entry like “8:30 – 12:00 Uhr”. So I guess I´ll have to create a new shortcode e. g. [opening-hours]. I wanted to use the basic definitions of [menu-price] and modify them. But how can I do that?
Thanks in advance
TomNovember 30, 2017 at 5:40 am #88561Hi,
kindly show us your website URL?
Regards,
BradNovember 30, 2017 at 8:07 am #88571Hi Brad,
the website is in maintenance mode, so you would only see the coming soon page. I can´t see why you should need the URL to answer my questions. The question is where or in which php file are the definitions of the theme shortcodes stored? And is it possible to create an additional new shortcode by copying the settings of e. g. the [menu-price] shortcode amd then modify them?
Regards,
TomDecember 1, 2017 at 7:23 am #88660Hi Tom,
Well we can’t teach you coding its like kicking our stomach 🙂
Anyways here are a few plugins you can use to do it on your own:
https://wordpress.org/plugins/shortcode-maker/
https://wordpress.org/plugins/custom-shortcode-creator/
Good luck.
Shri
-
AuthorPosts
- You must be logged in to reply to this topic.