GraphicRiver

Posts by simonswiss

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

Here’s my FB page: http://www.facebook.com/simonswissdev I could do with a few more likes :-)

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

8-month shot! The ball is still the same

\\

\\

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

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! :-)

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

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

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

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..

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

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!

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

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?

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

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!

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

                                       \\

OMG double hard reject!

163 posts
  • Microlancer Beta Tester
  • Switzerland
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
  • Referred between 1 and 9 users
  • Bought between 100 and 499 items
simonswiss says

\\

This is awesome! :-)

by
by
by
by
by