sincewelastspoke
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show a text link only on certain pages?Brilliant!!!
Many thanks esmi, appreciate the help.
Forum: Fixing WordPress
In reply to: Only show posts in the past 3 months…Thanks for the reply, Michael ??
OK, so I go with:
<?php //based on Austin Matzko's code from wp-hackers email list function filter_where($where = '') { //posts in the last 90 days $where .= " AND post_date > '" . date('Y-m-d', strtotime('-90 days')) . "'"; return $where; } add_filter('posts_where', 'filter_where'); ?> <?php if (have_posts()) : ?>
Would the above do?
Forum: Fixing WordPress
In reply to: Only show posts in the past 3 months…Can you confirm if this is correct?
Should I add the above code to my script.I only want to display posts in the past 3 months.
Thanks
Forum: Fixing WordPress
In reply to: Only show posts in the past 3 months…Many thanks for the reply.
And I would add something like this code to my ‘archive.php’ script?
<?php //based on Austin Matzko's code from wp-hackers email list function filter_where($where = '') { //posts in the last 30 days //$where .= " AND post_date > '" . date('Y-m-d', strtotime('-30 days')) . "'"; return $where; } add_filter('posts_where', 'filter_where'); query_posts($query_string); ?>
Forum: Fixing WordPress
In reply to: Retrieve content from 1 page to display in another?Found query_posts() ??
Here’s the code I eventually used:
<?php /** * @package WordPress * @subpackage Default_Theme */ /* Template Name: Terms */ query_posts('page_id=44'); global $more; // set $more to 0 in order to only get the first part of the post $more = 0; // the Loop while (have_posts()) : the_post(); // the content of the post the_content('Read the full post ?'); endwhile; ?>
Thanks for your help.
Forum: Fixing WordPress
In reply to: Retrieve content from 1 page to display in another?Many thanks for the reply.
Does this only work for ‘Posts’, or can it work for Pages too?
Thanks again
Forum: Fixing WordPress
In reply to: Styling my ‘wp_list_pages’ output ?Many thanks for the reply.
I will look into PageListsPlus.
I’m considering trying a SQL query of my own, with a few if statements. This may be madness though ??
Anyone else care to help too?
Many thanks.
Forum: Installing WordPress
In reply to: Remove xmlrpc.php?rsd from my wp_head() output?Many thanks for your speedy reply whooami, much appreciated.
Is there any secur1ty risk involved in doing this?
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Using different email address for different subjectsAnyone? Bueller?
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Change recipient based on subject selected?Can anyone help with this?
Can anyone help with this?
Thank you
Forum: Plugins
In reply to: [Plugin: Contact Form 7] 2 Different Forms, 1 WP InstallHey, sorry for the ‘bump’, but…
Is there an easy way to point the different subjects to use different email addresses?
Would I have to get into the script to do this?
Also, I’d like either the telephone OR email to be mandatory. So long as they fill out one of them, it’s fine.
Is this easy to configure in the script?Many thanks.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] 2 Different Forms, 1 WP InstallCool, seems to be working a treat.
Genius bit of script.Is there an easy way to point the different subjects to different email addresses?
Many thanks once more for your help.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] 2 Different Forms, 1 WP InstallMy apologies for such a late reply.
So I can make 2 forms with ‘Contact Form 7’ and have the ability to changes values in the fields?
I also need to be able to change the select menu options and for those to go to different email addresses.Is this still possible?
Many thanks.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] 2 Different Forms, 1 WP InstallAnyone?