tjesker
Forum Replies Created
-
I just read up on Custom Date/Time Formatting and it looks like #_{Y/m/d} in the URL would give me exactly what I am looking for but the code doesn’t translate into a date in the URL – it just shows the codes.
<li><strong><a href="/#_{Y/m/d}/">#_LOCATIONTOWN</a></strong> - #_LOCATIONADDRESS, #_LOCATIONPOSTCODE </li>
Is there some way I can get it to show in the URL?
- This reply was modified 7 years, 3 months ago by tjesker.
Added note – as a test I temporarily disabled the “Widgets Shortcode” plugin and added the Events List widget to the top right menu widget area and the exact same content displays but just a different location. So my use of the plugin and inserting shortcode should not affect my original question.
I just learned that my theme came with a widget called “Widget Shortcode” which automatically adds a shortcode to widgets so you can insert them in any page anywhere you want. Didn’t realize that functionality wasn’t built into the Event Locations widget.
That settings page doesn’t do anything because I am using and Event Locations widget to display the locations and the “Events page” field is set to [No Events Page] so it would not interfere with the widget. I could not get the list to display the way I wanted doing it the other way.
Yes dynamic linking is what I am looking for. The Locations page displays the town one time for each day we have one or more events there, and I would like to add a link for each location that goes to the calendar date page for the date we have events at that location.
I asked a different question about the same page but pretty sure I have not asked this question before – at least not that I can find
[widget id=”em_locations_widget-2″]
My client decided he likes the order it’s in now so it’s become a non-issue. Thanks for your help. Okay to close ticket.
“Location List/Archives”->”Locations Page” is set to “[No Locations page]” and shortcode from widget has been inserted into Locations page.
Thanks angelo_nwl for your reply. Yes. I previously tried every combination in the two “Default event list ordering” drop down lists and shift refreshed the page each time and it had no effect on the sort order. Then as instructed by Jordanthedesigner, I changed to a different theme (twenty seventeen), changed the drop down lists various ways and shift refreshed again and it again had no effect on the sort order. Sorry I forgot to mention that I did do that in my last reply.
Just now I deactivated all plugins except Events Manager and Events Manager Pro, changed to Twenty Seventeen and got the same result.
Any other ideas?
Thanks Jordanthedesigner but my search of calendar-full.php did not find:
<?php ksort($cell_data[‘events’]); ?>
The closest thing I found was:
<td class=”<?php echo esc_attr($class); ?>”>
so I inserted:
<td class=”<?php echo $class; ?>”>
…below that but it had no effect.
Any suggestions?- This reply was modified 7 years, 3 months ago by tjesker.
Perhaps I should add that all 5 of my events have checked “This event does not have a physical location” because I do not want to have to enter these same events over and over as they are always at every location. Should I be doing this differently?
I just added the following to my widget but still no events display. Am I on the right track?
- [events_list]#_LATT{Active?}Yes{/Active?}[/events_list]
Thanks Don but I could not get that work. The resulting page appears to still want to only show locations *for an event but* I want to show ALL locations and right now I have none of them associated with an event. Actually all of the events (courses) need to be available at all of the locations.
I thought maybe making a custom attribute for each location would allow be to show all locations with a certain attribute but I can’t seem to figure that out either. If I’m on the right track how could I display all “Yes” values below?
#_LATT{Active?}{Yes|No}
Or otherwise how else could I accomplish what I am trying to do?
Here is my attempt to use an events widget https://www.blackburncle.com/courses/locations-all/?preview=true
Thanks
Tom- This reply was modified 7 years, 4 months ago by tjesker.
I just restored the entire site from a Nov 12 backup when both locations and events were displaying and they both work again. Thanks much for your help guys. Will refer back to this post steps above if it happens again.
Thanks for the quick reply Marcus.
It was happening before I updated this plugin – which I did do hoping it would fix the problem.
The theme was not updated. I deactivated 3 plugins that may have been updated right before the problem started but that didn’t help.
Yes, I was hoping to uninstall and delete all event and location data, settings – everything and start over in hopes the problem would go away but uninstall hung and didn’t seem to work.
Events and locations do show in the admin area and are published (not draft) and all have future dates.
Sorry, no errors or messages when trying to uninstall. The page just freezes.
One more tidbit – initially only the location pages was not showing locations but after I removed and added back the plugin and fiddled with settings then the events stopped showing as well.
Oh, and I had a caching plugin enabled at one point days before the problem started and deactivated it and things were working back then. Also cleared local cache, tried different browsers.
I just deactivated and removed the events manager plugin, then using PHPMyAdmin deleted the only wp_em* table remaining – wp_em_meta and then reinstalled the plugin and all of my events and locations are still showing in the admin area – but not not pages.
I tried adding another event but it doesn’t show either
This is really weird!
Any other ideas?