Shortcode with attributes
under review
R
Radim Němeček
The big thing that is missing is the shortcode with attributes. For example:
I have created only one opening time, but I want to display it twice. Each time with a different layout. One vertical, the other calendar (for example). When I create two opening hours for each layout, I have to rewrite both at the same time, which is quite an unnecessary step.
For example, it could look like this: [business-hr id="123456" layout="calendar"].
Another use would be to hide/show different elements. As in the Views setting. Text settings and more. The possibilities would be almost endless. This way it is possible to use only one opening time and display it in different places on the page with different settings.
M
MYWPDev
under review