Matthew
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: change color of text posted from commentsYou should be able to do this completely in CSS. Do you have a link to a sample page with comments? Send it over.
It will be something simple like:
div.commenttext { color:#666666 !important; }Forum: Fixing WordPress
In reply to: No links to commenter's websitescomment_author_url is your friend here.
For example
<a href="<?php comment_author_url(); ?>">Visit <?php comment_author(); ?>'s site</a>Forum: Alpha/Beta/RC
In reply to: Draft Pages Still Show in wp_nav_menuMy draft pages are also still showing.
Forum: Plugins
In reply to: [Plugin: Magic Fields] WP 3.0 compatible?Thank Gnuget. I’ve started using it already. I’m very impressed. My new favourite plugin! I look forward to future releases.
Forum: Plugins
In reply to: Tim Thumb Cache ControlIn case anyone else needs the answer to this, the top of the timthumb.php code has these definable variables;
define ('CACHE_SIZE', 5000); // number of files to store before clearing cache define ('CACHE_CLEAR', 1); // maximum number of files to delete on each cache clearForum: Plugins
In reply to: Custom query with WP-PageNaviFrom what I understand, this can’t be done. I gather you have to write your own pagination script. I found this WP pagination help useful.
Forum: Plugins
In reply to: Custom query with WP-PageNaviMaybe I should clarify. This is my custom query. It delivers all the posts from the query on the same page. I want to now use the Page-Navi plugin to paginate the results to 5 per page. Is this possible?
<?php $querystr = "SELECT P . * , PM.meta_value as Default_Order FROM wp_posts P, wp_postmeta PM, wp_term_relationships PC WHERE P.ID = PM.post_id AND PM.meta_key = 'Display_Order' AND P.post_status = 'publish' AND P.post_type = 'post' AND PC.object_id = P.ID AND PC.term_taxonomy_id = 9 AND exists ( SELECT * FROM wp_postmeta DPM WHERE P.ID = DPM.post_id AND DPM.meta_key = 'Suburb' AND DPM.meta_value = 'Sunshine Beach' ) ORDER BY Default_Order+1 ASC"; $pageposts = $wpdb->get_results($querystr, OBJECT); ?> <?php if ($pageposts): ?> <?php foreach ($pageposts as $post): ?> <?php setup_postdata($post); ?> <div id="post_feed"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_excerpt(); ?> </div> <?php endforeach; ?> <div class="pagenavi"> <?php if (function_exists('wp_pagenavi')) { ?><?php wp_pagenavi(); ?><?php } ?> </div> <?php else : ?> <div class="post"> <h2><?php _e('No properties have been found. Please try again.'); ?></h2> </div> <?php endif; ?>Forum: Plugins
In reply to: Premium Membership a la WPMU DevThanks mercime! Much appreciated.
Forum: Fixing WordPress
In reply to: query_posts by custom field and order by another fieldGreat work. Will give it a whirl. Thanks!
Forum: Plugins
In reply to: Remove custom fields write panelAhhh, this is already a feature of Flutter. No need for any other plugins.
Forum: Plugins
In reply to: Combining categories and custom fields in permalinksMy aim is to have a menu for properties by category then nested locations within this to dedicated pages.
– Holiday Rentals
— Melbourne
— New York
— Orlando
– Permenant Rentals
— London
— Paris
— Rome
– Sales
— Orlando
— New York
— WashingtonI can build the menu structure dynamically myself. I just need some SEF URLS which will return results.
Forum: Themes and Templates
In reply to: Combining wp_list_pages and wp_list_categories resultsCheers MichaelH – that will solve for now. Didn’t think an actual function existed which would display both pages and category results anyway… unless I coded it myself. Perhaps a plugin for the future.
Forum: Fixing WordPress
In reply to: Start and end date for postsWhy not just use the Custom Fields?
Forum: Plugins
In reply to: [Plugin: FormBuilder] Export timeoutI decided to re-write the export class. It can be seen here: FormBuilder plugin export fix
Forum: Plugins
In reply to: Front-end registration/login/profileSome googling of “wordpress members directory” was useful. Plus check out Customize Your Community Plugin