• Resolved chavo

    (@chavo)


    I want to know if is possible to add my own shortcode to the Sportpress visual editor dropdown menu. I need more basic options.
    Wich is my goal? I want to add a “Fixture” shortcode. This fixture shorcode allow user to select just two variables: Competition and season.
    Then, I want to show the results similar to evenst_block but with 2 main differences: Matchdays are shown as a list, so I can use them as tabs. And the matches for each matchday mus to be shown into separate tables, so I can use it as panels. My idea is to use jquery ui tabs.

    Can anyone guide in the process if possible? Thanks in advance.

    ps: sorry for my english.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out!

    This is certainly possible but requires more custom code than we can provide unfortunately. You’ll need to hire a developer to do that for you.

    THanks!

    Kind Regards,
    -Roch

    Thread Starter chavo

    (@chavo)

    Nevermind, I got it working. I edited the code in events-block.php template file. It is possible to suppress options of ajax pop-up via a filter into functions.php? I just want to display “Competition” and “Season” dropdowns.

    Thanks for your reply!

    Regards,
    Martías.

    Roch

    (@rochesterj)

    Hi Martías!

    We strongly advise against editing the plugin files as you’ll lose your customization in future updates. But as long as you don’t update it’ll work for you.

    Regarding the ajax pup-up where exactly do you want to remove it? If it’s in the wp-admin it’s possible but again, beyond the scope of our support.

    Kind Regards,
    -Roch

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding own shortcode?’ is closed to new replies.