gdkob_product
Developer Knowledge Level
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
This shortcode is used to display one or more selected products.
Attributes
Shortcode has several attributes:
- class: additional CSS class name to add
- product: ID’s for one or more products to display. This field is required!
- bgcolor: background color for the list. The default color is ‘#F4F4F4’.
Example
Shortcode:
[gdkob_product product="55720,55088" bgcolor="#f4e3e3"]
Output:
Specified items are not valid posts.