[Resolved] icon-homeicon-double-up displays in header
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I recently installed Types and Views for a specific project.
I did try to create a specific CPT with fields and Content templates. I did succeed with Types and the creation of custom fields
hidden link
But the Content template created with views crashed my site. I had to revert to a previous backup, loosing about a day of work.
I did noticed that a string of text appeared before header (icon-homeicon-double-up). I didn't linked that to Views in the first place. I thought it was a glitch from previous tweaks. But when I reactivated Views this morning, the string came back. This string shows up only when logged in.
Could you help me here with that ?
Is my theme compatible with content template frome views ?
Thanks for consulting Toolset Support
I will be happy to help you with your ticket
It seems there is some compatibility issue with your ticket.
The code you have in your header is ‘icon-homeicon-double-up’. As you can see in the code below, the text is the content of ‘data-icon’ links attributes.
<a id="toc_home" class="sc_anchor" title="Accueil" data-description="<i>Return to Home</i> - <br>navigate to home page of the site" data-icon="icon-home" data-url="<em><u>hidden link</u></em>" data-separator="yes"></a>
<a id="toc_top" class="sc_anchor" title="To Top" data-description="<i>Back to top</i> - <br>scroll to top of the page" data-icon="icon-double-up" data-url="" data-separator="yes"></a>
My guess is that ‘data-description’ content needs to be escape. Perhaps you add some double quote or ‘less than’ - ‘greater than’ character in the description that breaks the tag.
It is weird that only show up when Views is activated.
In order to debug this and your Equipe Content Template, I would like you to share with me your site credentials. You can create a new admin user and delete it when I finish. I will also need your FTP credentials.
I need your permission to deactivate/activate some plugins, it is necessary to figure out what is the issue.
I am going to mark your next reply as private so you can share your private data only with me. And don't worry, I will leave everything as it was.
I have also informed our dev team so they can fix it.
Regarding your Equipe posts, you theme needs to use 'the_content()' function, or 'the_content' filter. I have modified your theme:
/wp-content/themes/bierbaum-child/templates/single-standard.php : 98
Adding what you need to make your theme works using 'the_content'
You also had to add your custom content functions to:
Toolset > Paramètres > Contenus en amont > Support des modèles de contenus pour les thèmes