Skip Navigation

[Resolved] html character code not displaying correctly in content template

This support ticket is created 4 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.

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)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Shane 4 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1684721

I am trying to: Use 🔴 to render a filled red circle within a content template

Link to a page where the issue can be seen: hidden link

I expected to see: A red circle should be displayed at the bottom right hand corner of the image - Fireside Tabby

Instead, I got: A question mark is displayed where the red circle should be.
This content template worked until I updated my Toolset modules yesterday.
At the foot of the page the red circle is shown correctly. This is within the template layout of the page.
The content template within the body of the page is:

<div class='timeline-page-product'>
<div class='timeline-page-product-image'>
[wpv-post-featured-image size="full"]
</div>
<div class='timeline-page-product-sold'>
[wpv-conditional if="( $(wpcf-sale-status) eq 'Sold' )"]🔴[/wpv-conditional]
</div>
</div>

This was correctly displaying the circle on products with sale status of Sold until updating.

When the modules were updated a lot of punctuation rendered incorrectly (replaced by ?). I then realised that the pages affected had lost their default Single Page Layout. When I restored this, most errors were corrected and I was able to re-enter text that wasn't correct.
However, I cannot make the content template work again to display the circle within the page.

#1685413

Shane
Supporter

Languages: English (English )

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

Screenshot 2020-07-02 at 10.34.08 AM.png

Hi Katie,

Thank you for getting in touch.

I'm assuming this is the image you are referring to. See Screenshot

Can you use this below to try generating the red dot. Its the ASCII code for it.

&#128308;

What i'm using is the HTML entity from below.
hidden link

Please let me know if this helps.
Thanks,
Shane

#1685623

Thank you for your response. That is the code that I have used, which works in the page template (foot of page) but is not working in the body of the page

#1685647

Shane
Supporter

Languages: English (English )

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

Hi Katie,

Would you mind allowing me to have admin access to the website so that I can check on this one for you ?

The private fields will be enabled for your next response.

Thanks,
Shane

#1686851

Shane
Supporter

Languages: English (English )

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

Hi Katie,

Thank you for the credentials. I believe the issue is with your Layout itself, however not specifically with the version of Layouts that you are using because i'm not able to replicate the issue with the same version on my end.

Would it be possible to take a copy of your website for further testing here locally ? Or would it be possible for me to temporarily switch your theme to one of the wordpress default themes ? It seems there is something that is preventing the code to be rendered.

Please let me know.
Thanks,
Shane

#1686887

I am happy for you to do the temporary switch.
I will be interested to find out what the problem is

#1686901

I realise that there is an update needed for the Genesis Framework. The Infinity Pro is a child theme for Genesis so will be left safe if I update Genesis. I wonder if that might help

#1687007

Shane
Supporter

Languages: English (English )

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

Hi Katie,

I was able to track down the issue. Its actually being caused by the "Lightbox Plus Colorbox" plugin.

Once I disabled this plugin the icon started showing up.

The Icons should start showing up on your end as well.

Thanks,
Shane