• I want to put the phpBay plugin in the middle column of a three-column layout. I entered [phpbay]……[/phpbay] in the index.php and that didn’t work. The display was of the code itself.

    Can anyone tell me what code I have to put in my index.php file to make the phpbay plugin work?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please provide a link to download that plugin — that will help someone trying to help you.

    Thread Starter johnfrum

    (@johnfrum)

    It’s a paid-for plugin, so I can’t do that.

    AllI need is the format of the code for calling a plugin from WordPress from the index.php file.

    I used [phpbay]……[/phpbay], but it’s obviously got to be in some form like <?php…..?>, maybe a get statement or something likethat.

    If that plugin author supports shortcodes, then you could do:
    <?php echo do_shortcode('[phpbay]'); ?> but since that’s a plugin you bought, might check with the author.

    Also many plugins have some kind of function that you can use but again you’d need to look at their docs or speak to the plugin author.

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

The topic ‘Hard coding a plugin call into index.php’ is closed to new replies.