WordPress.org

Support

Support » How-To and Troubleshooting » How To Add Pipe ( | ) To php get_links code

How To Add Pipe ( | ) To php get_links code

  • Here is what I am facing on my footer.php page at http://realtylms.com/:

    At the bottom in the footer I am using the following php code:

    <?php get_links(21, '<span>', '</span>', ' | ', TRUE, 'url', FALSE); ?>

    It works fine, except I want to separate each city using the PIPE (|) character so that the cities displayed will like this:

    Allied Gardens | Bay Park | Carmel Valley | Chula Vista | Clairemont | College | College Grove | etc.

    This is meant to be a navigation for featured communities in the footer.

    Open to Suggestions, please.

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How To Add Pipe ( | ) To php get_links code’ is closed to new replies.
Skip to toolbar