Title: greencode's Replies - page 13 | WordPress.org

---

# greencode

  [  ](https://wordpress.org/support/users/greencode/)

 *   [Profile](https://wordpress.org/support/users/greencode/)
 *   [Topics Started](https://wordpress.org/support/users/greencode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/greencode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/greencode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/greencode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/greencode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/greencode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 181 through 195 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/12/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[12](https://wordpress.org/support/users/greencode/replies/page/12/?output_format=md)
13 [14](https://wordpress.org/support/users/greencode/replies/page/14/?output_format=md)…
[34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/14/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query using custom field for event date not working](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/#post-5092365)
 * Thanks [@vtxyzzy](https://wordpress.org/support/users/vtxyzzy/) but that makes
   no difference.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query using custom field for event date not working](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/#post-5092363)
 * What 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tiled Gallery Carousel Without JetPack] Failing validation](https://wordpress.org/support/topic/failing-validation/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/failing-validation/#post-5678907)
 * Just wondering if this is under consideration i.e. being able to pass validation,
   or not? Thanks.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [New posts using defaul url rather than date as set](https://wordpress.org/support/topic/new-posts-using-defaul-url-rather-than-date-as-set/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/new-posts-using-defaul-url-rather-than-date-as-set/#post-6109096)
 * It 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](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts?replies=13)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [New posts using defaul url rather than date as set](https://wordpress.org/support/topic/new-posts-using-defaul-url-rather-than-date-as-set/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/new-posts-using-defaul-url-rather-than-date-as-set/#post-6109080)
 * Fortunately 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URLs incorrect for scheduled posts](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/#post-6109561)
 * I’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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query using custom field for event date not working](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/#post-5092362)
 * Amazing! Thanks for this. Works perfectly 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query using custom field for event date not working](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/query-using-custom-field-for-event-date-not-working/#post-5092360)
 * This 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 2
 * June:
    Event 3 Event 4
 * Or does that get really complicated?!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom post types not using pretty permalink](https://wordpress.org/support/topic/custom-post-types-not-using-pretty-permalink/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/custom-post-types-not-using-pretty-permalink/#post-6076747)
 * I’m having the same issue [over here](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts?replies=11#post-6929898).
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URLs incorrect for scheduled posts](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/#post-6109518)
 * Did that this morning and it looks like this was changed in 4.2 ([https://core.trac.wordpress.org/ticket/30910](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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URLs incorrect for scheduled posts](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/#post-6109498)
 * Thanks 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URLs incorrect for scheduled posts](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/#post-6109454)
 * As 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 WordPress
       ```
   
 * I 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URLs incorrect for scheduled posts](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/#post-6109450)
 * Exactly 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URLs incorrect for scheduled posts](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts/#post-6109445)
 * Hi. 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [New posts using defaul url rather than date as set](https://wordpress.org/support/topic/new-posts-using-defaul-url-rather-than-date-as-set/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [11 years ago](https://wordpress.org/support/topic/new-posts-using-defaul-url-rather-than-date-as-set/#post-6108887)
 * I’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

Viewing 15 replies - 181 through 195 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/12/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[12](https://wordpress.org/support/users/greencode/replies/page/12/?output_format=md)
13 [14](https://wordpress.org/support/users/greencode/replies/page/14/?output_format=md)…
[34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/14/?output_format=md)