• Resolved wasanajones

    (@wasanajones)


    I really like you plugin and hoping we can sort out a thing or two.

    In my theme functions.php I’ve got

    add_filter('the_excerpt', 'do_shortcode');

    which processes shortcodes in the excerpt.

    wondering what we can add to allow shortcodes in the excerpts generated by the Network Posts Extended plugin. I got lost trying to figure it out…

    thanks

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

    (@johnzenausa)

    I’ll look in to it. Give me a week.

    Plugin Author johnzenausa

    (@johnzenausa)

    When you receive the next update let me know if it’s working.

    Plugin Author johnzenausa

    (@johnzenausa)

    You can now process shortcodes in the excerpt area by setting: filter_excerpt="true"

    Thread Starter wasanajones

    (@wasanajones)

    exemplary

    or should I say excerptional !

    thank you

    Plugin Author johnzenausa

    (@johnzenausa)

    Hold off on that exceptional. I ran in to a bug and am working on it. Might take a few more days.

    Plugin Author johnzenausa

    (@johnzenausa)

    Try it now. Instructions in the readme.txt file.

    Thread Starter wasanajones

    (@wasanajones)

    Hi – I’m getting db syntax error

    [netsposts include_blog=”73″ days=”30″ taxonomy=”news” titles_only=”false” show_author=”true” thumbnail=”true” size=”90,90″ image_class=”alignleft” use_shortcode_in_excerpt=”true” auto_excerpt=”true” excerpt_length=”150″ show_author=”true” paginate=”true” list=”5″]

    You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘)’ at line 1

    netsposts_shortcode()
    wp-content/plugins/network-posts-extended/network-posts-extended.php:544
    do_shortcode_tag()
    wp-includes/shortcodes.php:345
    preg_replace_callback()
    wp-includes/shortcodes.php:345
    do_shortcode()
    wp-includes/shortcodes.php:223
    apply_filters(‘the_content’)
    wp-includes/plugin.php:203
    the_content()
    wp-includes/post-template.php:240
    genesis_do_post_content()
    wp-content/themes/genesis/lib/structure/post.php:348
    do_action(‘genesis_entry_content’)
    wp-includes/plugin.php:453
    genesis_standard_loop()
    wp-content/themes/genesis/lib/structure/loops.php:92
    genesis_do_loop()
    wp-content/themes/genesis/lib/structure/loops.php:41
    do_action(‘genesis_loop’)
    wp-includes/plugin.php:453
    genesis()
    wp-content/themes/genesis/lib/framework.php:39

    Plugin Author johnzenausa

    (@johnzenausa)

    Which shortcode are you using.

    Thread Starter wasanajones

    (@wasanajones)

    [netsposts include_blog=”73″ days=”30″ taxonomy=”news” titles_only=”false” show_author=”true” thumbnail=”true” size=”90,90″ image_class=”alignleft” use_shortcode_in_excerpt=”true” auto_excerpt=”true” excerpt_length=”150″ show_author=”true” paginate=”true” list=”5″]

    Plugin Author johnzenausa

    (@johnzenausa)

    Try the latest update and see if it corrects the issue.

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

The topic ‘Shortcodes in Excerpt’ is closed to new replies.