Sputznik / orbit-bundle

Create wordpress custom post types and custom taxonomies. Search and filter through the wordpress post types and create custom queries using simple shortcodes.
GNU General Public License v3.0
0 stars 0 forks source link

Orbit types - dropdowns and checkbox type custom fields not working #81

Open guneetnarula opened 4 years ago

guneetnarula commented 4 years ago

In the edit custom post type interface, custom field that are dropdowns or checkboxes do not show options for selection

samvthom16 commented 4 years ago

@guneetnarula can you see if this is working?

guneetnarula commented 4 years ago

This works in the dashboard. But not able to use it in a orbit template

guneetnarula commented 4 years ago

@samvthom16 Is this fixed?

samvthom16 commented 4 years ago

@guneetnarula I forgot for which site this was. Can you update orbit-bundle and test this?

guneetnarula commented 4 years ago

Updated the plugin. The issue now is that the frontend shortcode for dropdown is showing a numeric 1 instead of the actual value, no matter what we choose in the dropdown. See the dashboard of taciturban.net.in/wp-admin

samvthom16 commented 4 years ago

Hey although this needs to be worked out too, but do you see a difference here: https://www.taciturban.net.in/companies/freshtohome/

guneetnarula commented 4 years ago

Yes, was the shortcode incorrect?

guneetnarula commented 4 years ago

Update. See https://www.taciturban.net.in/companies/ola-cabs/ checkboxes are showing as 'Array' and dropdown fields show as slugs instead of the actual value.

samvthom16 commented 4 years ago

@guneetnarula updated the code. Have a look over here: https://www.taciturban.net.in/companies/ola-cabs/ For the others you will have to update the custom fields