Commas in Tag Cloud
According to the WordPress Codex on tag clouds, you need to specify a comma as the “separator” argument. $args = “separator”=>”,”; wp_tag_cloud($args);
According to the WordPress Codex on tag clouds, you need to specify a comma as the “separator” argument. $args = “separator”=>”,”; wp_tag_cloud($args);
You’re looking for add_editor_style(). Just drop that in your functions.php file and then put an editor-style.css file in your theme with whatever styles you want.
I don’t think it’s just occasionally, that will always get you the post meta of the first post on a search results page, a taxonomy page, an archive page – any page where there are multiple posts, because the $post global will always be populated with the first post of any main query result. EDIT- … Read more
I do not know of a way and I dont think thats possible, but why not just use a wordpress gallery that gives you the option to have captions below the images?
If you have registered your option without setting the fourth parameter $autoload to no your calls to get_option will not trigger any extra database call because all aotoload options are stored in the cache when the site is loaded. To test it add … define( ‘WP_DEBUG’, TRUE ); define( ‘SAVEQUERIES’, TRUE ); … to your … Read more
Taxonomies in WordPress don’t work like in biology or similar fields. They are not mutually exclusive. There are some ways to simulate such a behavior (see post formats for an example), but in general you have to expect cases where on post object belongs to more than one taxon (term). And there is no really … Read more
You can add other classes to individual menu items manually. Within the Appearance->Menus page, click Screen Options in the top right corner. You will see a menu that looks like this: Check off CSS Classes and it will give you an extra form field per page item. Adding a custom class will allow you to … Read more
There’s a few options out there: Jeremy Clark’s Theme/Plugin Update Notifier OR WP-Updates which is… pretty freakin sweet IMHO Thanks!
You can use parse_query: function wpa64292_parse_query( $query ) { if( isset( $query->query_vars[‘s’] ) && !empty( $query->query_vars[‘s’] ) ) $query->set( ‘s’, prepSearchStr( $query->query_vars[‘s’] ) ); } add_action( ‘parse_query’, ‘wpa64292_parse_query’ ); Note that it won’t alter the query string you see in the browser, but if you echo get_query_var(‘s’) in your template you’ll see it’s been altered.
If you are implementing your car and models as custom taxonomies, then this plugin will probably help you out. http://wordpress.org/extend/plugins/query-multiple-taxonomies/