Support » Plugin: Shortcodes by Angie Makes » Filter by IDs (post__in) in wc_posts shortcode not working anymore

  • Resolved wpela

    (@wpela)



    Hello Chris ! Thanks for you huge piece of work!

    The filter post__in in wc_posts seems not working anymore.

    Same code does not work since last WordPress update with new version of your plugin.

    Example code used:

    [wc_posts author="" author_name="" p="" post__in="1047, 1046, 647" order="" orderby="" post_status="" post_type="page" posts_per_page="3" taxonomy="category" field="id" terms="" title="yes" meta_all="no" meta_author="yes" meta_date="yes" meta_comments="no" thumbnail="yes" content="yes" paging="yes" size="large" filtering="no" columns="3" gutter_space="20" heading_type="h4" layout="grid" template="borderless" excerpt_length="18"][/wc_posts]

    Information :

    ** Working on :
    – WP 4.6.5
    – WP Canvas – Shortcodes 1.90

    Displays selected pages grid

    ** Fail on :
    – WP 4.7.4
    – Shortcodes by Angie Makes 3.33

    Displays all pages (filtering by id not working)


    Could you help with this essential feature for me, as it totally breaks my website navigation? Thank you for your help !

    • This topic was modified 1 year, 6 months ago by  wpela.
    • This topic was modified 1 year, 6 months ago by  wpela.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Resolved.

    The ‘post__in’ parameter has been replaced in new version by ‘pids’.

    Discovered in examining code produced by new visual manager in visual editing mode.

    Thx Chris! (you can mark the topic as ‘resolved’).


    PS: Do you provide technical page for your plugin documentation?

    Plugin Author Chris Baldelomar

    (@cbaldelomar)

    Glad you figured it out. I do not have any technical pages for this plugin. At least, not yet.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter by IDs (post__in) in wc_posts shortcode not working anymore’ is closed to new replies.