Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can fix this by upgrade animsition.js.
    https://github.com/blivesta/animsition

    This plugin use old animsition.js to page transition effect.
    I swaped these files to plugin folder, and problem solved.

    animsition.js(rename to jquery.animsition.js)
    animsition.min.js(rename to jquery.animsition.min.js)
    animsition.min.css
    animsition.css

    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)