Categories
CMS Development Wordpress

Echo short code syntax

I want to make dynamic short code so insert php code of metabox text value to short code. I wrote this: <?php echo do_shortcode(“[svg-flag flag=\””.get_post_meta($post->ID, ‘ozellikler_text’, true);”.\”]”); ?> Error : Parse error: syntax error, unexpected ‘;’, expecting ‘,’ or ‘)’ in /home/deniztas/themeforest-deneme2.deniz-tasarim.site/wp-content/themes/html5blank-stable/my_homepages/right.php on line 14 I explain what I want step by step: There is […]