WPWanderer
Forum Replies Created
-
Forum: Plugins
In reply to: [Event Organiser] echo single date of recurring eventThanks, Stephen. I actually wrote my last response before I saw your alternative option comments. Much appreciated.
I actually thought of doing something with the url, but was hoping there was some other way. I’ll either do this or something more generic like listing them all.
Thanks!
Forum: Plugins
In reply to: [Event Organiser] echo single date of recurring eventMaybe i need to better explain myself : ) .
On a single event template, for a recurring event, I am trying to post the actual date that occurrence falls on. I can post when the occurrence series starts and ends. And I can list all the occurrences, but I wonder if it is possible to list the occurrence date without specifying the occurrence id for each instance?
Forum: Plugins
In reply to: [Event Organiser] echo single date of recurring eventThanks. I got this part and making a list of occurrences and the first and last occurrence.
What I am noodling is trying to use eo_get_the_start to list only the date, for example, the 6th occurrence out of 20. Kind of confusing. From the examples I have seen, you list all occurrence or say these occur from this date to that. What I want to do is match up the date with the date of the occurrence when viewed on a single event.
Forum: Plugins
In reply to: [Event Organiser] End time to default to start time?Thanks, for the response. I understand, and understand why it would be a low priority.
Forum: Plugins
In reply to: [Event Organiser] Date queries only allowed in Pro…Lol. I am just posting to myself. Anyways, I got this to work. For whatever reason I came back today and it started working with ‘today’.
Forum: Plugins
In reply to: [Event Organiser] Date queries only allowed in Pro…Ah, I think I know what I was doing wrong, thus my next question.
When using ondate’=>’today’ it doesn’t work as expected when an event time is given. Although, when “all day event” is checked it does.
I’m using args in a wp_query to list events. What do you suggest for the best way to achieve this.
Forum: Fixing WordPress
In reply to: Do I need to add jquery to admin tab/panel?I actually did do a search before I posted and hadn’t found anything I clearly understood.
However, found a nice clear post of the issue and no conflict with jquery on the Admin side. If anybody is wondering down the road check the link below.
Little things like this can take awhile to work through.
Forum: Fixing WordPress
In reply to: Pagination with wp_query and cpt…Thanks. I will try it out. As I said, I got it to work. But I am finding ‘paged’ pagination on cpt’s and custom queries to be a bit funky, so just trying to get a good grasp of it.
Forum: Fixing WordPress
In reply to: Pagination with wp_query and cpt…Basically, I got it to work just trying to understand why it works. This is for showing pagination for a custom post type and query.
For the loop, I got the pagination to work for this:
$wp_query = new WP_Query(); $wp_query -> query($args); while ($wp_query->have_posts()) : $wp_query->the_post(); ?>However, I couldn’t get this loop to work with pagination, which is pretty standard:
$loop = new WP_Query($args); if($loop->have_posts()) : while($loop->have_posts()) : $loop->the_post(); ?>Arguments are the same for both.
Forum: Plugins
In reply to: Time sort with meta_key using UNIX timestamp failing due to date differenceHey Sean,
this is the exact issue I have having. Thought it was working then when I add an event a couple days later the time order gets messed up.
Did you find a good way to get this done?
Thanks
Forum: Fixing WordPress
In reply to: Removing number to permalink for duplicate post titles..Thanks Randy. The date is actually data from a custom field (not publishing date), thus why I had to do a custom insert into the permalink.
What I actually ended up doing is going into that plugin I mentioned and made a conditional tweak so that it allowed duplicates for my custom post type of “events.” This way it doesn’t mess things up for my normal posts.
Anyways, posted what I did just in case someone else runs into this issue.
Forum: Fixing WordPress
In reply to: Child theme question..Great explanation. Thanks.
Forum: Plugins
In reply to: [CMB2] Time Formats…For anybody else looking, I found this to change the defaults of the picker itself to 24 hour time or what have you.
https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress/issues/528
It mentions a hook in there. I changed to CMB2 and it seems to work.
Forum: Plugins
In reply to: [CMB2] Time Formats…Thanks. Yeah, I don’t think I can pass that through an arg for a wp_query and sorting by time.
I hope you guys make the decision to extend different formats for both time and date.
Forum: Plugins
In reply to: [CMB2] Date formats…Great. No worries.