• Resolved dfgutzman

    (@dfgutzman)


    I am using the Raindrops theme. At the bottom of each post, there is a next and a previous link that shows the title of the next/previous article. It also has a left or right arrow respectively.

    I would like to remove both the arrow and the next/previous functionality that shows the next/previous article.

    If you could let me know where the code is that I need to change, and what I need to change, I would greatly appreciate it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dfgutzman

    (@dfgutzman)

    Has anyone had a chance to look at this?

    Hi dfgutzman

    Please open the file raindrops/functions.php

    find function below.

    /**
     * Article navigation
     ......
     */
        if(!function_exists("raindrops_prev_next_post")){
        function raindrops_prev_next_post($position = "nav-above"){
           ......
           $html = '<div id="%1$s" class="%2$s"><span class="%3$s">';
            printf($html,$position,"clearfix","nav-previous");
            previous_post_link('%link','<span class="button"><span class="meta-nav">?</span> %title</span>');
            $html = '</span><div class="%1$s">';
            printf($html,"nav-next");
            next_post_link('%link','<span class="button"> %title <span class="meta-nav">?</span></span>');
            $html = '</div></div>';
            printf($html);
        }
        }

    and comment out like this

    /*$html = '<div id="%1$s" class="%2$s"><span class="%3$s">';
    
            printf($html,$position,"clearfix","nav-previous");
            previous_post_link('%link','<span class="button"><span class="meta-nav">?</span> %title</span>');
    
            $html = '</span><div class="%1$s">';
            printf($html,"nav-next");
            next_post_link('%link','<span class="button"> %title <span class="meta-nav">?</span></span>');
    
            $html = '</div></div>';
    
            printf($html);*/

    I am sorry to be poor at English.

    Thank you.

    Thread Starter dfgutzman

    (@dfgutzman)

    I am sorry, but the code above does not exist in the function.php file. Any other suggestions for where it could be located?

    Please see Raindrops 0.938 functions.php

    https://themes.svn.www.ads-software.com/raindrops/0.938/functions.php

    See souce view line 1517.

    Another way

    Open style.css and add below style rules at last line.

    #nav-below .nav-previous,
    #nav-below .nav-next{
    display:none;
    }

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Raindrops Theme: Remove Next/Previous from posts’ is closed to new replies.