shortcode wordpress
Uncategorized code / October 19, 2022
function blog_shortcode() {
echo template_return_get_template_part(‘template-parts/content’, ‘blog’);
}
add_shortcode(‘blog-listing’, ‘blog_shortcode’);