Zane Matthew
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Custom post type tags/categories archive pagehmm, yeah mainly look for errors/notices coming from functions.php.
try stepping thru the function with either die or echo, let me know the line right before it fails, again try this on a development site.
Forum: Themes and Templates
In reply to: Custom post type tags/categories archive pageDo you have a development site set-up? Since your dealing with a php file it may be a good idea to turn on debugging via your wp-config.php file.
That may help trouble shoot.
Forum: Themes and Templates
In reply to: Custom post type tags/categories archive pageI wanted to say this worked for me also, this is exactly what i was looking for, i did modify it and add
is_post
to the conditional since in my case i am displaying custom post types and posts within the same page, at least for now.Forum: Fixing WordPress
In reply to: Dear god is there an easier way? to get the attachment ID?Thanks that did exactly what i wanted, except for one small issue. I’ve read about get_children, but over looked it cause I’m not intimidated about running queries, but given best practices, I’ll stay away from them.
The one issue i had was that I had to do an array_shift on the result from
$attachment
due to the result being something like thisArray ( [351] => stdClass Object ( [ID] => 351 [post_author] => 2 [post_date] => 2010-09-05 22:12:34 [post_date_gmt] => 2010-09-05 22:12:34
Forum: Fixing WordPress
In reply to: Get all images from published postsI’m having the same trouble, i tried:
$images =& get_children( ‘post_type=attachment&post_mime_type=image&post_status=publish’ );
but setting post_status=publish returns nothing, going to turn on error reporting.
Forum: Themes and Templates
In reply to: Date Jumping aroundMoshu,
sorry if i made you upset, you seem frustrated that i am asking such a trivial question.
what i am asking for is help or an example, or even better…for someone to say “oh, you should of done this..” I am not looking for someone to reply with “RTFM”
i have read what you posted but still I DO NOT UNDERSTAND IT! please, can you explain it?
i will continue to read up on the link you provided, but please if all you are going to post is “RTFM” then please do not bother responding to my post…
Forum: Themes and Templates
In reply to: Date Jumping aroundhere is the screen shot
https://userpages.umbc.edu/~zane1/temp/wp/wp1.gifOS: MAC OS X 10.4.10
php: v 4.4.4
mysql: 5-0.37what really confuses me is that when i write another post the date lines back up with the correct post…?
Forum: Themes and Templates
In reply to: Date Jumping aroundok, im lost what confuses me is that once I add edit or add another post on the same day, the date jumps back down to where it should be… :\
Forum: Themes and Templates
In reply to: Date Jumping aroundthank you for pointing me in the right direction, I was not sure if the php date code was in the wrong spot or if I was having css issues…I read-up on the “Template_Tags/the_date” but I am still having the same issue