• I am trying to use wp_get_archives to display recent posts, but I want a ‘<span class=”block”>& nbsp;</span>’ to appear before the
    < li> tag

    I am using this: <?php wp_get_archives(‘type=postbypost&limit=10format=custom&html=<span class=”block”>& nbsp;</span>’); ?>

    but it doesn’t put anything before which is what I want it to do.

    What do I have to do to make it work…

The topic ‘wp_get_archives’ is closed to new replies.