next/previous_post_link use with icon fonts
-
This line of code displays my arrow icon font
<a href="" aria-hidden="true" data-icon="p" class="arrows"></a>
, and I am trying to insert<?php previous_post_link('%link'); ?>
somehow into it so that when the arrow is clicked, the previous product page (using WooCommerce) will load.I can see by my code that
<?php previous_post_link('%link'); ?>
already loads with an a attribute attached. Within what php file is it located? Is that where I have to insert my original code?
- The topic ‘next/previous_post_link use with icon fonts’ is closed to new replies.