add special character using link_before or link_after
-
Is there a way to use a special character in this:
<?php wp_list_pages('title_li=&link_after=→'); ?>
the goal is link name with an arrow as part of the link.
I don’t know php, and have tried copying various things but nothing shows:
<?php wp_list_pages('title_li=&link_after="→"'); ?>
<?php wp_list_pages("title_li=&link_after='→'"); ?>
<?php wp_list_pages('title_li=&link_after=' . __('→') . ' '); ?>
Is there a way to escape or something so a special character using an ampersand will work in the php line?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘add special character using link_before or link_after’ is closed to new replies.