Changeset 148223
- Timestamp:
- 08/22/2009 09:00:18 PM (17 years ago)
- File:
-
- 1 edited
-
searchekko/tags/1.0/searchekko_wp_plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
searchekko/tags/1.0/searchekko_wp_plugin.php
r147036 r148223 37 37 if (is_single()) { 38 38 //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) { 40 40 //get end location of first paragraph 41 41 $closeParIx = strpos($content, "</p>") + 4;
Note: See TracChangeset
for help on using the changeset viewer.