Viewing 4 replies - 1 through 4 (of 4 total)
  • hello,
    i have worked on it this morning.
    and it work, use it in the part you need to use the shortcode. (i have created a new custom field for my shorcode)

    in shortcode.php:

    if( $details['posts'] != '' ){
    			$modal .= do_shortcode ( ''.$details['posts'].'');
    		}

    hope it help

    Thread Starter mongulu

    (@mongulu)

    Thanks so much!!! Tried it and worked

    Hi you two,

    It’s great to see that the issue has been resolved for you, mongulu; however, I still struggle with this. giacomojam, do I understand you correctly that the code you posted has to be added to my theme’s “shortcodes.php” file?

    If no, where does it go? If yes, is there anything else I have to do in order to make shortcodes work in the bio field? It still displays the shortcode as plain text for me. Sorry if I misunderstood your post and I hope you can help me clarify this.

    It doesn’t work for me either.
    Also the solution of editing the .php file is not a viable one. Any changes should be part of the plugin so that they dont get affected by any other updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcodes inside bio field’ is closed to new replies.