Home › Forums › WP ESTATE – Real Estate WordPress Theme FORUM › Rent Items shortcode
This topic contains 1 reply, has 2 voices, and was last updated by Anna 3 years, 8 months ago.
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?
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.
You must be logged in to reply to this topic.