WordPress page options resetting after pressing the enter keys and all of your settings go back to zero. This is usually this is happening when you create a custom page option in WordPress dashboard. The main reason is the reset button is declared ahead or coded before submit button. If you can see the `id=”reset”` […]
Redirect selected pages or single page into specific page. Example, redirect a selected pages or a single page after login into your dashboard page, membership page, or any page you desired. You can use https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect this but this is only access once. Once you’ve login, you cannot repeat the redirection. Unlike `template_redirect` hook, this will […]
Design WP Login landing page (wp-login.php, wp-login.php?action=lostpassword,etc.). I’d like to share some CSS code for you, you can enhance it on your own and this is just an example of mine. The 2 screenshot will be the layout output in WP login landing page. Copy the PHP code to your functions.php of your current WordPress […]
Separated number in comma and decimal point using PHP or JS number format. Commonly used in the price format and number separator. Hopefully this can help you. PHP: Found this post https://www.w3schools.com/php/func_string_number_format.asp and the codes below is the sample usage of the PHP code. JS: Found this post https://gist.github.com/rd13/3924792 and the codes below is the […]
How to change group avatar thumbnail?