>
Download This Plugin | |
Download Elegant Themes | |
Name | LCT Useful Shortcodes & Functions |
Version | 4.1.14 |
Author | Look Classy Technologies |
Rating | 0 |
Last updated | 2015-03-09 05:13:00 |
Downloads |
467
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
LCT Useful Shortcodes & Functions plugin added 94 bytes of resources to the Home page and 103 bytes of resources to the sample Post page.
LCT Useful Shortcodes & Functions plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! LCT Useful Shortcodes & Functions plugin ads no tables to your Wordpress blog database.Shortcodes & Functions that will help make your life easier.
Use this to get youu site URL with a shortcode. EX: if your site was http://www.example.com/, then [url_site] would return http://www.example.com/
Use this to get the URL of your theme with a shortcode. This comes in handy when you want to add an image that is stored in your theme folder.
EX: if your site was http://www.example.com/ and your theme folder was my-theme, then [url_theme] would return http://www.example.com/wp-content/themes/my-theme
Use this to get the URL of your uploads folder with a shortcode. This comes in handy when you want to add an image to a widget that is stored in your uploads folder.
EX: if your site was http://www.example.com/, then [up] would return http://www.example.com/wp-content/uploads
Use this to get the path of your uploads folder with a shortcode. This comes in handy when you want to run file_exists function for an item that is stored in your uploads folder.
EX: if your site was http://www.example.com/ and you public_html folder was located at /home/mysite/public_html/, then [up_root] would return /home/mysite/public_html/wp-content/uploads
You can call this to check if the page you are on is a blogroll or single post.