Plugin Directory

Changeset 1212490


Ignore:
Timestamp:
08/04/2015 11:31:39 AM (11 years ago)
Author:
darko.atanasovski
Message:

Bug fixes

Location:
wp-float-related-posts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-float-related-posts/trunk/RelatedPosts.php

    r1212488 r1212490  
    33Plugin Name: WP RelatedPosts
    44Description: Display related posts by taxonomy, and increasing your pageviews by user
    5 Version: 1.0.9
     5Version: 1.1.0
    66Author: Darko Atanasovski
    77Author URI: http://atanasovsky.wordperss.com
  • wp-float-related-posts/trunk/templates/default.php

    r1212456 r1212490  
    4040                    <div class="rp-snippet-text">
    4141                        <?php
    42                             $links_regex = "@(https?://([-\w\.]+[-\w])+(:\d+)?(/([\w/_\.#-]*(\?\S+)?[^\.\s])?).*$)@";
    43                             echo mb_substr( strip_tags( preg_replace( $links_regex, '', $relatedpost->post_content ) ), 0, 145, 'utf-8' ) . '...';
     42                            //$links_regex = "@(https?://([-\w\.]+[-\w])+(:\d+)?(/([\w/_\.#-]*(\?\S+)?[^\.\s])?).*$)@";
     43                            echo mb_substr( strip_tags( $relatedpost->post_content ), 0, 145, 'utf-8' ) . '...';
    4444                        ?>
    4545                    </div>
Note: See TracChangeset for help on using the changeset viewer.