- This topic has 9 replies, 4 voices, and was last updated 8 years, 3 months ago by .
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller: How can I display most recent additions?
I’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
Hi, 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.
Is there any way to change the template atm?
Yes 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
We 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?
Hi, 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
You 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;
}
HI, 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
The following custom css should centre the thumbs on the front page:
.container #gallerybuy {
width: 80%;
margin: 0 auto;
}
It did, thank you so much!