Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter rubendn

    (@rubendn)

    I modified the code to the following to do more testing…

    <?php
    global $postname;
    $postname = $wp_query->post->post_title;
    echo $postname
    ?>
    <p align=’center’><?php get_flickrrss(7, “public”, $postname); ?></p>

    It does show the title of the post using the echo command but it does not properly pass the value to the get_flickrrss function.

    If I change the last line to:

    <p align=’center’><?php get_flickrrss(7, “public”, ‘dog’); ?></p>

    it works fine and shows the 7 pictures of dogs.

Viewing 1 replies (of 1 total)