Open Graph And Twitter Card Tags Still Showing Even After Disabling In SP Page Builder Global Settings - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Open Graph And Twitter Card Tags Still Showing Even After Disabling In SP Page Builder Global Settings

Y

yubi

SP Page Builder 7 months ago

Hi JoomShaper team 👋

I'm currently using SP Page Builder (latest version) with the Helix Ultimate template on Joomla 4. I noticed that even after disabling the Open Graph and Twitter Card meta tags from the Global Settings > OPTIONS panel inside SP Page Builder, the tags are still being generated and rendered in the <head> of my home pages — which are built using SP Page Builder.

I’ve already cleared both Joomla and browser cache, as well as Cloudflare’s cache, but the tags remain visible in the source code (checked via browser inspector).

For now, I’m planning to manually remove them via a conditional block inside index.php of the template like this:

foreach ($document->_custom as $key => $tag) { if (strpos($tag, 'property="og:') !== false || strpos($tag, 'name="twitter:') !== false) { unset($document->_custom[$key]); } }

However, I would really prefer to understand why SP Page Builder is still generating those meta tags even when they are globally disabled, and if there's a better or more official way to stop them from being added.

Is this a known issue or is there any additional step I should follow to fully deactivate OG and Twitter tags for pages using SP Page Builder?

Thanks in advance for your help and amazing work!

Warm regards, Yubi

0
5 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 7 months ago #189207

Hello Yubi,

Apologies for the inconvenience. I have checked the issue, and it appears that disabling the Open Graph and Twitter Card meta tags from the Global Settings in SP Page Builder is not working as expected. I have reported this to our development team for further investigation.

As there is an ongoing Eid holiday, it may take some time for us to receive an update. I appreciate your patience and understanding. I will keep you informed as soon as I have any news regarding a fix or workaround.

Best regards

0
Y
yubi
Accepted Answer
7 months ago #189213

Hi Atick,

Thank you so much for your kind reply and for taking the time to investigate the issue despite the holiday period — I really appreciate it!

I completely understand and will wait patiently until your development team returns and is able to look into it further. In the meantime, I’ll implement a temporary workaround from the template side to prevent those automatic OG and Twitter tags from being displayed.

Thanks again for the support — wishing you and the entire team a joyful Eid! 🌙✨

Warm regards, Yubi

0
Y
yubi
Accepted Answer
6 months ago #189258

Hi Guys!! please, yesterday I marked as "Accepted" this answer because I was Ok with the answer and I'm willing to wait... but I received an email that states: "The question is now marked as resolved" sorry, but that was not my intention... I'm still waiting for the solution... so, please, can you undone the "Accepted"? so the question is not marked as "Resolved"... I tried to do it myself but couldn't find the way... Thanks a lot!!

0
Y
yubi
Accepted Answer
6 months ago #190760

Hi Guys!! Hope you had a nice Eid! Please have you had the chance to check the disabling of the Open Graph and Twitter Card meta tags from the Global Settings in SP Page Builder that is not working as expected?

Thanks a lot in advanced!

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 6 months ago #190845

Thank you for reaching out.

Apologies for the delayed response due to the weekend. I’m pleased to inform you that the issue regarding the inability to disable the Open Graph and Twitter Card meta tags from the Global Settings in SP Page Builder has been fixed by our development team.

The fix will be included in the upcoming update. We truly appreciate your patience and understanding.

Best regards

0