WordPress.org

Ready to get started?Download WordPress

Forums

Apiki WP FAQ
[resolved] Shortcode not respecting previous content in the post (5 posts)

  1. gazpachu
    Member
    Posted 1 year ago #

    If I add some text before the shortcode while editing the page, the text before the shortcode is rendered after the apiki faqs.

    I guess this bug has something to do with the way the shortcode is parsed. In my opinion, it should respect whatever content is written before the shortcode.

    Example:
    whatever text
    [apiki-wp-faq category=category limit=-1 orderby=date order=asc]

    It renders:
    Category faqs...
    whatever text

    Joan

    http://wordpress.org/extend/plugins/apiki-wp-faq/

  2. gazpachu
    Member
    Posted 1 year ago #

    Fixed!

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  3. heelgrinder
    Member
    Posted 1 year ago #

    What did you do to fix this? I am having the same problem. Looks like WordPress removed your code.

  4. gazpachu
    Member
    Posted 1 year ago #

    http://pastebin.com/3FMhSkDp

    Use those functions in "apiki-wp-faq/apiki-wp-faq.php"

  5. heelgrinder
    Member
    Posted 1 year ago #

    Great! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic