WordPress.org

Ideas

Selectively load stylesheets in footer

  1. TulsaWeb
    Member

    Add ability to selectively choose where a stylesheet will be loaded when using wp_enqueue_style(). Eg: header/footer and load order (to preserve cascade), as is currently possible in wp_enqueue_sript() using dependency order and boolean in_footer().

    Posted: 2 years ago #
  2. webvitalii
    Member

    Widget with login, logout, admin and register links. Replacement of the default Meta widget.

    Speedup WordPress | Login-Logout | Donate | GitHub

    "Login-Logout" plugin adds widget with login or logout link. Also can be shown register or site-admin link. It is the replacement of the default Meta widget.

    If user is not logged in there are such links:

    • login (after login action user will return to previous page);
    • register (if user can register) (if checkbox is active);

    If user is logged in there are such links:

    • welcome text with link to user profile (if checkbox is active);
    • logout (after logout action user will return to previous page);
    • site admin (if checkbox is active);

    Useful:

    1. Install and activate the plugin on the Plugins page
    2. Add "Login-Logout" widget to your sidebar and customize it
    1. login-logout screenshot 1

      Login-Logout widget

    2. login-logout screenshot 2

      Widget output when user is not logged in

    3. login-logout screenshot 3

      Widget output when user is logged in

    4. login-logout screenshot 4

      Widget output when user is logged in and inline option is on

    3.7 - 2016-08-29

    3.6 - 2016-03-22

    • Bugfixing

    3.5 - 2016-03-21

    • Bugfixing
    • Code refactoring
    • Added LOGIN_LOGOUT_PLUGIN_VERSION constant

    3.4 - 2015-09-09

    • Added 'https' support. Thanks to Sven

    3.3 - 2015-09-05

    • Added 'login_logout_username_link' filter. Idea and code provided by Jon

    3.2 - 2015-08-20

    • One more replace PHP4 style constructors with PHP5 constructors

    3.1 - 2015-08-14

    3.0 - 2015-05-28

    • Minor bugfixing
    • Code cleanup

    2.9 - 2014-11-04

    2.8 - 2014-09-11

    2.7 - 2013-11-07

    • Spanish translation made by Maria Ramos from WebHostingHub

    2.6 - 2013-10-17

    • Serbian translation made by Borisa Djuraskovic from WebHostingHub

    2.5 - 2013-10-15

    • minor changes

    2.4 - 2012-10-31

    • minor changes

    2.3

    • Fixing minor bugs

    2.2

    • Added extra item for the list of items

    2.1

    • Added html tags support in many fields
    • Added html classes to list items

    2.0.1

    • Link to profile bugfix

    2.0.0

    • Added inline option
    • Added welcome text

    1.8.0

    • Translation ready

    1.7.0

    • Added "login text", "logout text", "register text" and "site admin text" options

    1.6.0

    • Splitting "redirect to" option into "redirect to after login" and "redirect to after logout"

    1.5.0

    • Added "redirect to" option

    1.4.0

    • Change method of widget registering

    1.3.0

    • Removed title if it is empty

    1.2.0

    • Split register and admin links

    1.1.0

    • Added show or hide register or site-admin link

    1.0.0

    • Initial release
    Posted: 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    1 Vote
  • Status

    This idea is under consideration