Title: postoy's Replies | WordPress.org

---

# postoy

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

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

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Show events from category on page](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-show-events-from-category-on-page/)
 *  [postoy](https://wordpress.org/support/users/postoy/)
 * (@postoy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-show-events-from-category-on-page/#post-2367139)
 * I posted here:
 * [http://wordpress.org/support/topic/plugin-all-in-one-event-calendar-order-event-by-start-date?replies=7#post-3118224](http://wordpress.org/support/topic/plugin-all-in-one-event-calendar-order-event-by-start-date?replies=7#post-3118224)
 * See $limit for specifying categories:
    [http://pastebin.com/AKShCebx](http://pastebin.com/AKShCebx)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Timely All-in-One Events Calendar] [Plugin: All-in-One Event Calendar] Order event by start date](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-order-event-by-start-date/)
 *  [postoy](https://wordpress.org/support/users/postoy/)
 * (@postoy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-all-in-one-event-calendar-order-event-by-start-date/#post-2383111)
 * As of version 1.8.3:
 * [http://pastebin.com/AKShCebx](http://pastebin.com/AKShCebx)
 * The functions of importance are:
 * get_events_relative_to()
    get_agenda_date_array()
 * If you try to run the code from pastebin, there is no output. Review agenda-widget.
   php for variables.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How to replace a function within a plugin?](https://wordpress.org/support/topic/how-to-replace-a-function-within-a-plugin/)
 *  [postoy](https://wordpress.org/support/users/postoy/)
 * (@postoy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/how-to-replace-a-function-within-a-plugin/#post-2582177)
 * Apologies for the dated information. You should be able to achieve this with 
   PHP 5.3+
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How to replace a function within a plugin?](https://wordpress.org/support/topic/how-to-replace-a-function-within-a-plugin/)
 *  [postoy](https://wordpress.org/support/users/postoy/)
 * (@postoy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/how-to-replace-a-function-within-a-plugin/#post-2582176)
 * I presume you are trying to replace a plugin’s function within a class. It’s 
   called monkey patching and your limitations are with PHP itself. More here:
 * [http://stackoverflow.com/questions/137006/php-redefine-class-methods-or-class](http://stackoverflow.com/questions/137006/php-redefine-class-methods-or-class)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Permalinks 404 with custom post type.](https://wordpress.org/support/topic/permalinks-404-with-custom-post-type/)
 *  [postoy](https://wordpress.org/support/users/postoy/)
 * (@postoy)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/permalinks-404-with-custom-post-type/#post-1508503)
 * This might work for some of you:
 * After adding a custom post type, you may need to navigate to the Permalinks Settings
   page. There’s no need to update or Save Changes.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with Getting Custom Fields in Ver 3.0???](https://wordpress.org/support/topic/problem-with-getting-custom-fields-in-ver-30/)
 *  [postoy](https://wordpress.org/support/users/postoy/)
 * (@postoy)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/problem-with-getting-custom-fields-in-ver-30/#post-1543125)
 * You need to specify the page id along with the key in get_post_custom_values().
 * Should look something like this:
 * get_post_custom_values($key=’image’, $post_id=$post->ID)

Viewing 6 replies - 1 through 6 (of 6 total)