Linux 软件免费装
Banner图

Slash Admin

开发者 gsarig
更新时间 2024年3月1日 20:59
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.4
版权: GPLv2 or later

标签

dashboard login admin analytics WordPress access permission fonts administration internet explorer role loading white label revisions cookie law eu cookie law obfuscate prefetching site health dns prefetching prerendering

下载

2.3.2 2.6 3.8.2 3.8.3 1.8.5 3.3 3.7 3.8.1 2.2 2.8.3 2.9.2 3.0 1.8.6 2.2.1 2.2.2 2.2.3 2.3 2.3.1 2.3.3 2.4 2.5 2.5.1 2.5.2 2.5.3 2.7 2.8 2.8.1 2.8.2 2.9 2.9.1 2.9.3 3.1 3.1.1 3.2 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.4 3.4.1 3.5 3.5.1 3.6 3.7.1 3.7.2 3.7.3 3.7.4

详情介绍:

Slash Admin gathers some common functions that you probably need in most of your websites. The plugin lets you change various different options in a WordPress website, keeps them active even if you switch your theme and helps you create a friendlier Admin Panel for you and your editors. If you are lost with the many options, here's a presentation of the plugin's best features. Features Frontend Administration Login screen Non-admins White label backend Performance Shortcodes Development functions Notifications Slash Admin displays the following notifications:

安装:

  1. Upload the Slash Admin plugin to your WordPress plugins directory and activate it.
  2. Go to Tools / Slash Admin and set your preferred options.

屏幕截图:

  • The EU Cookie Law consent box in its four different variations
  • Frontend section
  • Administration section
  • Login screen section
  • Non-admins section
  • White label section
  • Performance section
  • Shortcodes section
  • The Old Browser warning message

升级注意事项:

3.7 A big refactoring of four features: Internet Explorer warning message, site loading animation, eu cookie message and Script includes have been rewritten for better performance and usability. Also, a refactoring of the rest of the code has began, without affecting the functionality, though. 3.4 This is a relatively big update, with the most important addition being the option to assign a specific admin user as "Techie". Doing so, will hide some functionalities from every other admin except from the Techie. Those functionalities include Site Health and ACF settings. Also, deprecated "Add favicon" option has been removed, and the same happened to the option to Unload Open Sans, as WordPress ditched it a few versions ago. Check the changelog for the full list of additions and changes. 2.6 This is a major update with lots of new options. A whole new section named "White label" has been added, allowing you to customize the WordPress Dashboard, add your own Welcome message and dashboard widget, change the WordPress logo and Admin texts and more (see the changelog for details). 1.8.5

常见问题:

Which shortcodes are available?

You can enable the following shortcodes:

  • [slash_mail address="yourmail@mail.com"] - disguises the email address to make it unreadable from mail harvesters and displays it as plain text.
  • [slash_mailto address="yourmail@mail.com"] - does the exact same thing, but it also transforms the text to a "mailto" link as well.
  • [slash_mail] and [slash_mailto] (same as above but with no parameters given) automatically retrieve the email address of the author of a post/page. All the above shortcodes use the WordPress' antispambot() function.
  • [slash_phone number="PHONE_NUMBER" prefix="COUNTRY_PREFIX" text="ANCHOR_TEXT"] - Shows a telephone number in a way that it is clickable. When clicked, if you are on a mobile device it opens the phone's dialer and if you are on a desktop computer it prompts to make a call via a related program (e.g. Skype). The "number" parameter is the only one that is absolutelly required. Here are some usage examples: [slash_phone number="999999"] would output a link "999999" which would make a phone call to 999999. [slash_phone number="999999" prefix="+30"] would output a link "999999" which would make a phone call to +30999999. [slash_phone number="999999" prefix="+30" text="Call us"] would output a link "Call us" which would make a phone call to +30999999.
  • [slash_home] - retrieves the home URI for the current site. It is the equivalent of echoing the home_url().
  • [slash_theme] - retrieves the template directory URI for the current theme. It is the equivalent of echoing the get_template_directory_uri().
  • [slash_child] - retrieves the stylesheet directory URI for the current theme/child theme. It is the equivalent of echoing the get_stylesheet_directory_uri().

Which special functions are available?

Slash Admin includes the following functions which you can use in your code:

  • slash_dump() - You can use it instead of var_dump() to wrap the output in tags, for better readability.

My theme also supports some of this plugin's features. Which one should I choose?

It is up to you to decide whether you will use your theme's options or those provided by this plugin. It is recommended, though, that you keep those settings separated from your theme and the reason is simple: If at some point you decide to switch themes, those options will be lost and you have to remember to re-enter them. Keeping them in a plugin maintains the options between themes.

Is it wise to hide update notices from my users?

Generally speaking, no. WordPress' default behaviour is probably the best, that's why the specific option is disabled by default. In some cases, though, users might get confused with those notifications or think that something is wrong with the website. In cases like that, you might want to keep the update notifications visible only for those who can apply them - namely the administrators. Keep in mind that, technically, selecting this option won't remove the notifications for the non-admins - it will just hide them with CSS.

What does hiding options for non-admins means?

Sometimes you only use certain features of WordPress. For example, your website might have comments disabled or not using the Links feature. Also, for better usability you might want to show your users only the options that concern them. Hiding those options won't remove them. You, as an administrator, will always see the full list of all the available options. An editor, though, won't see the hidden options, which helps him focus to only those that concern him.

How does allowing access to appearance settings work?

You can allow editors access to one or more of the following sub-sections of the "Appearance" section:

  • Customize
  • Widgets
  • Menus
  • Background
Technically, by selecting even one of the above options you give editors access to the Appearance section. To prevent them from accessing unwanted subsections (e.g. you want them to see the Menus but not the Widgets) the plugin hides their links via CSS/JavaScript from both the backend and the frontend. If an editor knew the link for the Widgets subsection he/she could access it. By default the plugin respects the WordPress' default behavior, keeping those options disabled (users have no access at all to the Appearance section).

Old browser warning behaves strangely with W3TC plugin

This is a known issue. When Page Caching is activated in the W3 Total Cache plugin, the old browser warning becomes unpredictable and it may appear not only in Internet Explorer 8 but in newer IE versions as well as in Chrome. To deal with the problem you need to disable either the old IE warning or the W3TC Page Cache option.

更新日志:

3.8.3 3.8.2 3.8.1 3.8 3.7.4 3.7.3 3.7.2 3.7.1 3.7 3.6 3.5.1 3.5 3.4.1 3.4 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 Bug fix 3.3 3.2 3.1.1 3.1 3.0 2.9.3 2.9.2 2.9.1 2.9 2.8.3 2.8.2 2.8.1 2.8 2.7 2.6 2.5.3 2.5.2 2.5.1 2.5 2.4 2.3.3 2.3.2 2.3 2.2.3 2.2.2 2.2 2.1 2.0 1.9 1.8.5 1.8.1 1.8 1.7 1.6 1.5 1.0.1 1.0.0