Viewing 1 replies (of 1 total)
  • uhm you can do that by… going to the plugin’s php file and changing
    this code snippet:

    foreach ( $vsrp_data as $vsrp_data )
    		{
    			$vsrp_post_title = $vsrp_data->post_title;
    			$get_permalink = get_permalink($vsrp_data->ID);
    			$vsrp_post_title = substr($vsrp_post_title, 0, 130);
    
    			$dis_height = $dis_num_height."px";
    			$vsrp_html = $vsrp_html . "<div class='vsrp_div' style='height:$dis_height;padding:2px 0px 2px 0px;'>";
    			$vsrp_html = $vsrp_html . "<a href='$get_permalink'>$vsrp_post_title</a>";
    			$vsrp_html = $vsrp_html . "$content";
    			$vsrp_html = $vsrp_html . "</div>";
    
    			$vsrp_post_title = mysql_real_escape_string(trim($vsrp_post_title));
    			$get_permalink = mysql_real_escape_string($get_permalink);
    			$vsrp_x = $vsrp_x . "vsrp_array[$vsrp_count] = '<div class=\'vsrp_div\' style=\'height:$dis_height;padding:2px 0px 2px 0px;\'><a href=\'$get_permalink\' style=\'\'>$vsrp_post_title</a></div>'; ";
    			$vsrp_count++;
    
    		}

    to….

    foreach ( $vsrp_data as $vsrp_data )
    		{
    			$content = $vsrp_data->post_content;
    			$dis_height = $dis_num_height."px";
    			$vsrp_html = $vsrp_html . "<div class='vsrp_div' style='height:$dis_height;padding:2px 0px 2px 0px;'>";
    			$vsrp_html = $vsrp_html . "<a href='$get_permalink'>$vsrp_post_title</a>";
    			$vsrp_html = $vsrp_html . "$content";
    			$vsrp_html = $vsrp_html . "</div>";
    			$vsrp_x = $vsrp_x . "vsrp_array[$vsrp_count] = '<div class=\'vsrp_div\' style=\'height:$dis_height;padding:2px 0px 2px 0px;\'><p>$content</p></div>'; ";
    			$vsrp_count++;
    
    		}

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Vertical scroll recent post] Showing entire post instead of title’ is closed to new replies.