Title: AA Condition Plugin
Author: AA Extensions
Published: <strong>November 1, 2014</strong>
Last modified: June 2, 2025

---

Search plugins

![](https://ps.w.org/aa-condition/assets/banner-772x250.png?rev=3305043)

![](https://ps.w.org/aa-condition/assets/icon-128x128.png?rev=1018107)

# AA Condition Plugin

 By [AA Extensions](https://profiles.wordpress.org/aaextensions/)

[Download](https://downloads.wordpress.org/plugin/aa-condition.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/aa-condition/#description)
 * [Reviews](https://wordpress.org/plugins/aa-condition/#reviews)
 * [Development](https://wordpress.org/plugins/aa-condition/#developers)

 [Support](https://wordpress.org/support/plugin/aa-condition/)

## Description

This plugin is specially made for people who wants to put some condition according
to user logged or guest position , I mean not logged in position. I hope you can
easily change aacondition.php file condition and can use the plugin with shortcode
and here is the shortcode for you [aa_condition_button]. Very simple to use.

#### Features

 1.  **Conditional Buttons via Shortcode**
      Display customizable buttons based on user
     login status using `[aa_condition_button]`.
 2.  **User Login-Aware Display**
      Show different buttons and messages depending on
     whether the visitor is logged in or not.
 3.  **Customizable Button Labels and URLs**
      Easily configure button text and link
     URLs via shortcode attributes or admin panel.
 4.  **Shortcode Generator in Admin Panel**
      Lightweight, single-page admin interface
     to generate shortcode with your custom options — no coding required.
 5.  **Multilingual & Translation Ready**
      Fully compatible with WordPress internationalization
     standards (`.pot` files included) for easy localization.
 6.  **Open Links in Same or New Tab**
      Choose whether buttons open links in the current
     window or a new tab.
 7.  **Custom CSS Class for Buttons**
      Add custom CSS classes to style buttons to fit
     your theme.
 8.  **Login/Register Prompt for Guests**
      Show customizable, styled login and registration
     links when users are not logged in.
 9.  **Security: Nonce Protection on Admin Form**
      Protects against cross-site request
     forgery (CSRF) on admin settings.
 10. **Premium Features (Coming Soon / Optional License Required):**
 11.  a. Enable/disable individual buttons easily.
      b. Customize login and registration URLs.
      c. Hide or show login prompts dynamically.
      d. Additional button styles and templates.
      e. Priority support and updates.
 12. **Lightweight & Fast**
      No bloat—small codebase designed for speed and minimal
     performance impact.

#### How to use it

 1. Place the shortcode `[aa_condition_button]` in any post, page, or widget where 
    you want the buttons to appear.
 2. Use shortcode attributes to customize buttons, for example:
 3.  [aa_condition_button show_get_help=”yes” get_help_url=”https://yourhelpurl.com”
    get_help_label=”Help Now” show_give_back=”no”]
 4. Configure premium options (if enabled) in the plugin admin panel for more control
    over URLs and messages.
 5. Customize button styles via your theme or add custom CSS classes using shortcode
    attributes.
 6. Make sure your site supports translations for multilingual users, or provide translations
    for your language.

#### Installation

 1. **Download the Plugin:** Download the latest version of the AA Condition plugin
    ZIP file from the official source or WordPress plugin repository.
 2. **Upload the Plugin:**
 3.  a. Go to your WordPress Admin Dashboard.
     b. Navigate to _Plugins > Add New_.
     c. Click on the _Upload Plugin_ button at the top.
     d. Select the downloaded ZIP file and click _Install Now_.
 4. **Activate the Plugin:** Once installed, click the _Activate Plugin_ button.
 5. **Configure Settings:**
 6.  a. Go to _Settings > AA Condition_ in the WordPress dashboard.
     b. Set your preferred options, customize buttons, and generate shortcodes.
 7. **Use the Shortcode:** Add the shortcode `[aa_condition_button]` to any page, post,
    or widget to display the conditional buttons.

#### Screenshots

 1. screenshot-1

#### Changelog

 1. **Version 1.0.1** (2025-06-02)
 2.  a. Added shortcode generator in admin panel with nonce security.
     b. Implemented premium feature toggles and disabled controls for free users.
     c. Improved multilingual support and translation readiness.
     d. Enhanced security with nonce verification on admin form submission.
     e. Fixed display logic to correctly handle logged-in and logged-out users.
     f. Added options for custom button labels, URLs, and CSS classes.
 3. **Version 1.0.0** (2025-05-30)
 4.  a. Initial release with basic conditional buttons based on user login status.
     b. Basic shortcode support: [aa_condition_button].
     c. Default button labels and login/register prompt for guests.

## Screenshots

 * [[

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AA Condition Plugin” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ AA Extensions ](https://profiles.wordpress.org/aaextensions/)

[Translate “AA Condition Plugin” into your language.](https://translate.wordpress.org/projects/wp-plugins/aa-condition)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/aa-condition/), check
out the [SVN repository](https://plugins.svn.wordpress.org/aa-condition/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/aa-condition/) by
[RSS](https://plugins.trac.wordpress.org/log/aa-condition/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.1**
 *  Last updated **12 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **6.8.5**
 * Tags
 * [aaextensions](https://wordpress.org/plugins/tags/aaextensions/)[conditon](https://wordpress.org/plugins/tags/conditon/)
   [login](https://wordpress.org/plugins/tags/login/)[shortcode](https://wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://wordpress.org/plugins/aa-condition/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/aa-condition/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/aa-condition/reviews/)

## Contributors

 *   [ AA Extensions ](https://profiles.wordpress.org/aaextensions/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/aa-condition/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://aaextensions.com)