Adding extra words

Soldato
Joined
29 Dec 2004
Posts
5,653
Location
Chatham, Kent
Adding a navigation drop down menu to my website to navigate through pages.

Here is the code i believe i need to edit so i can add a « and a » and the words Prev Page and Next Page :

if ($nav_type == 2) $output .= '<a class="contentjumplink" href="' . untrailingsla****(get_permalink()) . $previouslink_checked . $previouspagelink.'</a>';
if ($nav_type == 1) $output .= '<a class="contentjumptitle" href="' . untrailingsla****(get_permalink()) . $previouslink_checked . $previoustitle.'</a>';
}
else {
if ($nav_type == 2) $output .= '<span class="contentjumplink" >'. $previouspagelink.'</span>';
if ($nav_type == 1) $output .= '<span class="contentjumptitle" >'.$firstpagetext.'</span>';
}

if (($quick_type == 0) && ($nav_type == 1)) {
if (empty($pagetitles[$page - 1])) $output .= '<span class="contentjumptitle" >Page '.$page.'</span>';
else {
if ($nav_number) $output .= '<span class="contentjumptitle" >'. $page . '. ' . $pagetitles[$page - 1] . '</span>';
else $output .= '<span class="contentjumptitle" >'. $pagetitles[$page - 1].'</span>';
}
}
Just not sure, where to put the » and Prev Page and Next page in bold.

Any ideas?

Andy
 
Last edited:
Back
Top Bottom