how to restore wordpress backup(.rar) manually?

As MikeNGarrett said, you need to look inside your rar file to see what’s inside. This is basic procedure. Go to your public folder (htdocs for xampp), and create a directory(yourprojectfolder). Extract your rar file inside it. if you can see folders like wp-content, wp-includes and files like wp.config.php etc.. then you’ve done first part. … Read more

Extra Text in Home URL

Thanks for the above responses. I did not have opencart installed, and those were the only similar answers I could find. I ended up just installing the “Redirection” plugin which seemed to solve my problem. I added a simple redirect which redirected the target URL back to the homepage. I could have eventually found a … Read more

WordPress check box unchecked on null value ternary operator [plugin development]

checked() only checks if the passed first and second parameters match. It doesn’t do any array key checking, so you need to do it yourself before using the function to avoid errors. <?php global $options; $enabled = ( isset( $options[‘enable’] ) ) ? $options[‘enable’]: ”; ?> <input name=”settings[‘enable’]” type=”checkbox” id=”” value=”1″ <?php checked( $enabled, 1 … Read more

Eliminate Render blocking CSS?

Generally you can’t impact when and how your plugins are loading their own stylesheets. Messing around with that will usually mean you can never update because it’ll reset all your work. That’s the trade off of using plugins – you lose control over some things that impact your performance, accessiblity, and validation. Without astronomical budgets … Read more

WordPress Plugin Reviewer

You can use sanitization and escaping functions that WordPress provides for example, you might need to do this: $sanitize_value = sanitize_text_field( $_POST[$this->unique] ); Here are the detail that you needed. https://codex.wordpress.org/Validating_Sanitizing_and_Escaping_User_Data