Your address will show here +12 34 56 78

This topic contains 1 reply, has 2 voices, and was last updated by  Anna 3 years, 8 months ago.

  • Author
    Posts
  • #23670

    Alex

    Hi Anna,

    I’m having a bit of a problem configuring the recent items shortcode.

    I want to display recent rentals. I have an action setup with the slug ‘rentals’ and have configured the shortcode in the following manner:

    [recent_items type=”properties” category_ids=”” action_ids=”rentals” city_ids=”” area_ids=”” number=”4″ rows=”1″ link=”http://www.property.mylocalpostcode.com/property_action_category/sales/”][/recent_items]

    This isn’t pulling in the rentals for some reason (just blank). Am I doing something wrong?

    Thanks

  • #23707

    Anna
    Keymaster

    Hi Alex,

    All IDs should be numbers. These numbers are assigned by WordPress when you create a category,action,area and city.

    To see the IDs easier, install this plugin called HH columns.

    After it’s active, go to Actions and copy the ID number on the rentals category.

    Replace action_ids=”rentals” with action_ids=”NUMBER”

    Will solve the problem.

    Let me know if you need more help.

    Thanks
    Anna

You must be logged in to reply to this topic.