Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Claude Vedovini

    (@cvedovini)

    Hi,
    I am pretty sure there would be a host of issues having multiple editors on the same page for little gain.
    Although it’s not recommended, the excerpt fields accept HTML so you can manually input tags there.
    Regards,
    C.

    Thread Starter aofathy

    (@aofathy)

    Okay. Just one more question can you please tell to show div if any excerpts are added for post.

    I’m trying to create a button to toggle excerpts and I need to hide that button when there are no excerpts.

    Thanks a lot sir for your time.

    Plugin Author Claude Vedovini

    (@cvedovini)

    In that case, I recommend you use the template tag.

    Uncheck the “Filter content automatically” check box on the settings page and use bb_get_the_other_excerpt in your templates

    Thread Starter aofathy

    (@aofathy)

    Can you please give me any example to show the other excerpt in single.php template?

    Sorry for that.

    Plugin Author Claude Vedovini

    (@cvedovini)

    just put the following wherever you want in your template:

    <?php echo bb_get_the_other_excerpt(); ?>

    that will do the same thing as the plugin.

    Thread Starter aofathy

    (@aofathy)

    I did the exact samething but it showed nothing! That why I asked you again.

    I’m adding it to single.php of my theme. And only the original post appears.

    Thread Starter aofathy

    (@aofathy)

    You fixed it the latest update. Thanks man.
    Now everything is working flawlessly!

    Thanks again for million times!

    Plugin Author Claude Vedovini

    (@cvedovini)

    I fixed bb_the_other_excerpt in the last update, not bb_get_the_other_excerpt which is the one you want to use if you need to test if there is anything to show

    Thread Starter aofathy

    (@aofathy)

    Both work now. I don’t know why! ??
    Is there any if statement to check if post had any excerpts.

    Plugin Author Claude Vedovini

    (@cvedovini)

    try this:

    $excerpt = bb_get_the_other_excerpt();
    if (empty($excerpt)) echo 'no excerpt here';
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Rich text editor in Excerpts?’ is closed to new replies.