Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller: How can I display most recent additions?
- This topic has 9 replies, 4 voices, and was last updated 9 years, 3 months ago by
Lofty Visions.
-
AuthorPosts
-
July 15, 2015 at 5:12 pm #12874
jspiliotopoulos
MemberI’d like to create an album that pulls the most recent additions (from within the past X days) from all galleries. Any suggestions on how that can be accomplished? Thanks!
Using WP Photo Seller Version 1.9.0 with WP 4.1.5
July 16, 2015 at 11:58 pm #70814Peter
MemberHi, We already have something which may satisfy your needs.
There is a shortcode which displays the latest photos:
[WPS_latest_photos]By default it will grab the latest 20 photos across all galleries.
You can set the number of latest photos using an argument as follows:
[WPS_latest_photos number_photos=50]One thing you should be aware of, is that currently this shortcode will only use template 1 to display the photos.
July 1, 2016 at 7:49 am #70815uzihead
MemberIs there any way to change the template atm?
July 24, 2016 at 2:15 pm #70816Lofty Visions
MemberYes i could also do with Template 2 for this. Also is there any way of centering the images on the page? Mine are slightly off to the left. Thanks
July 24, 2016 at 11:25 pm #70817Peter
MemberWe will try and add template 2 within the next week or two.
Regarding your left misalignment issue – can you please provide the link to the gallery with the issue so I can look at it with firebug?
July 25, 2016 at 2:22 am #70818Lofty Visions
MemberHi, thank you very much
Here is the link to my gallery home page: [http://loftyvisions.com.au/index.php/photogallery/]
I also have the “latest images” on my front page [http://loftyvisions.com.au]
You’ll see everything is aligned left but i’d rather it be centred if possible. Aligning the short code doesn’t do anything.
Thanks
July 25, 2016 at 10:54 pm #70819Peter
MemberYou can apply some custom css to align the gallery thumbs more to the centre.
For your particular site and theme please do the steps below:
1) Go and grab the following plugin:
http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
2) Then add the following CSS code in the settings of the above plugin:
.enigma_blog_post_content #gallerycontainer_t2 {
width: 80%;
margin: 0 auto;
}July 30, 2016 at 12:18 am #70820Lofty Visions
MemberHI, thank you. Sorry for the late response but my host server went offline and corrupted my database. That kinda fixed the issue on the store front [http://loftyvisions.com.au/index.php/photogallery/] but the WPS “latest additions” on the home page is still left aligned. Is there some CSS I can add for that please? Thanks
July 31, 2016 at 10:21 pm #70821Peter
MemberThe following custom css should centre the thumbs on the front page:
.container #gallerybuy {
width: 80%;
margin: 0 auto;
}August 3, 2016 at 8:40 am #70822Lofty Visions
MemberIt did, thank you so much!
-
AuthorPosts
- You must be logged in to reply to this topic.