• Working fine to insert php. But all other shortcodes are broken and show the shortcode without actioning them.
    No shortcode is used inside the php. The php retrieves various posts – the shortcodes in these posts work fine, just the ones for the page that are external to the php shortcode wrapper.

    This is happening for a calendar plugin and a column shortcode. I have tried with each separately and they both break. I am using version 1.3

    http://www.theonetruevlad.co.uk/demopage

    https://ww.wp.xz.cn/plugins/insert-php/

Viewing 1 replies (of 1 total)
  • TheOneTrueVlad, there are indeed conflicts that I hear about once in a while.

    Putting the Insert PHP functionality between the [column…]…[/column] shortcodes is likely to be the reason.

    You see, Insert PHP doesn’t use short codes. What appears to be a shortcode ([insert_php]…[/insert_php]) are placeholders for the plugin marking where the PHP code starts and where it ends. The plugin uses the eval() function to run the PHP code and replaces the [insert_php]…[/insert_php] with any output the PHP code may have generated.

    That action may be interfering with the shortcodes you’re using.

    Probably a decision will need to be made to either put the Insert PHP functionality outside any other shortcodes or to not use Insert PHP at all.

    Will

Viewing 1 replies (of 1 total)

The topic ‘Shortcode conflicts’ is closed to new replies.