👨‍💻
Shortcodes WP
  • Overview
  • Quick Start
  • Changelog
Powered by GitBook
On this page

Was this helpful?

Quick Start

Installation and getting started with Shortcodes WP.

PreviousOverviewNextChangelog

Last updated 3 years ago

Was this helpful?

To get started, download the .

  1. Upload the plugin (.zip file) to the /wp-content/plugins/ directory.

  2. Activate the WP Disease Tracker WordPress plugin through the 'Plugins' menu in WordPress.

Basic Usage

Simply copy the shortcode below and paste it somewhere on the front-end of your WordPress website.

WP User

[wpuser_firstname] //display current user's first name
[wpuser_lastname] //display current user's last name

WP Info (Date)

[wpinfo_current_day] //display current day e.g. Tuesday
[wpinfo_current_month] //display current month e.g. November
[wpinfo_current_year] //display current year e.g. 2020

Display current date, using the format set in Settings > Date format.

[wpinfo_current_date] OR
[wpinfo_current_date format="Y/m/d"] 

WP Info (Query Parameter)

Display a query parameter value from the URL e.g. the search parameter.

[wpuser_query_param arg="s"]
latest version here