Plugin Directory

Changeset 148223


Ignore:
Timestamp:
08/22/2009 09:00:18 PM (17 years ago)
Author:
noah28
Message:

Changed # paragraphs requirement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • searchekko/tags/1.0/searchekko_wp_plugin.php

    r147036 r148223  
    3737    if (is_single()) {
    3838        //if long enough post, insert a collapsed searchekko widget below first paragraph
    39         if (str_word_count($content) > 200 && substr_count($content, "<p>") >= 4) {
     39        if (str_word_count($content) > 200 && substr_count($content, "<p>") >= 3) {
    4040            //get end location of first paragraph
    4141            $closeParIx = strpos($content, "</p>") + 4;
Note: See TracChangeset for help on using the changeset viewer.