and previews

There’s a bug regarding content pagination links not working when previewing scheduled posts or pages. See ticket #32295 There’s already a proposed patch that adds the missing future status check within the _wp_link_page() helper function, that generates the content pagination links. We could e.g. construct a quick-fix like: add_filter( ‘preview_post_link’, function( $link, $post ) { … Read more

I can’t preview post’s change once they are published

This is probably not the best way to do it since it wont persist after wordpress updates (but hopefully the update will correct it. In wp-admin/includes/post.php ,edit the post_preview() function just before returning the apply_filters( ‘preview_post_link’, $url ); put the following code: //ORIGINAL //$url = add_query_arg( $query_args, get_permalink( $post->ID, true ) ); //CHANGES to make … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)