• Resolved gjp0117

    (@gjp0117)


    Box content can use php code?
    example:
    <?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>

    and it became

    <!–?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?–>

    3Q

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Lap

    (@lapzor)

    It follows the same rules as any other content editor in WordPress, like your posts or pages, meaning in most cases you are not allowed to use PHP code there unless you modified your WordPress to allow PHP code in Posts/Pages/Widgets/etc.

    However, you CAN use any kind of shortcode from other plugins and some plugins may allow you to insert PHP via shortcode.

    Hope that helps. If you have any questions, please let us know!

    Thread Starter gjp0117

    (@gjp0117)

    thanks you answer.
    “some plugins may allow you to insert PHP via shortcode.”
    i got it !

    • This reply was modified 7 years, 11 months ago by gjp0117.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Box content can use php code ?’ is closed to new replies.