Cannot access wp-admin (wordpress dashboard)

the problem is your ssl. if you try to access to website with http://french-american.tv/ you can see the website. wp-admin force the ssl soo you have to fix this. in bluehost go on advanced section > SSL. and fix in your domain. edit check this website for the solution

Restrict WordPress Media Library for a specific user role (users can only see/select own media)

add this to your functions.php or in a snippet, with this code the users with role external will only see their own uploads, any other role will see them all just has before. add_filter( ‘ajax_query_attachments_args’, ‘role_external’ ); function role_external( $query ) { $user_id = get_current_user_id(); if ( $user_id && current_user_can(‘external’) ) { $query[‘author’] = $user_id; … Read more

Dashboard – get status and position of metaboxes and pass them to ajax method

You can hook into the sortstop event of the sortable metaboxes, and read the current state: jQuery( function( $ ) { $( ‘.meta-box-sortables’ ).bind( ‘sortstop’, function( event, ui ) { var sortData = {}; $(‘.meta-box-sortables’).each( function() { sortData[this.id.split(‘-‘)[0]] = $(this).sortable( ‘toArray’ ); } ); console.log( sortData ); } ); } ); You can also hook … Read more

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