This topic has 3 replies, 3 voices, and was last updated 9 years, 9 months ago by Anonymous.
Tagged: Business Hours Pro
Viewing 4 posts - 1 through 4 (of 4 total)
Hi team,
Just a question please : I looking for display the business hours with your shortcode.
I write the shortcode in a custom field into a custom post (listing) and I display it by a widget for the custom fields. But my problem is the shortcode doesn’t work. It still in text format. I tried with add_filter on my widget and do_shortcode, but no better.
If you have an idea. I wish a display by a widget for custom fields, because it’s easier to manage the listings with or without business hours (display or not).
e.g. : https://www.passiontir.com/listing/the-hoxton/ In the sidebar, there is 2 widgets. One that take into account the shortcode (but same shortcode for all my listings. I don’t want that). And another that only return the shortcode text.
Thanks for your help !
I figured that your theme doesn’t supports shortcode in the widget you need to install the plugin which provides support for shortcode in widget.
https://wordpress.org/plugins/enable-shortcode-and-php-support-in-text-widget/
If you wish to do without plugin you can follow this URL
http://www.wpbeginner.com/wp-tutorials/how-to-use-shortcodes-in-your-wordpress-sidebar-widgets/
Please feel free to ask if the problem still persist after following the above procedure.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.