• Resolved myoakum

    (@myoakum)


    The function rsvpmaker_upcoming() contains many HTML elements which interfere/ are incompatible with my theme. If you could merely relocate it to the rsvpmaker-plugabble.php file, I could easily override it in my custom rsvpmaker-custom.php file.

    As it is currently, I cannot upgrade this plugin without causing errors to my site.

    https://wordpress.org/plugins/rsvpmaker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I’ll work on that. If you tell me what specifically is causing problems, I may also be able to improve the base code.

    A quick alternative for you would be to implement your own version of the function and shortcode — copy and paste, then modify. So in rsvpmaker-custom.php, do:

    add_shortcode(‘my_upcoming’,’my_upcoming_function’);

    function my_upcoming_function [your modified version of rsvpmaker_upcoming]

    Thread Starter myoakum

    (@myoakum)

    So the exact problem (if memory serves) was that the function output HTML to be consistent with the Twenty-Eleven theme, and I’m using a custom theme, which uses different HTML tags (or at least differently arranged HTML).

    Thanks for the tip on renaming the function and shortcode in rsvpmaker-custom.php, so I don’t have to disable the original. Once I renamed the shortcode called in the site’s Upcoming page, that solution seems to be working for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘relocate rsvpmaker_upcoming() to rsvpmaker-plugabble.php’ is closed to new replies.