daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <ul>
  2. <li><a href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
  3. <?php
  4. $pages = wp_list_pages(’sort_column=menu_order&title_li=&echo=0′);
  5. $pages = preg_replace(’%<a ([^>]+)>%U’,'<a $1><span>’, $pages);
  6. $pages = str_replace(’</a>’,'</span></a>’, $pages);
  7. echo $pages;
  8. ?>
  9. </ul>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top