Images in the listing archive template
This topic contains 9 replies, has 3 voices, and was last updated by Paolo 8 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: images free and paid
-
AuthorPosts
-
September 22, 2016 at 12:26 pm #271102
Hi,
Not sure where to find this info, but I would guess it’s been asked before…
I want a free listing to have zero images. I want a paid listing to have 15 images.
When I go to the listing archive page, I want to see the paid listings first, with the thumbnail image and then the free listings, no thumbnail, after. I don’t know how to remove the call to the image from the free listing. The image shows up, blank. How do I take the call to the thumbnail out, and then sort them, featured (paid) first, free after?
I am sending a screen shot of the empty image.
I am writing my own theme… but can look at another theme if I need to use some snippets to make this happen.
I hope I have been clear, but ask for clarification if I haven’t 🙂
Thanks!September 22, 2016 at 1:40 pm #271146Hi Christina,
You need to use the “Payments Manager” addon https://wpgeodirectory.com/downloads/payments-manager/ to achieve what you needed there. With that addon enabled, you can limit the images and also set the display order of the listing according to the payment types. Check out this doc for more info https://wpgeodirectory.com/docs/prices-and-payments-add-on-overview/
Thanks!
September 22, 2016 at 1:51 pm #271155Right, I have that set up, but on the front end, it shows an empty picture…
If it’s a free listing, I don’t want the empty image to be on the front end.I thought that the list view template tells it not to print an empty image, but I am getting one.
Also, my free listing has zero as the image limit, and still allowing me to add images.If you look at the screen grab, you see that the first is a featured and the others are not.
Is there some way I can add css to display:none or is there a setting I am missing?
Thanks!September 22, 2016 at 1:53 pm #271159Hi Christina,
Do you think you can share WP temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.
September 22, 2016 at 2:09 pm #271198This reply has been marked as private.September 22, 2016 at 2:35 pm #271205Hi Christina,
I’ve just checked your Website and I think I know what you needed there. Besides removing the empty image containers which I think can be achieved using the custom CSS below. Have you considered inserting a default image for the empty image containers using this option in GD > Design > Listing > “Upload listing no image” ? Refer to this section of the documentation https://wpgeodirectory.com/docs/core-design/#listings .
.geodir-listview.gd-post-pkg-1 .geodir-post-img { display:none; }
September 22, 2016 at 3:00 pm #271272I am going to talk to the designer about that very thing, but the I think the image is serving as an enticement to pay for the listing :/
In which case:
-the free package is post-pkg-1
-that css doesn’t work with the grid views which are problematic anyway because of the layout
-Is there a way to alter the loop somehow so that you could display all the featured, non free packages then reset and list the free packages below? I fear I will screw up your listing template…Thanks in advance!
ChristinaSeptember 22, 2016 at 7:03 pm #271336Hi Christina,
if you set the paid listings as featured (when editing the listing in the back end there is an option “Is Featured” and you need to set that to YES).
Once that done sorting by featured will be automatic.
Thanks
September 23, 2016 at 3:17 pm #272009Can you explain to me what the paid listing featured does?
The reason I ask, I have 2 prices set, one is featured and one is not. But in the backend list of the individual item, both can be set to featured.
Is it just that the author/owner of a listing can or can’t check? Is there a way to set featured automatically with a price?
Thanks
PS I got the images hiding in all layouts!
Thanks again!
OH! And if you would like I can post as a new post, so not to be confusing for others.September 23, 2016 at 5:23 pm #272077Hi,
yes you can set the premium price to be featured, go to GD >> Prices and Payments, edit your paid packaged and set it as, Is Featured : YES.
That will set it automatically.
The option in each listing of the back end if for the admin only in case he wants to remove or add the featured property to any listings.
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket