WordPress.org

Ready to get started?Download WordPress

Forums

Custom archive loop (1 post)

  1. jonathanfh
    Member
    Posted 6 years ago #

    Hi,

    I am creating a new theme for my website. This is the first time I do it from scratch.
    I am having some issues with the function get_archives().
    Here is what i put on my page:

    <?php wp_get_archives('type=postbypost&limit=8&format=custom'); ?>

    and it displays the name of my last 8 articles side by side, I would like to seperate each article by this symbol: |.

    How can I do that? Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic