
Wp Next and Previous Links Codex without plugin
প্রোগ্রামিং 2 years ago 24 Aug, 2019 at 12:00 am 318
Another option for the code above would be to create a function as shown below:
echo ‘
‘;
if (!empty($prevID)) {
echo ‘
“;
}
if (!empty($nextID)) {
echo ‘
“;
}
}
?*>
You can add such function in the bottom of your page.php file so you can call the ‘Previous / Next’ links calling the function like shown below:
Use:
<*?php getPrevNext(); ?*>
remove * from the code
if you are out of a php block. or use:
getPrevNext();
if you are inside of a php block.
2 years agoAbdullah sk
I,m article writer, part time job in kokilbd
I,m article writer, part time job in kokilbd
আরও দেখুন


10 months ago at 9:55 pm 309

10 months ago at 11:33 pm 566

11 months ago at 12:19 am 2175
সর্বশেষ

2 days ago at 10:51 am 14

2 days ago at 10:50 am 20

2 days ago at 10:49 am 13

2 days ago at 10:48 am 9
ফোরাম বিভাগ
© ২০১৫-২০২০ কোকিলবিডি