Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hobbsh

    (@hobbsh)

    Can you post a link to your site? Could be a CSS issue in the plugin.

    -Wylie

    I got same problem, and finally fixed it because of my angry client.

    74-97 line of wordpress-posts-timeline.php

    $posts = get_posts( $post_args );
    		echo '<div id="timeline">';
    		echo '
    <ul>';
    ...
    		echo '</ul>
    ';
    		echo '</div> <!-- #timeline -->';
    		wp_reset_postdata();
    }

    I changed echo to $t_text
    like this

    $t_text = '<div id="timeline">';
    		$t_text .= '
    <ul>';
    		foreach ( $posts as $post ) : setup_postdata($post);
    
    	        $t_text .= '
    <li><div>';
    ...
    		$t_text .= '</li>
    </ul>
    ';
    		$t_text .= '</div> <!-- #timeline -->';
    		return $t_text;
    		wp_reset_postdata();

    it works!
    Thanks for good plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Timeline always on top’ is closed to new replies.