Allow shortcode in the author bio textarea olatechproApril 6, 20231 Views Is it possible to make shortcodes available in the Author bio textarea? Post Views: 1 Related postsGet rid of this Strict Standards warningWooCommerce: get_current_screen not working with multi languageCan’t login on WordPressForce HTTPS using .htaccess – stuck in redirect loopWordPress: Ajax not working to insert, query and result dataHow Can I pass an image file to wp_handle_upload?
It a matter of using do_shortcode in your author.php template file (or wherever applies). This function has to be “echoed”. And instead of using the_author_meta (which echo‘s the result), use get_the_author_meta. <?php echo do_shortcode( get_the_author_meta( 'description' ) ); ?> Log in to Reply
It a matter of using
do_shortcode
in yourauthor.php
template file (or wherever applies). This function has to be “echo
ed”. And instead of usingthe_author_meta
(whichecho
‘s the result), useget_the_author_meta
.in functions.php