Showcase listings by CTP on homepage

This topic contains 3 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #465110

    Anna
    Full Member
    Post count: 70

    Hello

    What is the shortcode to recreate the row of ‘featured listings’ like on the Supreme demo homepage?

    I want to create a row for each CPT on the home page – showing a given number of listings (e.g. 4) with a ‘view all’ link on the right hand side. An example of what I’m trying to achieve is shown at https://www.luckywelivehere.com/

    Thanks in advance
    Matt

    #465122

    Kor
    Moderator
    Post count: 16516

    Hi Matt,

    You can use the GD Listing shortcode as shown below. However, V2 does not have pagination or a view all link as shown in this example https://www.luckywelivehere.com/ . You’ll need to manually create a link for that.

    [gd_listings post_type="gd_place" sort_by="az" title_tag="h3" layout="gridview_onehalf" post_limit="5" add_location_filter="1"]
    #465124

    Anna
    Full Member
    Post count: 70

    Thanks Kor

    #465220

    Alex Rollin
    Moderator
    Post count: 27815

    More on creating a GDV2 front page can be found here: https://wpgeodirectory.com/docs-v2/geodirectory/getting-started/front/

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

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

Open Support Ticket