WordPress redirect automatically login page if user not logged-in

This code has to be inserted functions.php bottom, in this case if users are not login-in script has to redirect to login page. After login if user has administrator privilegies it redirect to admin control panel if it isn’t and user has suscbriber privilegies it’s redirect to home-page URL. function login_redirect() { // Current Page […]

Create Genesis snippet custom header for style.css

What is an snippet? Snippet is a fragment of text used frecuently, as a developer experience some fragments of code are used again and again. You must create a snippet implementation as soon is required. First of all, i’m select SublimeText3 (the lates version available). Go to :  Tools/Developer/New Snippet At the first time, we […]

¿Cómo escojer una contraseña y no morir en el intento?

Seguro has leído demasiados artículos relacionados con lo importante de disponer de una contraseña segura para nuestras cuentas de correo, cuentas bancarias, accesos a cuentas en redes sociales. A pesar de que las empresas de internet pongan hoy en día  su mayor esfuerzo en implementar técnicas de seguridad(algunas casi nada),  esto se ve minificado si […]