Theme4Press Forums alora Styling Pages in multipage posts Re: Styling Pages in multipage posts

Spiros Doikas
Post count: 49
#8823 |

Seems to work for me, but the last bit of code needs css (as well as the theme declarations for localization purposes), otherwise it looks bad. For example when using:

<?php wp_link_pages(array(‘before’ => ‘<div class=”pagination”>’, ‘after’ => ‘</div>’, ‘link_before’ => ‘<span class=”current”><span class=”currenttext”>’, ‘link_after’ => ‘</span></span>’, ‘next_or_number’ => ‘next_and_number’, ‘nextpagelink’ => __(‘Next’,’alora’), ‘previouspagelink’ => __(‘Previous’,’alora’), ‘pagelink’ => ‘%’,’echo’ => 1 )); ?>

It looks pretty decent

The only issue still remaining is the different style needed for the active page.