Check if variable is set in filter

The variable you have named $query is actually the WP_Query instance having filters applied to it. You can simply call its function get to retrieve query vars. For example: function votes( $where, $query ) { $sort = $query->get(‘sort’); if (!empty($sort) $where .= ” AND $sort >= votes”; return $where; }

Suggestions for Dressing up blog for the holidays

Themes The Free Themes Directory at WordPress.org just updated its list of featured themes, and now includes two different Christmas-related themes: Red Christmas This Christmas Plug-ins The most commonly used holiday/Winter plug-in is the snow plug-in featured on WordPress.com: Snow Storm There are also 35 different plug-ins in the repository that match a search for … Read more

How to grab facebook page feed?

If you’re talking about subscribing to a page’s wall (not notifications feed), then yes, you can do that. To find the feed for the wall, the easiest thing is to visit the target Facebook page in Firefox. Click the RSS icon in the address bar and choose “Subscribe to THE PAGE NAME”. This will bring … Read more

Is there a specific term for Plugins that are specified in a WordPress Post using Comments?

There’s a similar concept for plugins called shortcodes (as andrewk said). The syntax for these is slightly different than the more tag (which does look a lot like an html comment). Shortcodes are wrapped in square braces like so: [myshortcode arg1=”something” arg2=”something else”] Shortocde is the term for the technique, but plugins that implement shortcodes … Read more

‘Organize Series Plugin’ as muti author feature

May I suggest using the Posts 2 Posts plugin instead. You can create a ‘serie’ custom post type, specifying the appropriate capabilites, which would allow authors to add descriptions, order posts using drag-and-drop, etc.: https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage https://github.com/scribu/wp-posts-to-posts/wiki/Connection-ordering