Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Coveneye

    (@coveneye)

    Great plugin because it’s all linked to Japan 🙂

    Hi, tried my hands on this plugin yesterday. Don’t know if your problem was mine, but in my case WordPress 3.1 doesn’t automatically create the content for post_except field in the database, so the querry for post_excerpt field returns an empty string.

    To solve the problem, you could turn Excerpt field on in the Screen View option panel for your posts and create the Excerpt manually.

    If you don’t want to going through that all the time, then go to line 328 and replace this:
    if ( $ppc_excleng && mb_strlen_dh($clanak->post_excerpt) > ($ppc_excleng+1) ) { $sazetak = substr_utf8($clanak->post_excerpt, 0, $ppc_excleng)."…"; } else { $sazetak = $clanak->post_excerpt;}

    with this:
    if ( $ppc_excleng && mb_strlen_dh($clanak->post_content) > ($ppc_excleng+1) ) { $sazetak = substr_utf8($clanak->post_content, 0, $ppc_excleng)."…"; } else { $sazetak = $clanak->post_content;}

    That would make the plugin take content in “post_content” field in stead of post_excerpt field to process, so you won’t have to bother with post_excerpt every time.

    Good luck!

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