• Hello!

    I would like to know how can I include a piece of external code in the wordprpress.

    I tried to add my code in the footer.php (wp-content/themes) but whit no suces..

    This is the code that i need to add:

    <?php
    $site_id = "48";
    include('banner.php');
    ?>

    But when I try to run my blog I got several MySQL errors. “banner.php” can’t call an external MySQL database?

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

The topic ‘3rd party code’ is closed to new replies.