if statement for previous/next links
-
My php skills are mediocre but I’m hoping someone else can help me out here. You know the previous/next links at the index page that lead to older, or newer, entries? I did some modifying and put images instead of the default ? and ? signs. However to make it look the best I put them as backgrounds in the alignleft and alignright classes. Now the question; is there a way to make an if statements in the index.php so the alignleft and alignright divs only appear in there is content in either the previous or next pages? Right now the images stay when the text links are gone, and it looks a bit unprofessional.
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘if statement for previous/next links’ is closed to new replies.