how to insert any short code into template in wordpress

Inserting a gallery into a template

You can insert any shortcode for any plugin into a template using the following (enclosed in standard PHP tags):

echo do_shortcode('[shortcode option1="value1" option2="value2"]');

Advertisements

About lorddisk

WebCenter Content, WebCenter Portal, WebCenter Sites,Weblogic, Identity and Access Management (IAM),SSO,OAM,OIM,OAAM,OUD, OPAM,OID, OVD ,Oracle API Gateway ,OBIEE,OEDQ, Oracle ADF, Oracle SOA,J2EE, CackePHP ,PHP,J2SE,J2EE,Spring,Hibernate,JQuery,CSS,Java Script ,Joomla,Drupal,Worpress
This entry was posted in wordpress. Bookmark the permalink.