Skip to content

Commit e12d988

Browse files
sigorillascottgonzalez
authored andcommitted
learn.jquery.com: Change permalinks on the footer of articles
Fixes jquery/learn.jquery.com#647 Closes gh-358
1 parent cc9f734 commit e12d988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/learn.jquery.com/content-page.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
<div class="bottom-links row">
2121
<?php if (isset($next_prev_arr['prev'])): ?>
2222
<div class="prev six columns">
23-
<a href="<?php echo $next_prev_arr['prev']->guid; ?>">
23+
<a href="<?php echo get_page_link( $next_prev_arr['prev']->ID ); ?>">
2424
<i class="icon-chevron-left"></i>
2525
<?php echo $next_prev_arr['prev']->post_title; ?>
2626
</a>
2727
</div>
2828
<?php endif; ?>
2929
<?php if (isset($next_prev_arr['next'])): ?>
3030
<div class="next six columns">
31-
<a href="<?php echo $next_prev_arr['next']->guid; ?>">
31+
<a href="<?php echo get_page_link( $next_prev_arr['next']->ID ); ?>">
3232
<?php echo $next_prev_arr['next']->post_title; ?>
3333
<i class="icon-chevron-right"></i>
3434
</a>

0 commit comments

Comments
 (0)