• Resolved miguel1876

    (@miguel1876)


    Hello,

    I am using the Advanced Custom Fields plugin and I created a custom post type called “Wholesale Products” as well as a few custom fields assigned to the “Wholesale Product fields” group.

    I am trying to add a view to a page but I simply cannot make it work. I have a view created and I’ve added the shortcode but nothing shows on the page.
    I have tried several things::

    [avf_view name=”Wholesale Product fields” view-id=”66ccd3999e73b” object-id=”term” term-id=”product_cat”]

    [avf_view name=”Wholesale Product fields” view-id=”66ccd3999e73b” object-id=”post” term-id=”wholesale-product”]

    [avf_view name=”Wholesale Product fields” view-id=”66ccd3999e73b” object-id=”post_type” term-id=”wholesale-product”]

    Some screenshots:

    https://ibb.co/FBqnshp
    https://ibb.co/SwRr82q
    https://ibb.co/f0hBWxR

    Please please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPLake

    (@wplakeorg)

    Hi @miguel1876

    It looks like the setup is correct from the screenshots.
    Are you placing the AVF Shortcode in your Wholesale product template?
    Have you tried pasting just the shortcode without object-id and term-id attributes?
    I.e. [avf_view name=”Wholesale Product fields” view-id=”66ccd3999e73b”]

    The ID of the post is automatically picked up by the View, if you use object-id then you can display post a’s fields on post b’s, and that doesn’t sound like it’s what you need in this case.

    Please let us know if pasting just the shortcode works.
    We’re here to assist you.

    Plugin Author WPLake

    (@wplakeorg)

    @miguel1876 We’re closing this ticket, as there’s been no reply for 5 days.
    If you still need assistance, please let us know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.