Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Updated demo and readme with 'orderBy' param.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornelius committed Nov 14, 2014
1 parent e5b1988 commit cfc9056
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ What a customisation looks like:
postsIncrement: 1,
maxPosts: 5,
profileImageSize: 150,
orderBy: 'popularity',
sort: 'asc',
lang: 'de'
});
Expand Down
22 changes: 12 additions & 10 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,18 @@ <h2>jquery.kyco.googleplusfeed2</h2>

<script>
$(function() {
$('.gplus').kycoGooglePlusFeed2('116899029375914044550');

// $('.gplus2').kycoGooglePlusFeed2({
// id: '116899029375914044550',
// feedPosts: 2, // Feed posts to show on load
// postsIncrement: 1, // Number of feed posts to show on "Show more" button click
// maxPosts: 5, // Max number of posts to pull before "Show more" will go to Google+, cannot excced 20 because of Google API in use
// profileImageSize: 150, // Max is 250
// lang: 'de'
// });
$('.gplus').kycoGooglePlusFeed2('106189723444098348646');

$('.gplus2').kycoGooglePlusFeed2({
id: '116899029375914044550',
feedPosts: 2, // Feed posts to show on load
postsIncrement: 1, // Number of feed posts to show on "Show more" button click
maxPosts: 5, // Max number of posts to pull before "Show more" will go to Google+, cannot excced 20 because of Google API in use
profileImageSize: 150, // Max is 250
orderBy: 'popularity',
sort: 'asc',
lang: 'de'
});
});
</script>
</body>
Expand Down

0 comments on commit cfc9056

Please sign in to comment.