Above Header Widget Area 012345 123456
Skip to navigation Skip to content
Strapline goes here
Boilerplate
  • Home
  • CPTS
    • All Documents
    • All Webinars
    • Shop
    • CPTS Archive
      • All Guests
      • All Articles
      • All Media Assets
      • All Press Releases
      • All Portfolio
      • All Jobs
      • All Job Vacancies
      • All Events
      • All Projects
      • All Testimonials
      • All Curriculum
      • All Team Members
    • All Operators
    • All Properties
    • All Residential Lettings
    • All Retirement Villages
    • All Residential Lettings
    • Blog
    • All Videos
    • All Work
    • All Concrete Pumps
    • All Custom Products
    • All Podcasts
    • All Courses
  • Templates
    • ACF Page Builder
    • Service Page
    • Slider with Static Text
    • Repeater Slider
    • Absolute Slider
    • Gallery
    • Smart Menu
    • Conversion Page
    • Secure Template
    • Grid Splash Template
    • Sidebar
    • Full Width
    • Search
    • How to guide
    • Downloads
    • ACF Page Builder
    • Slider Above Menu Template
    • Headless Page Template
  • Elements
    • Cards
    • Display Blocks
    • Display Blocks 47+
    • CPT VC Blocks
    • VC Galleries, Carousels & Sliders
    • Complex Contact Form
    • VC Blocks
    • Code Snippets
    • Sample Page
    • Flow Selector Card
    • Symptom Search Tool
  • Contact
  • Shop
    • My Account
      • Cart
      • Checkout
