This members-only tutorial for Oxygen covers:

  • registering a `property` Custom Post Type
  • creating a field group having Price (Number), Address (Google Map), ZIP (Text), Square Feet (Number), Number of Bedrooms (Select), Number of Bathrooms (Select), Property Photos (Gallery) custom fields and attached to the property CPT
  • setting up Google maps to work in WordPress with ACF and in Oxygen
  • setting up a template for the CPT single pages to show title, featured image, content, property meta, google map and a gallery of photos
  • setting up a template for the CPT archive page with each entry showing the featured image, price, title, meta and a link to view the listing

Screenshot of the custom fields:

Screenshot of a CPT single page:

Screenshot of CPT archive page:

Watch the video for a walkthrough of the setup:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($37/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?



For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.

8 comments on “Property CPT with Custom Fields using ACF in Oxygen”

  1. Hi Sridhar,

    I am trying to transpose this tutorial to my custom post type (mycpt).

    I see the images but I get this error message just above my images:

    [15-May-2019 20:23:21 UTC] PHP Warning: implode(): Invalid arguments passed in /home/xxxxx/public_html/xxxxx/wp-content/plugins/oxygen/component-framework/components/layouts/code-block.php(33) : eval()’d code on line 5
    [15-May-2019 20:23:32 UTC] PHP Warning: implode(): Invalid arguments passed in /home/xxxxx/public_html/xxxxx/wp-content/plugins/oxygen/component-framework/components/classes/code-block.class.php(115) : eval()’d code on line 5

    The code I use:

    Thank you for your feedback,

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: