• My PHP code is want to use is:

    <?php
    $country = geotargeting_resolve_ip();
    if ($country == 'US' || 'CA || 'GB' || 'AU' || 'IE' || 'MY' || 'NZ' || 'SG' || 'HK') {?>
    This is the widget code I want to load
    <?php } ?>

    How would I use this with widget logic?

    Thanks

    https://ww.wp.xz.cn/plugins/widget-logic/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘How to use with custom PHP?’ is closed to new replies.