niceandripe
Forum Replies Created
-
Forum: Plugins
In reply to: need to order the Admin > Edit Post list by custom field valuelooks promising Frankie – I’m playing with 3.1 on my dev server, so I’ll look into it.
Thanks
Forum: Fixing WordPress
In reply to: Styling the native gallerysorry to jump in on this topic, but it’s closely related…
is it possible to use the functions.php to add a class to the 3rd <dl> outputted by the gallery shortcode?
Forum: Plugins
In reply to: Events Calendar or listingi’ve found this, but it’s not free ($30 per use)
but it’s clean and works very well – the best events / calendar plugin i’ve used (and i’ve tried most of them!)
Forum: Plugins
In reply to: need to order the Admin > Edit Post list by custom field valuewas really hoping on a response – is this at all possible without hacking the core?
Forum: Plugins
In reply to: wp_tag_cloud uses archive.php instead of tag.phptag.php is only loaded for post tags.
You should create a new taxonomy.php file and place this line of code in it:
<?php include ./tag.php; ?>
Forum: Plugins
In reply to: problem with post_type on custom post type in Loopthis was solved on trac
https://core.trac.www.ads-software.com/ticket/14304Looks like you are always setting your $post_type = ‘directory’; To do a check you would need to use == rather than =.
Check the code below, it should do the trick.
<?php if ( in_category( _x('gallery', 'gallery category slug') ) ) : ?> XXX - this is what i expect for gallery posts <?php elseif ( $post_type == 'directory' ) : ?> YYY - this is what i expect for directory (custom) posts <?php else : ?> ZZZ - this is what i expect for regular posts <?php endif; ?>
Forum: Plugins
In reply to: adding a WHERE 'x' >= 'y' to my WP_Querythanks Jon – I totally overlooked that when trawling thru the codex!
Forum: Plugins
In reply to: Admin menu reorderdid you find a way to do this?
Forum: Plugins
In reply to: problem with post_type on custom post typeperfect, thanks
Forum: Plugins
In reply to: specify custom field with class in a custom post type?OK, can I use javascript to detect when the option value of ‘date’ is selected and apply a class of ‘date-calendar’ to the text input field?
<select id="metakeyselect" name="metakeyselect" tabindex="7"> <option value="#NONE#">— Select —</option> <option value='date'>date</option> </select> <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />
Forum: Plugins
In reply to: specify custom field with class in a custom post type?bump