Skip Navigation

[Resolved] monarch and bloom issue (divi plugin) issue in layout of cpt

This thread is resolved. Here is a description of the problem and solution.

Problem: I am seeing a Monarch share form repeated in my Layout.

Solution: Disable the_content() filter in the Visual Editor cell.

This support ticket is created 6 years, 9 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 8 replies, has 3 voices.

Last updated by Christian Cox 6 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#616684
front-end.png
layout.png

Hello! I use toolset for 3 my pct: actors, directors and films. I also use divi and wpml and I find myself very well. Together with Divi I can use the Monarch plugin for the integration of social sharing buttons and the plugin. So I inserted the buttons for sharing inside above the content (with monarch) and the newsletter form (with blomm) after my contents. I have set that they appear in my cpt movies. So they appear but appear above and after every section of my layout and not actually before and after all my content. Can you help me? Please thank you

#617161

Hi, I'm not able to read the code in your Layout from this screenshot. Can you please copy and paste all the code from any Visual Editor cells in this Layout here for me to review?

#617204

My layout is all in visual editor.. I insert the code of layout and wherethe contents of monarch and bloom are displayed.

------------------------------------- ROW 1:

1. LEFT IMAGE
[types field='copertina-film' size='medium' align='left' resize='pad' padding_color='#FFF'][/types]

2. RIGHT TEXT:
<p>[wpml-string] Titolo Coreano: [/wpml-string] [types field='titolo-coreano' separator=', '][/types]</p>

---------------------------------- ROW 2:

[wpv-conditional if="( '[wpv-post-taxonomy type='regista' format='slug']' ne '' )"][wpml-string] Regista: [/wpml-string] [wpv-post-taxonomy type="regista"]<br /> [/wpv-conditional]
[wpv-conditional if="( NOT(empty($(anno))) )"][wpml-string] Anno: [/wpml-string] [types field='anno' format='FIELD_VALUE'][/types]<br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='attore' format='slug']' ne '' )"][wpml-string] Cast:[/wpml-string] [wpv-post-taxonomy type="attore"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='soggetto-originale' format='slug']' ne '' )"] [wpml-string] Soggetto Originale:[/wpml-string] [wpv-post-taxonomy type="soggetto-originale"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='sceneggiatore' format='slug']' ne '' )"][wpml-string] Sceneggiatore: [/wpml-string] [wpv-post-taxonomy type="sceneggiatore"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='produttore' format='slug']' ne '' )"][wpml-string] Produttore: [/wpml-string][wpv-post-taxonomy type="produttore"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='assistente-al-direttore' format='slug']' ne '' )"][wpml-string] Assistente al Direttore: [/wpml-string] [wpv-post-taxonomy type="assistente-al-direttore"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='fotografia' format='slug']' ne '' )"][wpml-string] Fotografia: [/wpml-string] [wpv-post-taxonomy type="fotografia"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='luci' format='slug']' ne '' )"][wpml-string] Luci:[/wpml-string] [wpv-post-taxonomy type="luci"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='montaggio' format='slug']' ne '' )"][wpml-string] Montaggio: [/wpml-string] [wpv-post-taxonomy type="montaggio"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='musica' format='slug']' ne '' )"][wpml-string] Musica: [/wpml-string] [wpv-post-taxonomy type="musica"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='direttore-artistico' format='slug']' ne '' )"][wpml-string] Direttore Artistico: [/wpml-string] [wpv-post-taxonomy type="direttore-artistico"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='materiale-di-scena' format='slug']' ne '' )"][wpml-string] Materiale di scena:[/wpml-string] [wpv-post-taxonomy type="materiale-di-scena"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='costume' format='slug']' ne '' )"][wpml-string]Costumi: [/wpml-string] [wpv-post-taxonomy type="costume"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='make-up' format='slug']' ne '' )"][wpml-string] Make Up: [/wpml-string] [wpv-post-taxonomy type="make-up"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='audio' format='slug']' ne '' )"][wpml-string] Audio: [/wpml-string] [wpv-post-taxonomy type="audio"] <br /> [/wpv-conditional]

[wpv-conditional if="( '[wpv-post-taxonomy type='effetti-speciali' format='slug']' ne '' )"][wpml-string] Effetti Speciali:[/wpml-string] [wpv-post-taxonomy type="effetti-speciali"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='arte-marziale' format='slug']' ne '' )"] [wpml-string] Arti Marziali: [/wpml-string] [wpv-post-taxonomy type="arte-marziale"] <br /> [/wpv-conditional]
<p>[wpv-conditional if="( '[types field='nazione-film' separator=''][/types]' ne '' )"] [wpml-string] Nazione: [/wpml-string] [types field='nazione-film' separator=', '][/types] [/wpv-conditional] </p>
[wpv-conditional if="( '[wpv-post-taxonomy type='formato-film' format='slug']' ne '' )"][wpml-string] Formato Film: [/wpml-string] [wpv-post-taxonomy type="formato-film"] <br /> [/wpv-conditional]
[wpv-conditional if="( NOT(empty($(durata))) )"] <p>[wpml-string] Durata:[/wpml-string] [types field='durata' separator=', '][/types] </p> [/wpv-conditional]
<p>[wpv-conditional if="( '[types field='colore' separator=''][/types]' ne '' )"][wpml-string] Colore: [/wpml-string] [types field='colore' separator=', '][/types] [/wpv-conditional] </p>
<p>[wpv-conditional if="( '[types field='linguaggio' separator=''][/types]' ne '' )"][wpml-string] Lingua: [/wpml-string] [types field='linguaggio' separator=', '][/types] [/wpv-conditional]</p>
[wpv-conditional if="( '[types field='sottotitoli-film' separator=''][/types]' ne '' )"][wpml-string] Sottotitoli: [/wpml-string] [types field='sottotitoli-film' separator=', '][/types] [/wpv-conditional]<br />

