WordPress.org

Support

Support » Plugins and Hacks » How to put the code directly in php instead use short code!

How to put the code directly in php instead use short code!

Viewing 2 replies - 1 through 2 (of 2 total)
  • nelson lopes
    Member

    @nelson-lopes

    I found the answer !
    you just have to use do_shortcode( …) .

    Hi Nelson can you please explain abit more?

    So I would place the code:

    <?php do_shortcode(short code here?);?>

    in my say home.php file where I want the map to be?
    I have tried that and it made my site go blank.

    thanks
    alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to put the code directly in php instead use short code!’ is closed to new replies.