Title: WP general purpose shortcodes
Author: aheadlabs
Published: <strong>دسمبر 11, 2018</strong>
Last modified: جولای 26, 2023

---

Search plugins

![](https://ps.w.org/wp-general-purpose-shortcodes/assets/banner-772x250.png?rev
=1991960)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-general-purpose-shortcodes/assets/icon-128x128.png?rev=1991960)

# WP general purpose shortcodes

 By [aheadlabs](https://profiles.wordpress.org/aheadlabs/)

[Download](https://downloads.wordpress.org/plugin/wp-general-purpose-shortcodes.zip)

 * [Details](https://ps.wordpress.org/plugins/wp-general-purpose-shortcodes/#description)
 * [Reviews](https://ps.wordpress.org/plugins/wp-general-purpose-shortcodes/#reviews)
 * [Development](https://ps.wordpress.org/plugins/wp-general-purpose-shortcodes/#developers)

 [Support](https://wordpress.org/support/plugin/wp-general-purpose-shortcodes/)

## Description

General purpose shortcodes for WordPress.
 Just install the plugin from the [WordPress plugins directory](https://developer.wordpress.org/plugins/wp-general-purpose-shortcodes/)
and start adding the shortcodes to your content. That easy.

### Shortcodes

### [ahl_year]

This shortcode adds the current year with 4 digits.

E.g.: You write `[ahl_year]` and you get something like `2018`.

### [ahl_yearsFromDate]

This shortcode adds the number of years from a given day to present. You must pass
that date as an attibute named `date`.

E.g.: You write `[ahl_yearsFromDate date="2003-01-01"]` and you get something like`
2015`.

> Note that date must be written in the format showed in the example: yyyy-mm-dd

## FAQ

Please, send me any questions you have so I can answer them.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP general purpose shortcodes” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ aheadlabs ](https://profiles.wordpress.org/aheadlabs/)

[Translate “WP general purpose shortcodes” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-general-purpose-shortcodes)

### Interested in development?

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

## Changelog

#### 0.2.4

 * Updated version compatibility

#### 0.2.0

 * Added the shortcode: [ahl_yearsFromDate]

#### 0.1.0

 * Added the first shortcode: [ahl_year]

## Meta

 *  Version **0.2.4**
 *  Last updated **3 کلونه ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **6.3.8**
 *  PHP version ** 5.2.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-general-purpose-shortcodes/)
 * Tags
 * [date](https://ps.wordpress.org/plugins/tags/date/)[shortcode](https://ps.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://ps.wordpress.org/plugins/wp-general-purpose-shortcodes/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-general-purpose-shortcodes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-general-purpose-shortcodes/reviews/)

## Contributors

 *   [ aheadlabs ](https://profiles.wordpress.org/aheadlabs/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-general-purpose-shortcodes/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/aheadlabs)