Forum Replies Created
-
AuthorPosts
-
simoncarrParticipant
trying this again.. pastebin.com/bywLQgfL
simoncarrParticipantsimoncarrParticipantAfter doing a bit of research I found a jQuery method for pulling in a DIV from a specific page. Code below:
<script> $(document).ready(function(){ $('#mydiv').load('http://mysite.com/ div#tribe-geo-map-wrapper'); }) </script>
In my testing this worked well for any kind of informational div.. But the Google Map in particular would not get pulled in using this technique. Any ideas why this might be? I’m not sure if its because the map hasn’t loaded prior to getting pulled in with this JS code.
Thanks.
simoncarrParticipantHmm. I would rather not load the entire events page on the homepage if possible.
Is it possible to have the Events Calendar MAP setup in a widget? If so, I could then load the widget on the homepage.
Thanks.
simoncarrParticipantThanks for the info.
After doing a bit more research it seems what I am trying to do is not going to be possible in combination with the plugin I mentioned. Instead I am going to attempt to customize the existing Events Calendar map.
-Simon
January 12, 2015 at 2:18 pm in reply to: Show only events attributed to a certain Category or Speaker #931769simoncarrParticipantI was able to isolate the error that I was having..
But as a follow up question — How can I display the Event Cost and Website link within the tribe_get_events array?
January 12, 2015 at 12:24 pm in reply to: Show only events attributed to a certain Category or Speaker #931697simoncarrParticipantOr – could it be that this kind of custom filtering only works with the Pro plugin and not the regular one?
January 12, 2015 at 12:15 pm in reply to: Show only events attributed to a certain Category or Speaker #931691simoncarrParticipantThanks for the help George.
I’m getting closer to having this resolved. Below is some code that I am using – it seems to work, but once this is placed within my Genesis template it fails. Any ideas why that would be?
<?php global $post; $all_events = tribe_get_events(array( 'eventDisplay'=>'upcoming', 'posts_per_page'=>4, 'tax_query'=> array( array( 'taxonomy' => 'tribe_events_cat', 'field' => 'slug', 'terms' => 'category-slug' ) ) )); foreach($all_events as $post) { setup_postdata($post); ?>
simoncarrParticipantI fixed this by deleting some extra javascript includes in the footer – weird.
simoncarrParticipantThis reply is private.
May 16, 2014 at 11:18 am in reply to: How to show Previous Events if there are no Upcoming Events #163706simoncarrParticipantBarry,
Sorry – I’m not sure I follow what you are saying. Can you show me how you would structure that code?
Thanks
simoncarrParticipantBarry – I’ve tried visiting the permalinks page. no luck.
I’ve deactivated most of the plugins to see if that changes anything. I can’t remove them all since it is a production site.. My last resort will be the re-install the entire site on a different server, but that is a huge task to troubleshoot this.
QUESTION – Is it normal that both the regular Events plugin AND Pro plugin should both be activated? I had turned off the regular plugin, which broke the site.
QUESTION 2 – The previous license expired from another developer. I had to signup for a new license. Is it possibly broken because the license is in my account now? I am guessing not since the detail pages load.
MIGHT HELP: My template in Display Settings is ‘Default Page Template’.. If I change this to ‘Default Events Template’ the main Events page does display. However, this is not the desired styling.. but it does work. Any idea why the Default Page Template wouldn’t pull the Events in?? I’ve tried the other page templates and they don’t work either.
-
AuthorPosts