Forum Replies Created
-
AuthorPosts
-
ironandsteelParticipant
I had the same problem- I fixed it in a style override:
.tribe-events-list .tribe-events-event-image img {
height: auto;
margin: 0;
padding: 0;
width: auto;
}The width WAS 100% which was blowing up images and making them look bad.
October 31, 2013 at 7:35 pm in reply to: how can I place something at the top of the events list widget? #74189ironandsteelParticipantBarry- I tried making my own widget and got pretty far (it was discussed in this forum) but I never could figure out how to specify what template file to use.
Regarding your 2nd idea- I don’t know where I would use this code.
I did finally figure out my answer- all I needed to know was this: the title of the widget is drawn in plugins/the-events-calendar/lib/widget-list-class.php on line 113. I didn’t realize that the free version of your plugin played a role in the list widget. Is there something that explains the relationship of the free version and the pro version?October 31, 2013 at 8:19 am in reply to: how can I place something at the top of the events list widget? #74033ironandsteelParticipantTo clarify my last paragraph- in order to use the same widget in two different roles (a list of upcoming events & a “next event only” widget), I simply test for the value of the widget title, and if it is “Next Event”, then I customize the view to display to entire event details. This is not really related to the question on this thread- I just wanted to explain what I was doing in the code.
October 30, 2013 at 8:14 pm in reply to: how can I place something at the top of the events list widget? #73921ironandsteelParticipantKelly- what I want to do is extremely simple: I want to have control over what appears at the top of the list events widget- like be able to put whatever html there that I want. Specifically, I want to put a graphic there that is a link. I just have not been able to figure out what code draws the widget itself. I can put some text at the top of the file, and it gets repeated for every event. I just want to see how to print “hello world” at the top of the widget. In my override I have the line “I want html this to only appear once, at the top” at the top of the file, yet it appears with every event.
Here is a pastebin of my list-widget.php override.
http://pastebin.com/Qn45pWWH
It is very brain dead what I’m doing, but it works. If the title for the widget is set to “Next Event”, then I display the_content(). I use this on the home page of the site to display the next upcoming event.
Thanks for helping!October 11, 2013 at 8:38 am in reply to: how do I display the next upcoming event on a page? (TEC pro) #70548ironandsteelParticipantGreat response- thanks!
October 11, 2013 at 7:32 am in reply to: how do I display the next upcoming event on a page? (TEC pro) #70532ironandsteelParticipantKelly- i want to bump this question. There MUST be a simple way to display the next upcoming event and all its details in a page. I can’t be the first person to want to do this. When you go to the home page, we want to see what the next thing coming up is.
Isn’t there a short code that does this?
Thanks!October 10, 2013 at 4:27 pm in reply to: How to make WooCommerce tickets appear in WooCommerce shop page? #70469ironandsteelParticipantI found out where to change the code so tickets that you add from inside the event default to visible. I edited:
/wp-content/plugins/wootickets/classes/class-wootickets.phpline 284 is:
update_post_meta( $ticket->ID, ‘_visibility’, ‘hidden’ );You change the ‘hidden’ to ‘visible’. Other possible values are ‘search’ or ‘catalog’.
I hope this helps. BTW, I don’t understand why these are hidden by default? This would be handy to be settable in settings.
October 10, 2013 at 3:19 pm in reply to: how do I display the next upcoming event on a page? (TEC pro) #70444ironandsteelParticipantActually, the list widget will not do it. I need to display all of the event info- just as though you went to the single event page. Maybe I’ll look at the list widget code and see if I can figure out what’s going on.
Thanks.October 10, 2013 at 3:15 pm in reply to: how do I display the next upcoming event on a page? (TEC pro) #70443ironandsteelParticipantI will investigate- but isn’t there a shortcode I can insert into the page that will show the latest event? If I can make the widget appear along with some hand-entered html for the home page, that will work. I’m kinda new to wordpress, but a very experienced php/javascript etc developer. Thanks!
October 10, 2013 at 3:09 pm in reply to: How to make WooCommerce tickets appear in WooCommerce shop page? #70441ironandsteelParticipantKelly- thanks for that answer- I hadn’t noticed that catalog setting. However, in order to make this as easy as possible for my client, I want to make this default to “Catalog/search” rather than hidden. I am going to grep “hidden” and try to find where this is set in the ticket plugin, but maybe you can help me locate it. Thanks!
-
AuthorPosts