• I need to add thumbs to post navigation, code look like this

    <?php if ( is_single() ): ?>
    	<ul class="post-nav group">
    		<li class="next"><?php next_post_link('%link', '<i class="fa fa-chevron-right"></i><strong>'.__('Next story', 'hueman').'</strong> <span>%title</span>'); ?></li>
    		<li class="previous"><?php previous_post_link('%link', '<i class="fa fa-chevron-left"></i><strong>'.__('Previous story', 'hueman').'</strong> <span>%title</span>'); ?></li>
    	</ul>
    <?php endif; ?>

Viewing 1 replies (of 1 total)
  • Hi fabian00,
    the code you posted is in hueman/inc/post-nav.php
    Easiest way to change thumbs is to make child theme, make /inc folder and copy there post-nav.php (in child theme, you must make same folder structure as in original hueman)
    Than you can pick fa icon you want from fa cheatsheet https://fortawesome.github.io/Font-Awesome/cheatsheet/ and replace existing in child theme’s post-nav.php .
    Plus – if it’s not working, add to your child theme’s functions.php something like this:

    load_template( get_stylesheet_directory() . ‘/inc/post-nav.php’);

    Hope this helps. If so pls mark thread [resolved], if not, feel free to post next question.

    Regards,
    Mike

Viewing 1 replies (of 1 total)
  • The topic ‘images in post nav’ is closed to new replies.