Tùy biến plugin wps-hide-login đưa vào trong theme (ok)

C:\xampp82\htdocs\wp2\wp-content\themes\kadence-child\wps-hide-login\composer.json

{
  "name": "wpserveur/wps-hide-login",
  "description": "Protect your website by changing the login URL and preventing access to wp-login.php page and wp-admin directory while not logged-in.",
  "keywords": [
    "rename",
    "login",
    "wp-login",
    "wp-login.php",
    "custom login url"
  ],
  "homepage": "https://wordpress.org/plugins/wps-hide-login/",
  "autoload": {
    "psr-4": {
      "WPS\\WPS_Hide_Login\\": "classes"
    }
  },
  "authors": [
    {
      "name": "WPServeur",
      "email": "nicolas@wpserveur.net",
      "homepage": "https://www.wpserveur.net/",
      "role": "Lead Developer"
    }
  ],
  "type": "wordpress-plugin",
  "minimum-stability": "stable",
  "license": "GPL-3.0+",
  "require": {
    "php": ">=5.6.0"
  }
}

C:\xampp82\htdocs\wp2\wp-content\themes\kadence-child\functions.php

C:\xampp82\htdocs\wp2\wp-content\themes\kadence-child

Chú ý để hoạt động tốt chúng ta cần sửa đoạn sau

C:\xampp82\htdocs\wp2\wp-content\themes\twentyseventeen\wps-hide-login\classes\plugin.php

53KB
Open

Last updated

Was this helpful?