Register Events List Widget

Home Forums Calendar Products Events Calendar PRO Register Events List Widget

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #80160
    rociopts
    Participant

    Hello!
    Here is my issue:
    I would like to have two Events Lists widgets, each showing a different category. My theme for some reason doesn’t get it. It will only show one widget at a time. So every time I add two different Event List with different categories widgets my theme only shows one. (I would change my theme but I’m too far into it.)

    So I think my solution, would be to duplicate the Events List widget, and then register it as a different widget. I think that might solve my problem with the theme.

    Here is what I have tried to do.
    I copied the list-widget.php to my theme/tribe-events/pro/views/widgets/ and then I changed the name of the file. I then go to my functions.php file and register the new widget. That doesn’t work, for some reason my theme goes blank. I think I’m doing this wrong.

    Could you let me know if my steps are correct or am I missing something?

    Thank you

    #80258
    Kelly
    Participant

    Hi, rociopts. Great question! 🙂

    It defintiely sounds like you’re on the right track. If that isn’t working for you, maybe you could try creating a new plugin for the widget and registering it that way?

    Let us know how it goes! 🙂

    #80261
    rociopts
    Participant

    I’d like to try that, create a new plugin. If I do that do I still need to add all my files in the override (my theme/tribe-events/pro/views/widgets/)? If you have a link that you suggest I read I do appreciate that.

    #80350
    Kelly
    Participant

    If you put your files in the plugin, they shouldn’t need to be in the override, but I can’t promise you anything without trying it myself. 🙂

    For using a plugin to add code, we’ve had good luck with Pluginception: http://wordpress.org/plugins/pluginception/

    Please give it a go and let us know if that does the trick. 🙂

    #982754
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Register Events List Widget’ is closed to new replies.