-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy button does not work #315
Comments
Okay, I have identified the issue, which is due to the theme |
Hey thanks for reporting (even if it's the theme). Could you provide details on the fix? Maybe I could account for it in the plugin, or if you still need help fixing it let me know |
No, I only know that this is related to the theme. I resolved this issue after changing the theme. But since I haven't studied any relevant programming languages, I don't know the cause of the problem, and I'm sorry. |
Ah ok. What's the theme name? I can take a look. Or if you want to enable the other theme just send me a url to your site and I'll check it. Or if you're happy with the new theme that's fine too. |
This is the theme of not working properly : https://github.com/kannafay/iEmo |
I experienced the same issue and resolved it by changing the theme. Here is the link to the non-functioning theme: https://github.com/justid/InlineAMP. |
I managed to display the code correctly by removing remove_all_actions('wp_head') and add_filter('use_block_editor_for_post', '__return_false', 10) in the original theme's functions.php. However, the copy button isn't functioning properly. Strangely, everything works as expected in Gutenberg's preview and editor interfaces, but not in the visitor interface. |
I discovered the issue: the theme uses <?php
if (is_customize_preview() || is_user_logged_in()) {
wp_footer();
}
?> I removed this conditional restriction, and now everything functions as expected. |
By the way, great plugin—I really love the theme options! |
Hey thanks for checking back in. If you want to remove |
I have set up a copy button, which displays normally on the editing interface, but the copy button is not displayed on the publishing interface. Is this related to my topic? Or am I missing any plugins?
The text was updated successfully, but these errors were encountered: