sgardner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Will this code limit the posts displayed to the last 14 days?Ok I re-read the page you linked to and i overlooked what was plain to see. but now i have another problem.
this is the code;
<?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('-14 days')) . "'"; //posts 30 to 60 days old //$where .= " AND post_date >= '" . date('Y-m-d', strtotime('-60 days')) . "'" . " AND post_date <= '" . date('Y-m-d', strtotime('-30 days')) . "'"; //posts for March 1 to March 15, 2009 //$where .= " AND post_date >= '2009-03-01' AND post_date < '2009-03-16'"; return $where; } add_filter('posts_where', 'filter_where'); query_posts($query_string); ?>when i limit the posts to display the last 14 days this also effects the “recent posts” widget. I have the widget to display the last 5 posts but the list stops after the 14 day cut off.
How can i have the time limit on the Homepage Main Section Only, not effecting the widgets and other pages.
Thanks
StevenForum: Fixing WordPress
In reply to: Will this code limit the posts displayed to the last 14 days?Yes this is where i read first but i dont understand how to impliment posts only within the last 14 days.
Forum: Plugins
In reply to: Plugin to handle a soccer teamMe too!
Forum: Plugins
In reply to: Create a Next Fixture WidgetAnyone willing to help me on this one.
Please.
The website’s i will use it on is
http://www.eastvale.co.uk
and
http://www.burntislandshipyard.co.ukForum: Fixing WordPress
In reply to: How To Create a custon input field for a pageThanks,
I had a quick bash at it yesterday but i must have missed something. The Tag boxes with the Players, committee etc. where there but when i added anything nothing changed.
Also
Does this system allow admin to attatch a photo and description to the Name?
Thanks
Forum: Plugins
In reply to: Easy Contact – not displaying senders emailsAfter so long with no replies i Removed the plugin and used another.
Forum: Plugins
In reply to: Plugin: LEAGUEMANAGER delete a match!I managed to fix this myself by going into my PHP MYADMIN Page and edit the MySQL Database. Very crude but it got the job done.
If there is anyone with a better solution then please get in touch.
Thanks
Steven
Forum: Plugins
In reply to: Easy Contact – not displaying senders emailsHas anyone got any help or alternatives?
Forum: Plugins
In reply to: [Plugin: LeagueManager] Version 2.9 & Championchip ModeI have an issue I can’t solve myself and need help please!
I mistakenly added a league match and posted the results from said match only to later find out the match was infact a cup tie and should not have been posted.
I need to remove this match and its result from the league as the league table is showing false information due to my ignorance.
I have tried deleting the match from the match list but this does not effect the league table and the match still exisists but only as a 0-0 result (the actual result was 5-2).
Can someone please help me?
Thanks
Steven Gardner