Contact
Contact


    Address

    Footer Column 1

    Footer column 1

    Footer Column 2

    Footer column 2

    © 2023 Company. All rights reserved
    • Home
    • CPTS
      • All Documents
      • All Webinars
      • Shop
      • CPTS Archive
        • All Guests
        • All Articles
        • All Media Assets
        • All Press Releases
        • All Portfolio
        • All Jobs
        • All Job Vacancies
        • All Events
        • All Projects
        • All Testimonials
        • All Curriculum
        • All Team Members
      • All Operators
      • All Properties
      • All Residential Lettings
      • All Retirement Villages
      • All Residential Lettings
      • Blog
      • All Videos
      • All Work
      • All Concrete Pumps
      • All Custom Products
      • All Podcasts
      • All Courses
    • Templates
      • ACF Page Builder
      • Service Page
      • Slider with Static Text
      • Repeater Slider
      • Absolute Slider
      • Gallery
      • Smart Menu
      • Conversion Page
      • Secure Template
      • Grid Splash Template
      • Sidebar
      • Full Width
      • Search
      • How to guide
      • Downloads
      • ACF Page Builder
      • Slider Above Menu Template
      • Headless Page Template
    • Elements
      • Cards
      • Display Blocks
      • Display Blocks 47+
      • CPT VC Blocks
      • VC Galleries, Carousels & Sliders
      • Complex Contact Form
      • VC Blocks
      • Code Snippets
      • Sample Page
      • Flow Selector Card
      • Symptom Search Tool
    • Contact
    • Shop
      • My Account
        • Cart
        • Checkout
    • Home
    • CPTS
      • All Documents
      • All Webinars
      • Shop
      • CPTS Archive
        • All Guests
        • All Articles
        • All Media Assets
        • All Press Releases
        • All Portfolio
        • All Jobs
        • All Job Vacancies
        • All Events
        • All Projects
        • All Testimonials
        • All Curriculum
        • All Team Members
      • All Operators
      • All Properties
      • All Residential Lettings
      • All Retirement Villages
      • All Residential Lettings
      • Blog
      • All Videos
      • All Work
      • All Concrete Pumps
      • All Custom Products
      • All Podcasts
      • All Courses
    • Templates
      • ACF Page Builder
      • Service Page
      • Slider with Static Text
      • Repeater Slider
      • Absolute Slider
      • Gallery
      • Smart Menu
      • Conversion Page
      • Secure Template
      • Grid Splash Template
      • Sidebar
      • Full Width
      • Search
      • How to guide
      • Downloads
      • ACF Page Builder
      • Slider Above Menu Template
      • Headless Page Template
    • Elements
      • Cards
      • Display Blocks
      • Display Blocks 47+
      • CPT VC Blocks
      • VC Galleries, Carousels & Sliders
      • Complex Contact Form
      • VC Blocks
      • Code Snippets
      • Sample Page
      • Flow Selector Card
      • Symptom Search Tool
    • Contact
    • Shop
      • My Account
        • Cart
        • Checkout

    Property Two

    For sale

    Guide Price

    £425,000

    house

    Cottage

    bed

    2 Bedrooms

    bathtub

    1 Bathrooms

    WYSIWYG

    Our Agents

    Jane Smith

    Designer

    012345 123456

    Contact now

    + Mortgages

    Other Properties in Marlow

    ×

    Property Form

      Lightbox content


        Lightbox content


        START OLD FUNCTIONS

        crop_free call location_on hotel 360 house cottage bathtub bed shower

        Property Two

        KARL: I am trying to get the image from associated category. I am also trying to do it all via IDs. I have made an acf input field called category_icon and attached it to the taxonomy Property Features. I have managed to get as far as getting the associated category ID but can't get it to display the image.

        Note from Karl: This fetches the first category image, on line 58 all terms are fetched, on line 67 the first one is chosen.

        To fetch them all. Loop $customtaxonomy e.g

        foreach($customtaxonomy as $term) { if($image_id = get_field('category_icon', 'property-features_'.$term->term_id)) { echo wp_get_attachment_image($image_id); } }
        Notice: Trying to access array offset on value of type bool in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 649

        Notice: Trying to access array offset on value of type bool in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 650

        Notice: Trying to get property 'term_id' of non-object in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 650

        This should echo the id of the category it is in

        This should echo the id of the image in that category

        Relational Village

        Relational Village's Email


        Notice: Array to string conversion in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 96

        Notice: Array to string conversion in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 122

        Operator


        Notice: Array to string conversion in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 96

        Notice: Array to string conversion in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 122

        Property Two

        Name

        Property Two

        Featured Image

        Gallery

        Price

        £425,000

        Featured Or Not


        Is Not Featured

        Property Features

        Type

        Cottage

        Sale Status

        For sale

        Bedrooms


        Notice: Trying to get property 'name' of non-object in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 802

        Notice: Trying to get property 'name' of non-object in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 802
        ,

        Bathrooms


        Notice: Trying to get property 'name' of non-object in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 812

        Notice: Trying to get property 'name' of non-object in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/themes/boilerplate/cpts/properties/content-single-properties.php on line 812
        ,

        Description

        Spec

        Type

        Fees

        Attach PDF of Property Details

        Other Properties in the same village

        Village Features

        KARL: Here I am trying check if the relational village is in the pets-welcome category of the retirement-village-features taxonomy. if it is I want it then to display the content. Below is the code that i have used to get the relational vilages id, and the if code i have used on the village content single to display the custom html. However I do not know how to make a query that asks IF $villageid is in this cat do X. Can you make it so the html is displayed if the relational village is in that cat.

        Google Map of Related Village

        Address


        Notice: Array to string conversion in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 96

        Notice: Array to string conversion in /home/325684.cloudwaysapps.com/qgzenkvkav/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 122

        Property Content

        list property Facts

        Reviews

        Post navigation

        Next post: Test Property One

        Back To Top

        east Request Callback
        Footer Column 1

        Footer column 1

        Footer Column 2

        Footer column 2

        Footer Menu
        • Home
        • CPTS
          • All Documents
          • All Webinars
          • Shop
          • CPTS Archive
            • All Guests
            • All Articles
            • All Media Assets
            • All Press Releases
            • All Portfolio
            • All Jobs
            • All Job Vacancies
            • All Events
            • All Projects
            • All Testimonials
            • All Curriculum
            • All Team Members
          • All Operators
          • All Properties
          • All Residential Lettings
          • All Retirement Villages
          • All Residential Lettings
          • Blog
          • All Videos
          • All Work
          • All Concrete Pumps
          • All Custom Products
          • All Podcasts
          • All Courses
        • Templates
          • ACF Page Builder
          • Service Page
          • Slider with Static Text
          • Repeater Slider
          • Absolute Slider
          • Gallery
          • Smart Menu
          • Conversion Page
          • Secure Template
          • Grid Splash Template
          • Sidebar
          • Full Width
          • Search
          • How to guide
          • Downloads
          • ACF Page Builder
          • Slider Above Menu Template
          • Headless Page Template
        • Elements
          • Cards
          • Display Blocks
          • Display Blocks 47+
          • CPT VC Blocks
          • VC Galleries, Carousels & Sliders
          • Complex Contact Form
          • VC Blocks
          • Code Snippets
          • Sample Page
          • Flow Selector Card
          • Symptom Search Tool
        • Contact
        • Shop
          • My Account
            • Cart
            • Checkout
        Subscribe
        © Boilerplate 2023
        Built with Storefront.

        © Footer left

        Website by Square Socket.

          Lightbox content


          Send us your image

          Error: Contact form not found.

          Contact Us

            Your Name *

            Your Email *

            Phone number

            Your Message