Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Yes, that should be possible. When you want to execute a shortcode from PHP, you usually have to wrap the content with the do_shortcode() function in WordPress. Post Snippets perform a do_shortcode() on shortcodes created just before output, so you should be able to have PHP shortcodes with shortcodes inside them without having to add a do_shortcode() in your snippet.

    Cheers,
    Johan

    Thread Starter fabone

    (@fabone)

    Hello,

    Thank you.

    I saw it was possible.

    Do you know i can display n records from sql table then update field, delete records or insert new records and finally save all modifications in database ?

    Thread Starter fabone

    (@fabone)

    Hello,

    It will be great if the editor window (where we write the PHP code) would be much bigger and the tabs key works (you know because of {} to make the code more readable).

    Thank you.

    Fabrice

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Short Code in Short’ is closed to new replies.