Save Draft and Preview not working (1 post)
Try to disable the mod security through your cpanel. Or you can ask your host to disable mod security for you.
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.
have you looked at the codex ?? : http://codex.wordpress.org/Function_Reference/add_menu you do NOT need to load any WP files like you are doing if you’re code is for a plugin!!!
Preview own posts if logged in
The cause of this problem is the wordpress checking for his cookies – and cookies are different for each folder. So the way of fixing can be temporarily save WP cookies too session and then hardcode them after redirect before the WP load. Solved thanks to https://stackoverflow.com/questions/21542795/wordpress-allow-previews-outside-wordpress-folder
Asking this question gave me an idea. make the single-[posttype].php and inside it just put <?php wp_redirect(get_page_uri(get_page_by_path(‘your-page-slug’)); ?> also works with get_page_by_title() This will direct the preview post and view post link on the admin create post page to the page you want.
I found the setting in WP -> Theme Panel -> Categories