Aller au contenu
WordPress.org

Français du Canada

  • Thèmes
  • Extensions
  • News
  • À propos
  • Traduire WordPress
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

User Info Login Shortcode

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

User Info Login Shortcode

Par D’Arcy Norman
Télécharger
  • Détails
  • Avis
  • Installation
  • Développement
Support

Description

I needed a way to display login form on the front page of a WPMU network if a person wasn’t already logged in, and a bit of info about the user, a list of their sites, a link to create a new one, and a link to logout. I could have done it by hacking the theme’s templates, but that locks you into a specific theme. With the shortcode, any theme can display this, on any page (or post, but why would you do that? whatever. it’s your site…)

Captures d’écran

User login form, displayed if a person is not logged in yet.
User login form, displayed if a person is not logged in yet.
User info, blogs list, create site, and logout link. Displayed if a person is already logged in.
User info, blogs list, create site, and logout link. Displayed if a person is already logged in.

Installation

This section describes how to install the plugin and get it working.

  1. Download the userinfologinshortcode.zip file to a directory of your choice (preferably the wp-content/plugins folder)

  2. Unzip the userinfologinshortcode.zip file into the wordpress plugins directory: ‘wp-content/plugins/’

  3. Activate the plugin through the ‘Plugins’ menu in WordPress

  4. Include the [user_info_login] shortcode in any page you wish to include the blog_members display. It may make the most sense to do this on the front page of the site.

FAQ

How do I use the plugin?

When you write or edit the content of a page, simply include
[user_info_login] (along with the brackets) whenever you want the info/login to
be displayed. Make sure you activate the plugin before you use the
shortcode.

Why is the Info/Login stuff not displayed, even though I included the shorttag ?

The plugin probably has not yet been activated.

Avis

Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« User Info Login Shortcode » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs
  • D'Arcy Norman

Traduisez « User Info Login Shortcode » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Historique des changements

0.2.1

  • fixing minor bug in multisite url generation for login/signup links

0.2

  • cleaned up for non-multisite use (but really, this plugin is kind of useless outside of multisite)
  • updated some of the display code so that it actually works now. again.

0.1

  • First draft of the plugin. It’s not parameterizable yet.

Méta

  • Version 0.2.1
  • Last updated il y a 7 années
  • Active installations 10+
  • WordPress version 2.6 ou plus
  • Tested up to 5.2.26
  • Language
    English (US)
  • Tags
    loginshortcodewpmu
  • Vue avancée

Notes

No reviews have been submitted yet.

Your review

See all reviews

Contributeurs

  • D'Arcy Norman

Support

Quelque chose à dire ? Besoin d’aide ?

Voir le forum de support

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Français du Canada

  • Visit our X (formerly Twitter) account
  • Visitez notre compte Bluesky
  • Visit our Mastodon account
  • Visitez notre compte Threads
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visitez notre compte TikTok
  • Visit our YouTube channel
  • Visitez notre compte Tumblr
Le code est une poésie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.