Images in Footer

  • Tenacious


    I’d like to put little ads in the footer, but cannot figure out how. I’d like to keep the custom copyright and developer information; perhaps putting the images in the middle?

    Any help is greatly appreciated.



    Please Supply Link/URL To The Site In Question!



    Syahir Hakim


    Add this code into your child theme’s functions.php file:

    function graphene_footer_content(){ ?>
    <div class="custom-footer-content">
    <!-- Put your HTML codes here -->
    <?php }
    add_action('graphene_developer', 'graphene_footer_content');

    Make sure you replace <!-- Put your HTML codes here --> with whatever HTML codes you want to put in there, and then position/style it using CSS.



    Sorry, I was very busy yesterday and didn’t notice the post updated.

    Here is the link to the site in question:

    I put the code into the child theme’s functions.php, but I get an error:

    “Parse error: syntax error, unexpected ‘}’ in /home/soicraft/public_html/wp-content/themes/graphene-child/functions.php on line 5”


    Syahir Hakim


    Hurm..did the child theme’s functions.php file starts with <?php and ends with ?>?



    Sorry, I forgot to add those to the code. Everything works now, thanks a bunch!

Viewing 6 posts - 1 through 6 (of 6 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum