Zero sales.. but uploaded 2 items (still pending) over the weekend..
Hopefully they get approved, consolidate my very little portfolio and boost sales for June! 
Here’s my FB page: http://www.facebook.com/simonswissdev I could do with a few more likes 
8-month shot! The ball is still the same


Here’s an introduction video. [removed by Mod]
Not sure if this is gonna work out the way they say, but what the heck it’s worth a shot.
If anyone is interested I have some invites left, reply here and I’ll give you a code in PM! 
Whoops it’s working now! Yehaa, thanks a lot for your help! I am not sure why it didn’t work in the first place, but thanks i got it working now!
Simon
I’m exactly on that page and i was trying the following code, but nothing displays 
<?php $args = array(
'post_type' => 'attachment',
'numberposts' => 4,
'post_parent' => 3789,
'orderby' => 'rand'
);
$attachments = get_posts( $args );
foreach ( $attachments as $attachment ) {
echo wp_get_attachment_image( $attachment->ID, 'medium' );
} ?>
I’m wondering if i need to put something else than $attachment->ID for the $attachment_id parameter..
Thanks a lot!
I’ve tried this code (with the correction ‘numberposts => 4) but nothing displays.
If i want to display each of the 4 image as a thumbnail (medium size), what shall i put in the foreach statement?
Sorry for my noob question and thanks for your help!
I guess i could also use a plugin for a gallery – do you have any recommendation of a plugin (free or premium) that allows to display random photos of a given gallery via template or shortcode?
Hello!
I’ve been scratching my head for a while and googled, stack overflowed etc.. over and over but couldn’t get to achieve a thing that, hopefully, is feasible with WordPress.
I have a page (page content type) that i use as a gallery with lots of attached photos. On the bottom of each page of the website, i’d like to display 4 random photos from this gallery page (a sort of “from the gallery” widget). Every time the user loads (or refreshes) a page, 4 new random photos should show up.
I guess a good way to sum up what i’m trying to do is to have a random sneak peak at 4 photos from the gallery page, where all the photos are attached.
The gallery has the page id of 3789, but i can’t figure out how to display random image attachments from the page_id 3789..
Any help would be greatly appreciated! Thanks in advance for the input!
Art-of-Sound said
![]()
OMG double hard reject!