[wpv-conditional if="( '[wpv-post-taxonomy type='genere-principale' format='slug']' ne '' )"]
[wpml-string] Genere: [/wpml-string] [wpv-post-taxonomy type="genere-principale"]<br />
[/wpv-conditional]
[wpv-conditional if="( NOT(empty($(sito-ufficiale))) )"] <p>[wpml-string] Sito Ufficiale:[/wpml-string] [types field='sito-ufficiale'][/types] </p> [/wpv-conditional]

[wpv-conditional if="( NOT(empty($(format))) )"]<p>[wpml-string] Formato: [/wpml-string] [types field='format' separator=', '][/types] <br />
[/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='produzione' format='slug']' ne '' )"][wpml-string] Produzione: [/wpml-string] [wpv-post-taxonomy type="produzione"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='distribuzione-internazionale' format='slug']' ne '' )"][wpml-string] Distribuzione Internazionale:[/wpml-string] [wpv-post-taxonomy type="distribuzione-internazionale"] <br /> [/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy type='distribuzione-italiana' format='slug']' ne '' )"][wpml-string] Distribuzione Italiana:[/wpml-string] [wpv-post-taxonomy type="distribuzione-italiana"] <br /> [/wpv-conditional]

<p>[wpv-conditional if="( NOT(empty($(sezione-festival))) )"][wpml-string] Sezione Festival: [/wpml-string] [types field='sezione-festival' separator=', '][/types][/wpv-conditional]</p>
[wpv-conditional if="( '[wpv-post-taxonomy type='anno-festival' format='slug']' ne '' )"][wpml-string] Anno Festival: [/wpml-string] [wpv-post-taxonomy type="anno-festival"] <br /> [/wpv-conditional]
<br />
<p>[wpml-string] Sinossi: [/wpml-string] [types field='sinossi'][/types]</p>
<br />
<p>[wpv-conditional if="( NOT(empty($(recensione-film))) )"][wpml-string] Recensione Film:[/wpml-string] [types field='recensione-film'][/types] [/wpv-conditional]</p>
[wpv-conditional if="( '[wpv-post-taxonomy type='relatore' format='slug']' ne '' )"][wpml-string] Relatore:[/wpml-string] [wpv-post-taxonomy type="relatore"] <br />[/wpv-conditional]
<br />
<p>[wpv-conditional if="( NOT(empty($(trailer))) )"][wpml-string] Trailer:[/wpml-string] [types field='trailer'][/types] [/wpv-conditional]</p>

The issue because i see:
- TITLE
---> share (Monarch)
- IMAGE
---> email optin newsletter (Bloom)
---> share (Monarch)
- TITOLO COREANO
- PRONUNCIA ORIGINALE
- TITOLO ITALIANO
---> email optin newsletter (Bloom)
---> share (Monarch)
- REGISTA
- SINOSSI title
---> share (Monarch)
- SINOSSI value of field
---> email optin newsletter (Bloom)
- TRAILER
---> email optin newsletter (Bloom)
---> email optin newsletter (Bloom)

I'd like to see how I setting in the plugins:
- share (Monarch) ONLY ABOVE THE CPT
- email optin newsletter (Bloom) ONLY AFTER CPT

Thank you so much in advance, Christian

#617568

Shane
Supporter

Languages: English (English )

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

Hi Rita,

As christian is currently on holiday today I'll see how best I can assist.

Does the Monarch plugin have a shortcode that allows you to manually place the shortcode in Layouts ?

Please let me know.
Thanks,
Shane

#617627

Hi Shane!
Monarch has shortcode but i don't use it: i set in the global setting of plugin that i want monarch below, above or belove+above the content and monarch appears in this position in my content.
With post it work good but not with my cpt. I think that a problem of layout because if you see my layout: monarch appears always after each box of my layout.
And bloom...bloom ... I still do not understand what the wrong rule looks like: I do not see a logical sense. But for monarch it seems that the only logical sense is that it does not see the beginning and the end of my cpt but sees the beginning at the end of every single box that I use in the layout of my cpt. It also seems to you or am I wrong?

#617629

monarch: hidden link
bloom: hidden link

also for bloom is the same: i set in the general settings where it should appear and it then appears. I do not manually insert shortcodes

Thank you Shane for you help!

#617880
cpt with yarp.png
cpt without yarp.png

I have the same issue with YARPP: see my screenshot with Yarpp in my cpt and without yarpp.

#617952

Okay thank you, I can replicate this on a test environment with only Types, Views, Layouts, Monarch, and Bloom plugins active. I will escalate this issue to my 2nd tier support team for some additional investigation. Please stand by and I will update you as soon as I have additional information to share.

#919072
Screen Shot 2018-06-28 at 5.39.14 PM.png

Hi, it is now possible to "disable the_content() filter" in any Visual Editor cell to prevent these duplication issues. Please update to the latest version of Toolset plugins to receive the new feature and let me know if the problem is not resolved.