Home › Forums › Calendar Products › Events Calendar PRO › Register Events List Widget
- This topic has 4 replies, 3 voices, and was last updated 11 years ago by
Support Droid.
-
AuthorPosts
-
December 4, 2013 at 10:40 am #80160
rociopts
ParticipantHello!
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
December 4, 2013 at 6:18 pm #80258Kelly
ParticipantHi, 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! 🙂
December 4, 2013 at 6:25 pm #80261rociopts
ParticipantI’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.
December 5, 2013 at 9:14 am #80350Kelly
ParticipantIf 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. 🙂
July 7, 2015 at 6:30 am #982754Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Register Events List Widget’ is closed to new replies.
