Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #5579

    Hi there,

    Great theme! I gave it 5 stars on Themeforest.

    Please can you help me with a problem with specifying content for the footer columns?

    1. In the first column I have the text widget with some HTML. It shows up fine.
    2. In the second column I have some PHP to show titles of posts. I know this works since I have used it in a previous theme.
    3. In the third column I have another PHP snippet to show and RSS feed of Flickr images. Also, this worked in a previous theme.
    4. In the fourth column, I have again some HTML. But this time it does not execute.

    Plain text with no code shows up fine in each of the columns. So for some reason the code in the 2nd, 3rd and 4th columns is not executing. I used a plugin Exec-PHP to see if that would make the PHP work, but it didn’t. Please can you help me figure out how to execute the code in the footer box widgets?

    Thank you!


    Second column

    <?php query_posts('category_name=school-blog&showposts=5'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink(); ?>">
    <?php the_title(); ?>
    </a> </li>
    <?php endwhile; ?>

    Third column

    <?php get_flickrrss(12); ?>


    Okay, I figured it out. You need to use the PHP Code widget from the widgets panel.


    Glad that you found a solution :)

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

The topic ‘Help executing code in footers’ is closed to new replies.