Special Offers page

This topic contains 16 replies, has 4 voices, and was last updated by  Naveen Giri 4 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #527000

    periwinkle
    Expired Member
    Post count: 29

    Hi,
    I would like to create a “Special Offers” page with only the listings that has publisched somethings on the special offers field that I have prepared.
    Best thing would be to show directly the offers text and not simply listings.
    Is it possible?

    #527054

    Kor
    Moderator
    Post count: 16516

    Hi Periwinkle,

    Thanks for your post. Instead of featured listings, you can try using the method from this article https://wpgeodirectory.com/docs-v2/geodirectory/featured-listings/ . Then, setup a new badge for this Special Offer https://wpgeodirectory.com/docs-v2/design/gd-badge/ .

    #527055

    Alex Rollin
    Moderator
    Post count: 27815

    GD Listings element has a setting for “Special Offers Only”.

    Try making a new page ‘Special Offers’ with a shortcode like:

    
    
    
    [gd_listings post_type="gd_place" post_limit="5" add_location_filter="1" show_special_only="1" sort_by="az" title_tag="h3" layout="1" view_all_link="1" bottom_pagination="1"]
    
    #528079

    periwinkle
    Expired Member
    Post count: 29

    But with this code I see all the listings and not only the ones that have set something on the special offer field. And anyway when I click on this listing it give me the 400 Bad Request message

    #528102

    Kor
    Moderator
    Post count: 16516

    Hi periwinkle,

    Thanks for your reply. Kindly share your Website WP admin access here in private reply and we’ll check this out for you asap!

    #528314

    Alex Rollin
    Moderator
    Post count: 27815

    It may be that permalinks need to be resaved as described here:

    https://wpgeodirectory.com/docs-v2/geodirectory/settings/permalinks/#404

    The shortcode above will show all listings that have anything in the special offers field. If it is not working like that for you please share credentials and a link to the page.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    #529653

    periwinkle
    Expired Member
    Post count: 29
    This reply has been marked as private.
    #529713

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    About the page not found error:

    you are using OSM and have used the option “Disable move map pin from changing address fields” in the location tab advanced settings. I recommend you turn that back on. It can result in trying to save listings with incomplete address information. Somehow you saved a listing with no city and so the URL was incomplete so it showed page not found.

    About the special offers:

    Are you trying to show professionals with special offers, or another CPT?

    I can see that GD Listings is not displaying the listings with special offers only.

    Your GeoDirectory plugin needs an update. If you update and the issue persists, please write back.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    FTP Credentials
    FTP Host:
    FTP Port:
    FTP User:
    FTP Password:

    #529761

    periwinkle
    Expired Member
    Post count: 29
    This reply has been marked as private.
    #529863

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #530108

    periwinkle
    Expired Member
    Post count: 29
    This reply has been marked as private.
    #530185

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #531592

    periwinkle
    Expired Member
    Post count: 29
    This reply has been marked as private.
    #531697

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #531872

    Naveen Giri
    Moderator
    Post count: 1559

    Hi periwinkle,

    The filter in shortcode works for Special offer custom field. Seems you have created a custom special offer field. which have a different key and causing that issue.

    I have changed it to default special offer field now. Please have a look.

    Thanks again for your patience.

    Have a Great Day

    Kind Regards
    Naveen

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket