Skip Navigation

[Resolved] Problem with wiev and Avada layout

This support ticket is created 3 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Maurizio Federici 3 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2054397
stamp.jpg

I created a cpt with toolset and to publish it I use a custom layout from Avada. By inserting the traditional shortcodes in the layout (post-title, post-body. Etc) everything works regularly. Then I tried to insert a view to show a gallery. The gallery source is dynamic (current post-> Source-> Field) but this view shows the Fields of all posts. (see stamp)
Is it an incompatibility problem with Avada layouts? has it already happened? Can it be solved?

#2054657

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2021-05-13 at 5.07.42 PM.png

Hi Maurizio,

Thank you for getting in touch.

I suspect that in this case there isn't a filter to tell which post the view should display the fields for. In this case you will need to go to your view and edit it.

Under the query filter section you will click 'Add a Filter' and then add a query filter for the post id. See Screenshot.

From there you can set the view to be filtered by a shortcode parameter.

Finally just re-add your view like this.

{!{wpv-view name='per-demo-toolset' cache='off' ids='{!{wpv-post-id}!}'}!}

Please let me know if this helps.
Thanks,
Shane

#2056793

You understood my problem and with your advice I solved the matter. Thank you so much

#2056795

My issue is resolved now. Thank you!