Blank sign in page
is your site working? or problem it’s just with admin? try to review apache access & error logs for possible clues. Try also to review htaccess, bad rewrite could break your site
is your site working? or problem it’s just with admin? try to review apache access & error logs for possible clues. Try also to review htaccess, bad rewrite could break your site
I used this code in wordpress functions.php, to auto logout customer/user after payment in woocommerce or close the browser function logged_in( $expirein ) { return 6; // 6 in seconds } add_filter( ‘auth_cookie_expiration’, ‘logged_in’ ); function wp_logout2() { wp_destroy_current_session(); wp_clear_auth_cookie(); /** * Fires after a user is logged-out. * * @since 1.5.0 */ do_action( ‘wp_logout2’ … Read more
Trying to use and understand JSON API and get_posts
You can for example add this: foreach( array( ‘tools’, ‘import’, ‘export’ ) as $x ) { add_action( “load-{$x}.php”, function() { if( ! current_user_can( ‘manage_options’ ) ) wp_die( __( ‘No access!’ ) ); } ); } to restrict access to the {tools,import,export}.php pages for non-admins.
WordPress admin option, I can’t use jquery ajax to access my content from another file
After a lot of guess work and research I’ve managed to come up with a simple solution. function column_orderby( $vars ) { $vars[‘orderby’] = ‘date’; $vars[‘order’] = ‘desc’; return $vars; } add_filter( ‘request’, ‘column_orderby’ ); This will sort all of the columns by ‘date’ as well as order them by ‘desc’! Hope it helps anyone … Read more
Well I did solve this. I have downgraded the wordpress version. I uploaded the old wp files to my server. Files should be rewritten ones in the server. Then I go back to website and upgrade it. Problem solved! This is my solution no other sugessions have worked for me. And the last warning DO … Read more
Wp mwnu not works at all
You can’t use http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory to move from a subdomain to a domain. WordPress can be moved up or down a directory level, but the same technique can’t be used for subdomain – really a different domain – to another domain. Follow Moving WordPress « WordPress Codex and WordPress Serialized PHP Search Replace Tool. The main … Read more
Added fields in quick edit screen need to update at the moment