<?php link_pages('<p class="pagelinks">Continue To More Pages: ', '</p>', 'number'); ?>
B/C it is sometimes hard to notice that there are additional pages to a given post, I decided to give the line containing the page numbers a special coloring.
At the moment, when there aren’t multiple pages in a given post, the alert-styled bordering still appears, but it is blank w/ nothing inside it. How do i write the code to make the alert conditional upon the existence of multiple pages? Right now “Continue to More Pages” only appears when there are multiple pages, so I want the special alert coloring to appear the same fashion.
I hope I explained that correctly. Thanks for your help!
- The topic ‘Alert Div Class to Signal Additional Pages in Posts’ is closed to new replies.