How to make the front-end RTL without changing the admin panel language?

Set your WordPress to a RTL language, then use the following code in functions.php or as the plugin: <?php add_filter( ‘locale’, ‘my_set_admin_locale’ ); function my_set_admin_locale( $locale ) { // check if you are in the Admin area if( is_admin() ) { // set LTR locale $locale=”en_US”; } return( $locale ); } Or otherwise, set WordPress … Read more

Add count for new registered user in Users tab

Yes, there is. You can use admin_menu hook to loop through menu items and add span with notification. There are two classes that WP uses for these notifications update-plugins and awaiting-mod. The second one looks more appropriate in this case, I guess… Here’s some code: function add_user_menu_notification() { global $menu; $user_count = count_users(); // get … Read more

Admin account locked out/redirect loop. Other accounts work?

Actually figured out what was wrong. Somehow my user permission was none. Then I change it to admin, still no luck…then realise it didn’t change because there was no “nickname” set. So basically just logged into another admin account and gave my account admin status. Would love to know what caused it though.

/wp-admin/ works but website doesn’t load

The solution that worked for me was to update WordPress to the latest version. I tried deleting the theme and to run the website, it didn’t work. It’s very awkward how the website crashed down and I was surprised that updating WordPress actually solved the problem. Thanks, to everyone who tried to help!

Remove All in One Pack from the admin bar

You are almost there! If you check out where the plugin developer is adding this action, you’ll see they are setting a priority of 1000. While the priority of your function is being called at 999. https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/trunk/aioseop_class.php#L3907 Update your priority to be greater than 1000: add_action( ‘admin_bar_menu’, ‘aldous_remove_items_from_admin_bar’, 1200 ); Overriding function calls with plugins … Read more