If your TikTok embed isn’t working on your WordPress site, there could be several reasons for this. Here are a few steps you can take to troubleshoot and resolve the problem:
- Make sure you have the correct TikTok embed code: Visit the TikTok video you want to embed, click on the “Share” button, and then click on “Embed” to copy the code.
- Embedding Correctly: When embedding on your WordPress post, ensure you’re pasting the code in a ‘HTML’ or ‘Custom HTML’ block if you’re using the Gutenberg editor, or in the ‘Text’ tab if you’re using the Classic editor. If you paste it in the ‘Visual’ editor tab, it might not render correctly.
- Check for Plugin Conflicts: Sometimes, other plugins can interfere with the correct functioning of embeds. Disable all other plugins temporarily and check if the TikTok embed works. If it does, enable the plugins one by one until you find the one causing the issue.
- Theme Issues: In some rare cases, your WordPress theme might have issues with certain types of embeds. To check this, temporarily switch to a default WordPress theme like Twenty Twenty or Twenty Twenty-One and see if the embed works.
- Update WordPress: Ensure your WordPress installation is up-to-date. Newer versions of WordPress often include updates and fixes that can resolve these types of issues.
- Check TikTok Privacy Settings: Ensure that the video you’re trying to embed isn’t private or restricted in any way. You can check this on the TikTok platform.
- Use a Plugin: If all else fails, you can use a dedicated plugin to embed TikTok videos on your WordPress site. For example, the plugin ‘Embed Block for TikTok’ allows you to add TikTok videos to your WordPress posts, pages, or widgets.
Remember to clear your cache after each step to ensure you’re seeing the latest version of your site. If none of these steps work, it might be worth reaching out to the support team of your WordPress theme or hosting provider, as they may be able to provide further assistance.