Viewing 4 posts - 1 through 4 (of 4 total)

Adding an Image to [FIELDS] shortcode

Q1. As seen in the documentation the docs the [FIELDS] shortcode is used to output custom fields. Is there a way so that I can add a custom field for an Business Logo, to output in one of these [FIELDS] shortcodes found throughout relevant template files? It seems that the limitations only allow for text and not images. Q2. The Featured Image for a single "Listing" appears first in the slider for a specific page, is there a way to remove this image as the first image in the slider and instead let the slider use only additional images provided in this area of a "Edit Listing" ( see image )

Created: September 15, 2016 at 5:13 pm

  • Josh
    September 15, 2016 at 5:48 pm

    Hello David,
    Q1.There is no option to do this currently.Customization will be required.
    Q2.Do not set a featured image.Upload your images via the section from your above image,save.Access the Listing from frontend and click on the ‘Edit This Listing’ button >scroll to bottom to Listing Attachment section >Click on the star icon on the image you want used as main image/display image

    You must be logged in to view attached files.

  • David
    September 15, 2016 at 6:20 pm

    Thanks Super Guru Josh,

    Your speed is amazing, your solution to Q2 is almost perfect, by using your method the image I give a star icon to becomes the main/featured image. The use-case here is that we are displaying businesses
    and we desire a business’s logo as being their main/featured image to be displayed on the search results pages and on carousels and such BUT when a user visits a unique companies name ( an individual listing ) it seems the first slide in the image slider
    is the company logo ( featured image ) instead it would be preferable to show images other than that
    main/featured logo which for this project can be standard images. Do you think that can be done without
    too much digging through the template files?

  • Josh
    September 16, 2016 at 7:35 am

    Hello David,
    Try the below code under Theme Setup >General Setup >Custom css

    .wlt_shortcode_images #slider-carousel .owl-item:first-child {
    .owl-carousel .owl-item:first-child {

    This will remove the first image in the slider (the main/featured image/the logo ) hence only show the other uploaded images

Copyright © 2010-2020 PremiumPress Limited.

secure payments