Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

adding listing to real estate template

  • Hello using the Real Estate Template
    I wanted to add and link
    from the home page under the house displayed
    to a listing page showing more details about that house
    How would I accomplish that?

    There are 6 houses displayed
    and I wanted to create a page for each and
    link a corresponding full page to it

    how do i do that?

  • Hi there,

    The first thing you’ll need to do is create a custom post type (CPT) for the House Listing. I assume all the house details and descriptions will be added through custom fields. You can handle this with a plugin like Advanced Custom Fields (ACF).

    After that, you can create individual house pages using a Block Element to control the layout.

    On the homepage, you can use a Query Loop block to display the house listings, just like on the current homepage. This makes the content dynamic, as it’s directly fetching data from the custom post type.

    Hope that’s clear, let me know if you have further questions.

  • I am using the Real Estate Template from Generate press?
    Do I still have to do what you suggest if I am using that template
    or can I do it with the template

  • The template simply use pages as the listings, which are the same as the about/contact/home page. If you just started to create the site and you will have lots of houses, it is worth creating a custom post type for listings and you can use GB’s query loop block to pull the listings, it would be a more convenient way down the road.

  • ” GB’s query loop block to pull the listings, it would be a more convenient way down the road”

    does this mean create a post
    on that post page create a groping of the photos
    add a space for the address number of bedrooms and other amenities etc
    then on home page create a main picture for that listing
    but how does that main listing get clicked on to get to post page

  • No, that’s not what I mean.

    First, it won’t be a post, but a custom post type, let’s say, a listing.

    Then you create custom fields for the listing post type, eg. bedrooms, address, etc.

    On the homepage, add a query loop block from GenerateBlocks plugin, set the post type to listings, and you can add GB’s headline block to pull the text value from custom fields, and image blocks to pull the value from image fields.

  • Do I have to create an Element Page so that I have template to add the listings?

    I dont see the Headline Block in the options of
    Generate Blocks “open pattern library am I looking in the wrong place?

    When setting up the # of bedrooms in Field Groups how I add the number of bedrooms

  • Is there a way
    where when I add a new listing information it automatically opens up in a content box within a context box?

  • Let’s take a step back. Have you set up the custom post type for Listings and added the necessary data? This data will be needed, as it will be fetched directly from the Listings post type.

  • yes I have set up the custom post
    I have also set up custom fields
    the challange is I only see either number or text
    so I set the field as bedrooms
    but adding # field in custom post and custom field didnt seem to make sense

  • How did you set up custom fields?

    Are you using ACF plugin or using the WP native custom fields?

    I would recommend using ACF plugin, it will be easier to manage if you will have quite a few custom fields.

    Once the data is filled, you can create a block element – content template, set location to all listings.

    In the block element – content template, you can use headline block to pull the text values from custom fields, and use image block to pull the image fields values.

    If you have questions about the content template, please link us to what you have set up so far, so we can see what help you need.

  • quick update I am using ACF plugin
    also GB-PRO

    What I am trying to replicate is the Real Estate Template layout
    that displays 6 listings
    and I would like to click on the individual listing and it opens up
    a full view of the listing with the average 20 pictures per listing and
    a little blurb that would allow for me to get a call

  • Can you show me what you’ve done so far?

    You didn’t add your site link to the private info field.

  • my apologies is have included it now

  • It looks great!

    However, your custom fields are not shown in the listings editor, can you disable all other plugins except GP PREMIUM, GB and ACF to test?

  • I have disabled all except GP premium Generate Blocks and ACF

Viewing 16 posts - 1 through 16 (of 44 total)
  • You must be logged in to reply to this topic.