Roman
Keymaster
Post count: 2538
Been thanked: 29 times
#8815 |

you have only two choices to get it to work. with numbers only:

Code:
<?php wp_link_pages( array(
‘before’ => ‘<div class=”pagination”>’ . __( ‘Pages:’ , ‘alora’ ),
‘after’ => ‘</div>’,
‘link_before’ => ‘<span class=”current”>’,
‘link_after’ => ‘</span>’,
‘next_or_number’ => ‘number,
‘separator’ => ‘ ‘,
‘nextpagelink’ => __( ‘Next <i class=”fa fa-angle-right”></i>’ , ‘alora’ ),
‘previouspagelink’ => __( ‘<i class=”fa fa-angle-left”></i> Previous’ , ‘alora’ ),
‘pagelink’ => ‘%’,
‘echo’ => 1
)); ?>

or only with previous/next link:

Code:
<?php wp_link_pages( array(
‘before’ => ‘<div class=”pagination”>’ . __( ‘Pages:’ , ‘alora’ ),
‘after’ => ‘</div>’,
‘link_before’ => ‘<span class=”current”>’,
‘link_after’ => ‘</span>’,
‘next_or_number’ => ‘next’,
‘separator’ => ‘ ‘,
‘nextpagelink’ => __( ‘Next <i class=”fa fa-angle-right”></i>’ , ‘alora’ ),
‘previouspagelink’ => __( ‘<i class=”fa fa-angle-left”></i> Previous’ , ‘alora’ ),
‘pagelink’ => ‘%’,
‘echo’ => 1
)); ?>