Valdi
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Contact Form 7] How to pull mail recipient from Post’s cusom field?I’ve managed to fix this problem by adding my own form.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] How to pull mail recipient from Post’s cusom field?Copy the form’s code on preview and add it manually and then add a Hidden Field.
<input type="hidden" id="receiver" name="receiver" value="email@company.com"/>Forum: Plugins
In reply to: [Plugin: Contact Form 7] How to pull mail recipient from Post’s cusom field?What about hidden fields?
Forum: Plugins
In reply to: [Plugin: Contact Form 7] How to pull mail recipient from Post’s cusom field?Any help?
Forum: Fixing WordPress
In reply to: query_posts & WP_Query not working in categoriesFound the problem… the plugin WPML Multilingual CMS causes the problems.
Forum: Fixing WordPress
In reply to: Main Text is WhiteIf you want to change only the post content text color, change .postarea to:
.postarea { color:#000; -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#FFFFFF url(images/homepagetop.gif) no-repeat scroll center top; border:1px solid #DDDDDD; float:left; margin:0 0 10px; padding:10px; width:588px; }Forum: Fixing WordPress
In reply to: Main Text is WhiteIn your css file (style.css):
body { color:#FFFFFF; font-family:Arial,Tahoma,Verdana; font-size:12px; }change
color:#FFFFFF;to a color you want, try black:
color:#000;Forum: Fixing WordPress
In reply to: query_posts & WP_Query not working in categoriesTested this on a previous version of WP and everything seems to work fine.
So I guess it has to do with the 2.9 version…
Any help would be appreciated.
Thanks.
Forum: Fixing WordPress
In reply to: query_posts & WP_Query not working in categoriesI’ve managed to make one of the loops work in a page template using this:
<?php $my_query = new WP_Query('cat=9,29,7,27,8,28&paged=$paged&posts_per_page=15&orderby=rand'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID;?> <--- Content here ---> <?php endwhile; ?> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?> <?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?> <?php endwhile; ?> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?> <?php endif;?>But the pagination won’t work now…
This is the loop for categories:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <--- Content here ---> <?php endwhile; ?> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?> <?php endif; ?>^ When I go to a category this will list posts from all categories…