
Development
- Simple shortcode example
- How to pass parameters to shortcode
- Call shortcode:
[shortcode param1='param 1 value' param2='param 2 value']
Read parameters:
function shortcode_function($atts)
{
echo $atts['param1']; //param 1 value will be displayed.
echo $atts['param2']; //param 2 value will be displayed.
}
- Example 1
- /*
Plugin Name: Shortcode demo
Plugin URI:
Description: Shortcode Demo
Version: 1.0
Author: Gabriel Magen
Author URI: http://www.flash-jet.com
License: GPLv2
*
- /*
How to
- Add a language
- Go to HERE
- Locate requested language
- Click on “View team page“
- Click on “Download language pack“
- Upload the downloaded file to wp-content\languages
- At wordpress admin panel, go to Settings->General
- Select the required language
- Add to wp-config.php, after define(‘DEBUG’,off);, the following line:
- Click on the following video that demonstrates this.
- Install
- Go to Woocommerce.com
- Download plugin and install from there.
Plugins
Others
- 20 BEST WORDPRESS PLUGINS FOR 2016
- GITIUM – PLUGIN THAT PUSHES CHANGES FROM WORDPRESS TO GIT REPO
- USEFUL PLUGINS FOR WORDPRESS BASED WEBSITE
- HOW TO SECURE YOUR WORDPRESS SITE
- HOW TO CREATE POST TYPES WITH SPECIFIC FIELDS
- CLEVERNESS – WORDPRESS TO-DO LIST PLUGIN
- SITE GROUND – WORDPRESS WITH ADVANCED TOPICS