Commercial Property

Viewing 12 posts - 16 through 27 (of 27 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #2268
    Merv Barrett
    Keymaster

    I’ll take a look.

    #2314
    mrc013
    Spectator

    Any updates?

    #2315
    Merv Barrett
    Keymaster

    Hi mrc013, the shortcode works, however if the one you pasted in here is the one you are using then you have a – where it should be an =.

    category_value-“” <- Needs to be category_value=""

    #2316
    mrc013
    Spectator

    Doesn’t work. It still displays everything either for sale or lease.

    #2317
    Merv Barrett
    Keymaster

    Can you provide me Admin WordPress access to your website.

    #2365
    mrc013
    Spectator
    This reply has been marked as private.
    #2366
    Merv Barrett
    Keymaster

    there was a capital C for “current”. Can you configure a test shortcode and provide me a URL. EG there should be 5 offices on this page, but its not working. Then i’ll know if its right as there are quite a few properties on your site. Great looking site by the way

    #2367
    mrc013
    Spectator

    the capital C in current worked no problem.

    [listing_category post_type=”commercial” commercial_listing_type=”sale” category_key=”property_commercial_category”
    category_value=”Land/Development” status=”current”]

    #2379
    mrc013
    Spectator

    Created a page called “dev-test” you can use to test the code.

    #2380
    mrc013
    Spectator
    This reply has been marked as private.
    #2382
    Merv Barrett
    Keymaster

    Fixed, the actual order of the shortcode attributes are important. Once I moved status=”current” to after the post_type=”commercial” it worked.

    Thanks for this, didn’t realiise the order was extremely important.

    [listing_category] shortcode attributes order

    ‘post_type’ => ”,
    ‘status’ => array(‘current’ , ‘sold’ , ‘leased’ ),
    ‘commercial_listing_type’ => ”,
    ‘category_key’ => ”,
    ‘category_value’ => ”,
    ‘limit’ => ’10’, // Number of maximum posts to show
    ‘template’ => false // Template can be set to “slim”

    • This reply was modified 9 years, 6 months ago by Merv Barrett.
    #2384
    mrc013
    Spectator

    Champion! Works perfectly now!

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 12 posts - 16 through 27 (of 27 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.