Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter misterco

    (@misterco)

    It’s ok for me, I just replace limit2 function by excerpt and it’s works!!

    Your can close this ticket.

    PS : I have rated (five star :P) and comment your plugin 😉

    Thread Starter misterco

    (@misterco)

    It is possible to call rating function manually?

    Thread Starter misterco

    (@misterco)

    Thanks for your quick response!

    I think my theme (Nublu) is the problem, my front page is using a theme function limit2 to print excerpt :

    function limits2($max_char, $more_link_text = ‘(more…)’, $stripteaser = 0, $more_file = ”) {
    $content = get_the_content($more_link_text, $stripteaser, $more_file);
    $content = apply_filters(‘the_content’, $content);
    $content = str_replace(‘]]>’, ‘]]>’, $content);
    $content = strip_tags($content, ”);

    if (strlen($_GET[‘p’]) > 0) {
    echo $content;
    }
    else if ((strlen($content)>$max_char) && ($espacio = strpos($content, ” “, $max_char ))) {
    $content = substr($content, 0, $espacio);
    $content = $content;
    echo $content;

    echo “…”;
    }
    else {
    echo $content;
    }

Viewing 3 replies - 1 through 3 (of 3 total)