WordPress.org

Ready to get started?Download WordPress

Forums

raindrops
[resolved] Sticky post (3 posts)

  1. Kartono Chandra
    Member
    Posted 1 year ago #

    Hello,
    Am using raindrops theme and using wordpress sticky post. All working fine but when i click the link the content was not found or only display a blank page. How i can fix it ?

    http://wordpress.org/extend/themes/raindrops/

  2. nobita
    Member
    Theme Author

    Posted 1 year ago #

    Hi Kartono Chandra

    I am sorry to make it get confused.

    I consider the sticky post as it is better to be displayed only by a homepage.

    But I'm mistake. single.php is brank.

    Next versions Raindrops shows message at single.php

    link 'Sticky Post Shows Only WEB Site Home.'.

    If you need showing sticky post at single.php

    How to showing sticky post at single.php below.

    Please open functions.php line:4797

    function raindrops_post_class( $class = '' , $post_id = null ){
    
                global $post;
    
                $classes = get_post_class( $class, $post_id );
    
                if ( is_sticky( ) ) {
    
                    $classes[] = 'raindrops-sticky';
                }

    change below ( add return; )

    function raindrops_post_class( $class = '' , $post_id = null ){
                return;
                global $post;
    
                $classes = get_post_class( $class, $post_id );
    
                if ( is_sticky( ) ) {
    
                    $classes[] = 'raindrops-sticky';
                }

    Next versions raindrops

    How to remove 'How to showing sticky post at single.php below.' message below.

    Add to style.css last line below style rule.

    .sticky-single-follow-text{
    	display:none;
    }

    Thank you.

  3. nobita
    Member
    Theme Author

    Posted 1 year ago #

    past 2 weeks not reply

    Change to resolved.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic