lsshock
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Filter by modified date and custom fieldthe above works, the problem was my post date’s
Forum: Themes and Templates
In reply to: Filter by modified date and custom fieldthe start i’v made is
$args = array( 'post_type' => 'post', 'showposts' => '18', 'orderby' => 'modified', 'meta_query' => array( array( 'key' => 'inTheaters', 'value' => date('Y-m-d'), 'type' => 'DATE', 'compare' => '>=' ) ) ); $my_query = new WP_Query(); $my_query->query( $args );to clarify my question, im sorting by modified date and dont want to show posts which are before the current date (based on the custom field)
Forum: Themes and Templates
In reply to: Show this weeks postI somewhat have what i want right now using Autodeleteposts
to move them to a category and excluding it from my index page
but doing it like this i cant really do easy pagenationForum: Themes and Templates
In reply to: Sidebar show posts of this week onlythanks Ben!
it works now it should until next week.
i mean show the posts of this weekForum: Themes and Templates
In reply to: Sidebar show posts of this week onlyIt doesnt show the post of yesterday in the sidebar right now
i emailed you the url to the test siteForum: Themes and Templates
In reply to: Sidebar show posts of this week onlyThis works much better, the other did indeed gave me a bug of double posts.
Forum: Themes and Templates
In reply to: Sidebar show posts of this week onlyon small thing though is it also possible to have it use the permalink of a post?
Forum: Themes and Templates
In reply to: Sidebar show posts of this week onlyoh thats still dumb of me
it works! thanks for the help and writing such nifty code!Forum: Themes and Templates
In reply to: Sidebar show posts of this week onlynew error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resourcemy line: $query = mysql_query(“SELECT * FROM [wp_]posts ORDER BY post_date DESC LIMIT 0,7”);
from my config file
$table_prefix = ‘wp_’;Forum: Themes and Templates
In reply to: Sidebar show posts of this week onlydid not see that one, i filled in the prefix wp_ assuming thats what it needs.
still gives me the same error but now line 49
sorry if im really dumb 😉
*i tried with the new code but still wont fire
Forum: Themes and Templates
In reply to: Sidebar show posts of this week onlythanks for the fast reply
i get an error after filling in the DB infoParse error: syntax error, unexpected $end in /home/rick/domains/ideaprison.com/public_html/dailystory/wp-content/themes/ideaprison/sidebar.php on line 50and inside that file line 50 is actually blank..
Forum: Plugins
In reply to: [Plugin: PostRatings] RSS wont sort most ratedif you mean setting it up and saving again
(Permalink structure updated.)than that had no effect 🙁
if you want to take a look that would be ok
i can PM you the login on your own forumForum: Plugins
In reply to: [Plugin: PostRatings] RSS wont sort most ratedhehe, off course i appreciate all your help GamerZ
but i really need to get it to work so i figured i could at least try 🙂Forum: Fixing WordPress
In reply to: Archive pageI still need help, please if someone knows.
Forum: Fixing WordPress
In reply to: Archive pagei did find that one but im not sure what will happen to the system that is now used (the default in wordpress) and the example only shows the years and then when you would click a year WP would just filter all the post and still show them all fully instead of titles. (if im not mistaken)