create-guten-block in wordpress theme?
Creator of create-guten-block here. You should be building Gutenberg blocks via companion plugins. Keep your theme for styles only 🙂 That’s the best practice for now.
Creator of create-guten-block here. You should be building Gutenberg blocks via companion plugins. Keep your theme for styles only 🙂 That’s the best practice for now.
Tom’s comment is consistent with my experience. But even if the mixed slashes are an issue, you’re not going to be able to fix it in any way other than by editing the parent theme. This is because the string that contains the forward slash is not being passed through any WordPress function with a … Read more
What I’d do is to back up the child theme and then install the basic child theme they suggest, which you can find here, that new child should work then you can start implementing the customizations that you have on the old child theme into the new one and see when the errors pop again, … Read more
I would recommend using single quotes if you want to include some HTML, also you need to return something otherwise nothing happens. // WP Shortcode function text_shortcode() { return ‘<strong>bold text:</strong> <a href=”https://wordpress.stackexchange.com/questions/318934/shortcode-returns-escaped-html-tags”>See wordpress.stackexchange.com</a>’; } add_shortcode(‘bold-text’, ‘text_shortcode’); Your WordPress shortcode would be: [bold-text] See my other answers with examples: – Shortcode created to check language … Read more
When the button is clicked it is given a class of loading which doesn’t appear to be handled. You will have to find an icon in an iconfont (preferebly already loaded in your site i think its loading glyphicons) to use and add some css like below (Not tested, modify to suit) Let me know … Read more
I found this answer online which responds your question
You can set the featured image size in second parameter based on this document // without parameter -> Post Thumbnail (as set by theme using set_post_thumbnail_size()) get_the_post_thumbnail( $post_id ); get_the_post_thumbnail( $post_id, ‘thumbnail’ ); // Thumbnail (Note: different to Post Thumbnail) get_the_post_thumbnail( $post_id, ‘medium’ ); // Medium resolution get_the_post_thumbnail( $post_id, ‘large’ ); // Large resolution get_the_post_thumbnail( … Read more
do I still need a theme? Yes! You always need a theme in WP, Elementor is still just a plugin, it lets you put various custom content, but for Elementor specifics you should contact elementor support, 3rd party plugins are offtopic on this stack. Keep in mind that without a theme, there’s no main post … Read more
If your WordPress website got hacked, hacker will use your site to attack other sites and sending emails. Most of the WordPress sites got affected by the same issue because of using Nulled & Outdated Themes and Plugins. Don’t worry about this issue, because we can easily wipe out the malware infected files from your … Read more
You can click update by going to themes or dashboard > update. Changes made using the theme-options or customizer will stay intact after the update but if you have modified the theme core files or added additional codes to theme files then you will lose them with the update. In that case, the solution will … Read more