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
*
- /*
- TUTORIAL: DEVELOP WORDPRESS PLUG-IN IN 6 STEPS – ADD FILTER METHOD
- ACF – ADVANCE CUSTOM FIELDS – HOW TO DESIGN A FORM
- WORDPRESS PLUGIN DEVELOP – RESOURCES
- USING SINGLETON CLASSES FOR WORDPRESS PLUGINS
- LEARN HOW TO DEVELOP WORDPRESS PLUGINS
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-contentlanguages
- At wordpress admin panel, go to Settings->General
- Select the required language
FTP access to install Theme or Plugin
- 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
- Nav menu Roles
- Access menus by roles
- Login/Logout menu
- Elementor
- Gitium
- WpIde
- AceIde
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
Fix errors
- Enable debug
- In wp-config.php add
- define( ‘WP_DEBUG’, true );
- In wp-config.php add
- Enable plugins download
- In wp-config.php add
- define(‘FS_METHOD’, ‘direct’);
- In wp-config.php add
- Error after changing to https
- Settings->general->change to https
- Admin page (wp-admin) is not accessible.
- How to resolve?
- Install a plugin called
- Flexible SSL for CloudFlare
- Install a plugin called