Christian

Unregistered less info
30 reputation
113
bio website
location
age
visits member for 2 years, 3 months
seen Jan 23 '12 at 1:09

Mar
22
awarded  Famous Question
Aug
24
awarded  Notable Question
May
9
awarded  Popular Question
Dec
28
accepted Fetching Image from other post/page with custom type
Dec
28
comment Fetching Image from other post/page with custom type
Yeah, I think your right, It might be the simplest way to do this. None the less, I learn a lot just by doing this. Thank you very much for your help it's extremely appreciated.
Dec
28
comment Fetching Image from other post/page with custom type
Hi, your code does work, I did put it outside the loop and I eventually figure out that using 'post_parent' => NULL' got every images that is in the media library. What I was hoping is to find a way to show image on a different page, that I had "flagged" while I upload them, then the code can call them and output it on a page automatically. So I don't have to manage the same file twice. Thats why I thought that using custom type might help, but I think I'm wrong on this!
Dec
27
comment Fetching Image from other post/page with custom type
All right, I thing I'm getting there... I changed in the $args, $post->ID for $page->ID and it output all the pictures that have been post in the other pages. Nice, but I still want to control which picture will be shown is there a way to achieve this?
Dec
27
comment Fetching Image from other post/page with custom type
Hi again, I'm glad that you like the site! Thanks! I don't know what I'm doing wrong, but the code you have posted work only if I upload images in the page the code reside. (on my theme it's called page-test.php, and it's a template page). All the other page I picked a Feature thumbnail and it's not working. I'm trying to find the argument to call a page instead of a category and find nothing... I don't believe that I'm the only one on the planet who want to do something like that, it most exist a solution.
Dec
27
comment Fetching Image from other post/page with custom type
Hi, not sure you see exactly what I meant. I probably did not explain it well. You you go see at my site what I mean. chrisbergeronphoto.com/dummy you will see more what I mean. If you click on Fashion for exemple, you'll see all the images I uploaded in fashion (it's a slideshow). if you click on other link you'll see images that are related to there page. What I want is to show on "Recent work" image that belong to other page! I'm not shure how to achieve this, and the way you showed me I'm not sure it applied to what I want to do.
Dec
27
awarded  Scholar
Dec
27
accepted wp_nav_menu(), how to change <li> class?
Dec
27
asked Fetching Image from other post/page with custom type
Dec
26
comment wp_nav_menu(), how to change <li> class?
Thanks Toscho, I just find that in the new version of Wordpress (3.3) we can add custom class fir each menu items wich kind of solve my problem. I tried the script you suggested to me (T5_Nav_Menu_Walker_Simple) which does strip everything from the <li>, how can we control which elements we want to keep?
Dec
26
awarded  Student
Dec
26
asked wp_nav_menu(), how to change <li> class?