Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Elements
Sections

You Don't Need Shortcodes
There's no need to use shortcodes in blog and shop pages, because they have their own templates. To add contents to these pages, you should use post or product in WordPress dashboard.
$meta) { if (isset($meta['category'])){ /* check if it is visual composer shortcode or not */ $base = (isset($meta['base'])) ? $meta['base'] : ''; $allowed_shortcodes = array('vc_row', 'vc_empty_space'); if ($base == 'vc_column_text' || ( strpos($base,'vc_') === 0 && $base != ''&& !in_array($base,$allowed_shortcodes) )) { continue; } /* Create shortcodes Category HTML */ $category = $meta['category']; $name = (isset($meta['name'])) ? $meta['name']:''; $icon_name = strtolower($name); $icon_name = str_replace(' ', '-', $icon_name); if (!array_key_exists($category,$category_list)){ $category_list[$category] = '

' . $name . '

' ; }else{ $category_list[$category] .= '

' . $name . '

'; } } } /* Echo shortcodes HTML */ global $md_allowed_HTML_tags; foreach ($category_list as $category => $items_html ){ echo '
' . esc_attr($category) . '
'. wp_kses($items_html,$md_allowed_HTML_tags).'
'; } } ?>
You Don't Need Shortcodes
There's no need to use shortcodes in blog and shop pages, because they have their own templates. To add contents to these pages, you should use post or product in WordPress dashboard.
$section ) { $section_html = ''; echo '
' . $section_html . '
'; } } ?>