greencode
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Query using custom field for event date not workingThanks @vtxyzzy but that makes no difference.
Forum: Fixing WordPress
In reply to: Query using custom field for event date not workingWhat I have just noticed with this is if I have
'posts_per_page' => '-1'Everything works correctly and all events show. However if I use
'posts_per_page' => '8'i.e. to limit the amount of events I’d like to show then this doesn’t show any events.
Any ideas?
Forum: Plugins
In reply to: [Tiled Gallery Carousel Without JetPack] Failing validationJust wondering if this is under consideration i.e. being able to pass validation, or not? Thanks.
Forum: Fixing WordPress
In reply to: New posts using defaul url rather than date as setIt started happening on v4.2 of WP. Here’s a post I started about the same issue, with a few more details: https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts?replies=13
Forum: Fixing WordPress
In reply to: New posts using defaul url rather than date as setFortunately for me I was in a position where I could change this as I’ve only just started the site build that incorporates this functionality.
What I ended up doing is using Advanced Custom Fields and entering a start and end date for the event and using that to display it in the front end by order of the date in the custom field.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsI’ve decided to go down a different route with this, using the custom field to insert the date instead of using the publish date.
Forum: Fixing WordPress
In reply to: Query using custom field for event date not workingAmazing! Thanks for this. Works perfectly 🙂
Forum: Fixing WordPress
In reply to: Query using custom field for event date not workingThis is brilliant and just what I was looking for!
Is there any way of adding the Month for events i.e.
May:
Event 1
Event 2June:
Event 3
Event 4Or does that get really complicated?!
Forum: Fixing WordPress
In reply to: Custom post types not using pretty permalinkI’m having the same issue over here.
Looks like this was done on WP v4.2 and from what I can see there’s no way of getting pretty permalinks on future posts.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsDid that this morning and it looks like this was changed in 4.2 (https://core.trac.wordpress.org/ticket/30910) so from what I can see there’s no way of displaying a pretty permalink with scheduled/future posts.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsThanks for trying.
I’ve actually just gone through every release since 4.1.3 to see when the problem started to occur and it was 4.2 that it appeared. 4.1.5 was the last working version with the correct permalink structure on “Future” posts.
Just gone through and deactivated all plugins and still the same issue so this must be a bug with the WP core.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsAs previously mentioned I’ve already done that. The htaccess file is showing:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressI have cleared cache, tried in 3 different browsers on two different Macs and still the same. Default permalinks for Future posts, correct permalinks for Published posts.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsExactly the same with regular posts as well i.e. /?p=618
This wasn’t happening previous to upgrading to 4.2.2.
Forum: Fixing WordPress
In reply to: URLs incorrect for scheduled postsHi. Yep, done all of that but still the same issue. Basically with “Published” posts the permalink is showing correctly. With “Scheduled” posts that I’m displaying on the live site the url is still as per this example site.com/?post_type=event&p=596
Forum: Fixing WordPress
In reply to: New posts using defaul url rather than date as setI’m going to keep an eye on this post as exactly the same is happening with me with WP 4.2.2. Was previously showing /event/an-event/ but now showing /?post_type=event&p=596