Ready to get started?Download WordPress


[resolved] Please help to remove postpath and next/prev posts (9 posts)

  1. rate4d
    Posted 5 years ago #

    Hello, so, it's, I HOPE, my last problem on this theme. It shows postpath in the post, and next/prev posts in the bottom of every post, I need to remove it, I wish you guys could help me.
    For better understanding of the problem here's the screen

  2. s_ha_dum
    Posted 5 years ago #

    What theme is it?

    The first string you want to remove looks like a breadcrumbs type item. That is probably something loaded by your theme or by a plugin.

    To remove the page links look for next_posts_link() and previous_posts_link() in your theme.

  3. rate4d
    Posted 5 years ago #

    It's inove

  4. rate4d
    Posted 5 years ago #

    im not using any plugins, so it's probably in the theme(inove), but I cant found the code, because I don't know whats the name of thoose things, I searched "next_posts" "posts_link" in all php files, Couldn't find anything

  5. rate4d
    Posted 5 years ago #

    *cant find xD

  6. Look in single.php, index.php, page.php, single.php, etc. for the breadcrumb:

    <a title="<?php _e('Goto homepage', 'inove'); ?>" href="<?php echo get_settings('home'); ?>/"><?php _e('Home', 'inove'); ?></a>> <?php the_category(', '); ?>> <?php the_title(); ?>

    and for the botom links:

    <span class="newer"><?php previous_posts_link(__('Newer Entries', 'inove')); ?></span><span class="older"><?php next_posts_link(__('Older Entries', 'inove')); ?></span>
  7. s_ha_dum
    Posted 5 years ago #

    The navigation links are in single.php-- next_post_link and previous_post_link. The breadcrumb path is the div labeled 'postpath' in single.php.

  8. rate4d
    Posted 5 years ago #

    Dude you can't imagine how thankful I am ^^
    I will go to help other people with problems, because if you haven't helped for me it would took several days or week to get this work, thank you very much, it's good feeling then you are heared, I can't donate everybody who helps me, but I can help other people, and if we help each other it'd be cool.

    <Im still shitting in my pants, how happy I am>

    I removed postpath from single.php and next/previous posts code from single.php , archive.php , and index.php it works great.

  9. Cool that it works. I help out here because I like to, and others have helped me, too....

Topic Closed

This topic has been closed to new replies.

About this Topic