• The Cobalt Apps Community Forum is for community interaction and assistance, but is not our official Cobalt Apps Product Support solution. If you need Cobalt Apps Product Support please contact our support team through the contact form found at the bottom of your "My Account" page.

Need to create a Hook Box in a Feature Top EZ-Widget Area

#1
I'm trying to display the post's category title on a single post page. Specifically, I want it in the Feature Top EZ-Widget Area. Using a widget seems complicated since they don't allow PHP.

So I'm wondering, is there a way to create a Hook Box in that widget area? In the hook box position dropdown there is no hook attributed to that area.
 

eric

Administrator
Cobalt Apps Developer
#2
You could always install a Plugin like "PHP Code Widget" to enable PHP code in Widget Areas. But if you want to go the Hook Box rout then you should just be able set your Hook Box to "Shortcode" and then use it as a shortcode inside your Widget Area. Just note that once set to "Shortcode" your Hook Box name is what is used to create the actual shortcode text. So, for example, if your Hook Box was named "My Box" your shortcode would look like this:
Code:
[my_box]
Caps become lowercase, spaces and dashes are underscores, and it's all wrapped in square brackets.