WordPress.org

Support

Support » Themes and Templates » [Resolved] Sticky post

[Resolved] Sticky post

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author nobita

    @nobita

    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.

    Theme Author nobita

    @nobita

    past 2 weeks not reply

    Change to resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Sticky post’ is closed to new replies.