Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Have you looked at this plugin:
    https://ww.wp.xz.cn/plugins/insert-php/

    Thread Starter borgasia

    (@borgasia)

    Yes, i tried, but that didn’t solve the issue.
    It seems it has difficulties with the filtering.

    &week=1&integratie=1&no_stats=1&info=Afge@&kolom=datum|team_thuis|team_uit

    Rather than trying to execute php in text, a better and safer method is to use shortcodes. Your php goes into either a plugin, or into functions.php of your child theme. This php is activaed by shortcodes in the text or widgets.

    Details on shortcode here:
    http://codex.ww.wp.xz.cn/Shortcode_API

    Of course the shortcode route constrains how easy it is to edit the php, mostly this is a good thing.

    Thread Starter borgasia

    (@borgasia)

    Tests done

    –> changed by wordpress to &#8211
    This prevent the code to function, any ideas?

    Stand alone page:

    <!– <meta http-equiv=”X-UA-Compatible” value=”IE=7″> –>
    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
    <meta name=”keywords” content=”Wedstrijdprogramma,voetbal,programma,kleedkamers,wedstrijd,wedstrijden,overzicht,wedstrijdschema,wedstrijd schema,wedstrijd programma”>
    <meta name=”description” content=”RGPO het standaard wedstrijdprogramma volledig geïntegreerd op uw eigen website”>
    <meta name=”language” content=”NL”>
    <!– <meta name=”expires” content=”never”> –>

    In post WordPress:

    <!– <meta http-equiv=”X-UA-Compatible” value=”IE=7″> –>

    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>

    <meta name=”keywords” content=”Wedstrijdprogramma,voetbal,programma,kleedkamers,wedstrijd,wedstrijden,overzicht,wedstrijdschema,wedstrijd schema,wedstrijd programma”>

    <meta name=”description” content=”RGPO het standaard wedstrijdprogramma volledig geïntegreerd op uw eigen website”>

    <meta name=”language” content=”NL”>

    <!– <meta name=”expires” content=”never”> –>

    Are the close comments correct ?
    I see some as “minus greater”, should be “minus minus greater”

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘php in textblock problem in mozilla / chrome’ is closed to new replies.