Forums

how to remove the prevoius and next post link ? (4 posts)

  1. esqesqesq
    Member
    Posted 3 years ago #

    i want to remove the previous and next POST LINKS (which are located usually above the content of the publication), so that when your are reading post#2 you won't be able go directly to post#1 and post#3. i'm using tarski theme.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Look for <?php previous_posts_link;?> and <?php next_posts_link();?> and remove them.

  3. MicTju
    Member
    Posted 2 years ago #

    I've the same problem!

    The solution that u gave (esmi) doesn't work for my template.
    If i try to remove the previous post link than i'll get the next error code when i refresh my page;

    Parse error: syntax error, unexpected T_ELSE in /storage/mijndomein/users/126570/public/sites/www.mictju.thetjungbrothers.com/wp-content/themes/SuperTjungBros/index.php on line 69

    Help please?? cause it's really frustrating and enoying!!

    Thnx

  4. razibur
    Member
    Posted 2 years ago #

    It's in SHOWTHREAD. Search the template for the word "next" and it will take you right to it.

    Code:

    <div class="smallfont" align="center">
    «
    $vbphrase[prev_thread]
    |
    $vbphrase[next_thread]
    »

    [URL="http://kerjakeras.com/mengembalikan-jati-diri-bangsa/"]Mengembalikan Jati Diri Bangsa[/URL]|
    [URL="http://kerjakeras.com/kenali-dan-kunjungi-objek-wisata-di-pandeglang/"]Kenali Dan Kunjungi Objek Wisata Di Pandeglang[/URL]

    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.