WordPress + Polylang – Error 404 when trying to preview draft post on different language
WordPress + Polylang – Error 404 when trying to preview draft post on different language
WordPress + Polylang – Error 404 when trying to preview draft post on different language
Looking for a way to insert PDF image preview in TinyMCE
I created a custom block. It works but not able to get the block preview image working. The cover in the code sample for the example prop was just an example attribute, so setting cover: ‘<image URL>’ does not automatically displays the image when previewing the block via the block inserter. However, the preview uses … Read more
Here’s a simple function that will replace <em> with <i> on your post/page: function replace_em_with_i($content) { $content = str_replace(‘<em>’, ‘<i>’, $content); $content = str_replace(‘</em>’, ‘</i>’, $content); return $content; } add_filter(‘the_content’, ‘replace_em_with_i’); Warning: I have tested the code to check if it works (and it does work), but you might want to do some serious testing … Read more
You can edit the default image sizes that WordPress creates by going to Settings -> Media in your WordPress dashboard and specifying image sizes. However, this will change the default image sizes and will affect all images across your site. Another option is to edit the template file that is displaying your blog (likely home.php … Read more
Try to disable the mod security through your cpanel. Or you can ask your host to disable mod security for you.
Don’t know of a plugin but a good approach would be: to crate a custom post type (shared_revisions). add a metabox to post edit screen which will have an option to save the post changes as a sheared_revision and store the original post id as postmeta of the sheared_revision post. add a metabox to your … Read more
As mentioned above, this link can help you on your way: http://codex.wordpress.org/Post_Thumbnails You need to add thumnail sizes to your functions.php like: the_post_thumbnail(); // without parameter -> Thumbnail the_post_thumbnail(‘thumbnail’); // Thumbnail (default 150px x 150px max) the_post_thumbnail(‘medium’); // Medium resolution (default 300px x 300px max) the_post_thumbnail(‘large’); // Large resolution (default 640px x 640px max) the_post_thumbnail(‘full’); … Read more
I still don’t know what the exact cause was, but deleting cookies for the specific site fixed the problem.
just setup another wordpress site for demo of your theme will be ok.