Forum Replies Created
-
AuthorPosts
-
February 16, 2012 at 11:24 am in reply to: Looking for a way to merge Event Category with Blog Category #15276
Jonah
ParticipantNo problem Jason, hopefully that steered you in the right direction.
February 16, 2012 at 10:46 am in reply to: Looking for a way to merge Event Category with Blog Category #15270Jonah
ParticipantHi Jason,
If you don’t know PHP very well this is going to be difficult and we’re not going to really be able to help you out much. This might help though, I found this googling around for ‘genesis modify standard loop’ (Source: http://designsbynickthegeek.com/tutorials/genesis-explained-framework-actions):
remove_action('genesis_loop', 'genesis_do_loop');
add_action('genesis_loop', 'child_do_loop');
function child_do_loop() {
global $query_string;$args = array ( 'cat' => -1, 'order' => 'ASC' );
$args = wp_parse_args( $query_string, $args );
genesis_custom_loop( $args );
}
You can try placing that in your functions.php file and then you’ll want to modify the arguments being passed to the query to include the ‘tribe_events’ post type and the tax_query args for your category… Something along these lines:
remove_action('genesis_loop', 'genesis_do_loop');
add_action('genesis_loop', 'child_do_loop');
function child_do_loop() {
global $query_string;$args = array ( 'post_type' => array('post','tribe_events'), 'tax_query' => array(... use the above tax_query code ...) );
$args = wp_parse_args( $query_string, $args );
genesis_custom_loop( $args );
}
You’ll probably also only want to execute this on certain pages otherwise this is going to affect the standard loop wherever it’s called (i.e. archives, search and category pages)
I hope that helps, good luck!
JonahJonah
ParticipantOoops, sorry about that Ron and sorry about calling you Ken 🙂 Must have mixes up threads… I meant line 139.
Jonah
ParticipantAwesome, glad to hear!
Jonah
ParticipantHi Rene,
Yes you can modify the CSS completely so that the widget or anything else on your site is displayed however you want. The easiest way to modify the plugins CSS is to make a duplicate copy of /wp-content/plugins/the-events-calendar/resources/events.css and place in an ‘events’ folder in your theme. You’ll need to figure out the CSS on your own but you’ll probably want to do something like float the widget list items to get them side by side…
As for getting images in the widgets, I wrote up a tutorial on this: https://theeventscalendar.com/how-to-show-featured-thumbnails-in-the-next-events-widget/
I hope that helps,
– JonahJonah
ParticipantHi Daniel,
I could have sworn I replied to this yesterday… not sure why it didn’t post. There are two versions of the list widget and it’s overrides, the regular one (/wp-content/plugins/the-events-calendar/views/events-list-load-widget-display.php) and the PRO one (/wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php
If you have PRO activated the regular widget is not used and the PRO is so you’ll want to override it instead. Make sense?
Try that and let me know if you’re still having trouble.
– Jonah
Jonah
ParticipantHey Coach,
You should be able to add ‘.tribe-events-tooltip h5’ as a selector to target to apply your background to the tooltip titles. Try that and let me know whether or not it works.
– Jonah
Jonah
ParticipantOh, then just remove lines 22 and 23 in single.php
Jonah
ParticipantHi Ken,
What you’ll want to do here is override the table.php view that renders the content in the calendar view. To do this make a duplicate copy of /wp-content/plugins/the-events-calendar/views/table.php in an ‘events’ folder in your theme.
Next find line 147 and you’ll see it’s just a basic HTML link. All we need to do is add the event date/time and we can do that with the plugin template function: echo tribe_get_start_date();
Replace the code on that with this: http://pastebin.com/hVuD9aJy
That will include the function. If you need to change the date/time format just take a look at our documentation on the function: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-date-functions/#functiontribe_get_start_date
I hope that helps.
Jonah
ParticipantHey Ken,
What about using:
&& 'tribe_events' != get_post_type()
or:
&& !tribe_is_event()
Jonah
ParticipantHi there, can you post a link to your site so I can take a look at what you’ve got setup?
February 13, 2012 at 9:48 pm in reply to: iCal not importing correctly into Outlook: how do I access the .ics generating c #15125Jonah
ParticipantHi Marcy,
It does indeed sound like you do not have enough memory allocated for your website. You’ll want to first try allocating more memory as I suspect this will resolve the issue. This article outlines 5 ways you can do this on your server: http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/
If none of those work you’ll need to contact your web host to see about having them doing it for you.
Regards,
JonahJonah
ParticipantHi Leonard,
Yep you can modify the CSS by overriding the plugins CSS by placing a duplicate copy of events.css (wp-content/plugins/the-events-calendar/resources/events.css) in an ‘events’ folder in your theme.
Look for line 416 that should look like:
.eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
margin: 6px 0 !important;
padding: 0 0 10px 0 !important;
}
Just remove the !important rules like so:
.eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
margin: 6px 0;
padding: 0 0 10px 0;
}
February 13, 2012 at 9:37 pm in reply to: How to delete a single event in a series of reoccurring events #15123Jonah
ParticipantHey Cam,
If you’re using the PRO version of the plugin you’re using the Events List Advanced Widget which uses the override located in:
/wp-content/plugins/events-calendar-pro.2.0.3/views/events-advanced-list-load-widget-display.php
You’ll want to override that file instead.
Let me know if you need anything else with this,
JonahJonah
ParticipantHi Herman, can you provide me WP admin access so I can take a closer look? Please email to: jonahcoyote [at] gmail [dot] com
Thanks,
Jonah -
AuthorPosts
