Skip Navigation

[Closed] Issues with Gutenberg : Dynamic blocks don't show on frontend (image/conditional

This support ticket is created 3 years, 11 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.

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 4 replies, has 3 voices.

Last updated by Shane 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1983393
toolset-image-promo-03.jpg
toolset-image-promo-02.png
toolset-image-promo-01.png

Hello,

Tell us what you are trying to do?
I'd like to display Images promotions (CPT) below Menu on a specific page (Accueil-1)
I created a CPT with 3 fields (image01) : image (image), url (URL field), active (checkbox)
I can see my CPT on gutenberg editor backend (image02) but not on frontend (image03)

What is the link to your site?
hidden link

Thanks for your help.

Kind regards,
Christophe CASTEJON

#1983775

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2021-03-12 at 12.55.08.png

I'm sorry, I don't really understand what the issue is.

I see that you have a CPT "Images promotions" and that has 3 custom fields, including an image.

I can see from your screenshots that you have a post of this type published, "Promotion Accueil".

You want to display this post on the front-end, inserted on the page you provided a link for (accueil-1).

I'm not sure where you want to display it, and you specifically want to display this post, rather than multiple posts of this type, for example?

To display the title of the post you would insert a Single Field block, and instead of using the current post as the source (which would be the page where the block is being inserted) you choose Other Post as the source, and then specify which post.

In the screenshot I am outputting the title of the Hello World! post on some other page, for example.

You can do the same with other fields, such as the image field, when inserting using an Image block.

#1983799

Hello

I created a cpt called Images Promotions with 3 dynamic fields (an image, link, checkbox) and i want to display the image on one specific page named ACCUEIL-1 (i create a relationship between cpt and accueil1).
Scrreenshot 02 is the gutenberg editor of ACCUEIL-1 page. You can see Dynamic image on the backend (pink image with the lollipop) from the CPT "Promotion Accueil" (screenshot 3) .
Unfortunately, this image (with lollipop) doesn't appear on the the frontend like it should do :
hidden link

And i don't understand why.

#1983929

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I think we might need access to your site to understand what is going on, if "Image en vedette" is "featured image" then I don't understand the settings being offered in that screenshot.

Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.

#1984267

Shane
Supporter

Languages: English (English )

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

Hi Christophe,

Thank you for the credentials. From what i'm seeing, your template isn't returning any of the Parent information on the frontend.

I would like to rule out the possibility of a plugin conflict, as such I would like for you to perform the basic debugging steps by disabling all the non-toolset plugins and checking the page again to see if the issue still remains. If it does then I would like to grab a copy of the site for further testing here locally.

Let me know the results of this test.

Thanks,
Shane

The topic ‘[Closed] Issues with Gutenberg : Dynamic blocks don't show on frontend (image/conditional’ is closed to new replies.