Customized theme shortcode

Home Forums All Other Themes Customized theme shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #88544
    procopiaprocopia
    Participant
    • Topics: 8
    • Replies: 17
    • Total: 25
    Member since: November 17, 2017

    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
    Tom

    #88561
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30588
    • Total: 30588
    Member since: August 16, 2013

    Hi,

    kindly show us your website URL?

    Regards,
    Brad

    #88571
    procopiaprocopia
    Participant
    • Topics: 8
    • Replies: 17
    • Total: 25
    Member since: November 17, 2017

    Hi 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,
    Tom

    #88660
    Sonnal S SinhaSonnal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6964
    • Total: 6974
    Member since: June 12, 2013

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.