Skip Navigation

[Resolved] I need help with social sharing for custom type posts

This support ticket is created 4 years, 1 month 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 12 replies, has 2 voices.

Last updated by mohamedM 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#2090649
Screenshot 2021-06-16 165330.png
Screenshot 2021-06-16 165254.png
Screenshot 2021-06-16 165122.png

Tell us what you are trying to do?
I created a content template for custom post type called "Vacancy" and I added social sharing block to this template,
I have three issue:
1- There are some dummy weird characters that appears when I share this posts to facebook and linkedin
2- The dynamic excerpt adds HTML tags to the text while sharing
3- The image I added doesn't appear at all

Is there a similar example that we can see?
No, but you can check the attached images

What is the link to your site?
hidden link

#2090985

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

Thank you for getting in touch.

Would you mind allowing me to have admin access to the site so that I can have a more detailed look at this one for you ?

I've enabled the private fields for your next response.

Thanks,
Shane

#2091775

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

Thank you for the login details, however the user account doesn't appear to be an admin account.

Can you change the user role to admin so that I can have a more detailed look at the issue for you ?

Thanks,
Shane

#2092125

Hi Shane,

Ok, sorry I didn't notice that, but now it is changed to administrator

Thanks

#2092553

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

Thank you for updating the credentials.

I had a look at this and it appears that the issue isn't caused by our social share plugin. It appears to be the dynamic loading of the content.

However I do understand what is happening I did a test share of the information and it did render correctly once on the social media sites.

I believe it is a cause where its picking up the different content on the page but isn't able to render it at the time. Can you test sharing and let me know if on the social media site the share information is correct.

Thanks,
Shane

#2093635

Dear Shane,

I think the problem is with Toolset content template, and the issue still exists. Is there any way to solve it? or shall I change the whole thing? As I know it is the main function of toolset to create content templates and custom post types and views, but now it doesn't seem to work correctly, so what is wrong?

Thanks

#2094601

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

I will need to do some further testing here to understand what exactly is happening and the conditions under which this occurred.

Would it be ok if I took a copy of the site to test this issue further ?

Thanks,
Shane

#2095239
facebook_debugger.jpg

Dear Shane,

I've found the issue happening with others here in the support forums, please check these issues:
https://toolset.com/forums/topic/how-to-get-rid-of-base64-encoded-style/

https://toolset.com/forums/topic/clean-raw-views-output/

I've debugged the issue and it seems toolset loads the CSS via Javascript base64 code, and gives this code display none, but social media network can read this code and show it while sharing the page, the screenshot attached is from Facebook debugger.

Now how to get rid of this code?!

Thanks,
Mohamed Medhat

#2096895

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

Thank you for the information. I'll investigate further on a test site that if this issue is replicated a copy will be sent to our 2nd tier and dev team for further checks on this.

Thanks,
Shane

#2096981

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

I've replicated the issue and sent a report to our 2nd tier team. I will keep you posted on what is happening.

Thanks,
Shane

#2102223

Hi Shane,
Hi 2nd tier team,

Any News?

Thanks

#2102263

Shane
Supporter

Languages: English (English )

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

Hi Mohamed,

Currently there isn't much in update to provide here. For now a secondary internal ticket has been created by our development team for this issue.

I'm not seeing where they have indicated in what version this will be fixed.

Thanks,
Shane

#2138007

!!