postoy
Forum Replies Created
-
I posted here:
See $limit for specifying categories:
http://pastebin.com/AKShCebxAs of version 1.8.3:
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
In reply to: How to replace a function within a plugin?Apologies for the dated information. You should be able to achieve this with PHP 5.3+
Forum: Plugins
In reply to: How to replace a function within a plugin?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
Forum: Fixing WordPress
In reply to: Permalinks 404 with custom post type.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
In reply to: Problem with Getting Custom Fields in Ver 3.0???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)