{"id":740,"date":"2012-06-11T19:15:34","date_gmt":"2012-06-12T02:15:34","guid":{"rendered":"https:\/\/startupwp.com\/demo\/?page_id=740"},"modified":"2014-06-21T06:35:44","modified_gmt":"2014-06-21T13:35:44","slug":"shortcodes","status":"publish","type":"page","link":"https:\/\/startupwp.com\/demo\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"<p>StartupPro is extremely shortcode friendly (more than probably any other theme out there). Add shortcodes anywhere, pages, posts, text widgets, and through any of the custom theme option areas, Social Icons, Copyright, Header, Body and Footer custom areas.<\/p>\n<p>Not only that&#8230;<\/p>\n<p><br style=\"clear:both\" \/><\/p>\n<h2>Add PHP Anywhere (without hard-coding\/child theming)<\/h2>\n<h3>How PHP is Normally Added<\/h3>\n<p>The year is <code>&lt;?php echo date(&quot;Y&quot;); ?&gt;<\/code>.<\/p>\n<h3>How to Add with New Shortcode<\/h3>\n<p>The year is <code>&#091;sp-php&#093; echo date(\"Y\"); &#091;\/sp-php&#093;<\/code>.<\/p>\n<h3>And Here it is, PHP Executing Right Into a Page! No Hacking Needed!<\/h3>\n<p>The year is 2026.<\/p>\n<p><br style=\"clear:both\" \/><\/p>\n<h2>Button<\/h2>\n<p><code>&#091;sp-button&#093;Some Text&#091;\/sp-button&#093;<\/code><\/p>\n<div class=\"button\">Some Text<\/div>\n<p><br style=\"clear:both\" \/><\/p>\n<h2>Button Link<\/h2>\n<p><code>&#091;sp_link to=\"#\"&#093;Some Link&#091;\/sp_link&#093;<\/code><br \/>\n(replace # with URL)<\/p>\n<a href=\"#\" class=\"button\">Some Link<\/a>\n<p><br style=\"clear:both\" \/><\/p>\n<h2>Boxes<\/h2>\n<h3>Small Boxes<\/h3>\n<p><code>&#091;sp-box-s&#093;Some Content&#091;\/sp-box-s&#093;<\/code><code>&#091;sp-box-s&#093;Some Content&#091;\/sp-box-s&#093;<\/code><code>&#091;sp-box-s&#093;Some Content&#091;\/sp-box-s&#093;<\/code><\/p>\n<p><div class=\"box box-small\">Some Content<\/div><div class=\"box box-small\">Some Content<\/div><div class=\"box box-small\">Some Content<\/div><\/p>\n<p><br style=\"clear:both\" \/><br \/>\n<br style=\"clear:both\" \/><\/p>\n<h3>Medium Boxes<\/h3>\n<p><code>&#091;sp-box-m&#093;Some Content&#091;\/sp-box-m&#093;<\/code><code>&#091;sp-box-m&#093;Some Content&#091;\/sp-box-m&#093;<\/code><\/p>\n<p><div class=\"box box-medium\">Some Content<\/div><div class=\"box box-medium\">Some Content<\/div><\/p>\n<p><br style=\"clear:both\" \/><br \/>\n<br style=\"clear:both\" \/><\/p>\n<h3>Large Boxes<\/h3>\n<p><code>&#091;sp-box-l&#093;Some Content&#091;\/sp-box-l&#093;<\/code><\/p>\n<div class=\"box box-large\">Some Content<\/div>\n<p><br style=\"clear:both\" \/><br \/>\n<br style=\"clear:both\" \/><\/p>\n<h2>Contact Form<\/h2>\n<p><code>&#091;sp-contact&#093;<\/code><\/p>\n\n<script type=\"text\/javascript\" src=\"https:\/\/startupwp.com\/demo\/wp-content\/themes\/startuppro\/scripts\/contact.js\"><\/script>\n<div id=\"contact\">\n<div id=\"message\"><\/div>\n<form method=\"post\" action=\"https:\/\/startupwp.com\/demo\/wp-content\/themes\/startuppro\/scripts\/contact.php\" name=\"contactform\" id=\"contactform\">\n<div>\n<label for=\"name\" accesskey=\"N\"><span class=\"required\">*<\/span> Name<\/label>\n<input name=\"name\" type=\"text\" id=\"name\" size=\"30\" value=\"\" \/>\n<br \/>\n<label for=\"email\" accesskey=\"E\"><span class=\"required\">*<\/span> Email<\/label>\n<input name=\"email\" type=\"text\" id=\"email\" size=\"30\" value=\"\" \/>\n<br \/>\n<label for=\"phone\" accesskey=\"P\"><span class=\"required\">*<\/span> Phone<\/label>\n<input name=\"phone\" type=\"text\" id=\"phone\" size=\"30\" value=\"\" \/>\n<br \/>\n<label for=\"subject\" accesskey=\"S\"><span class=\"required\">*<\/span> Subject<\/label>\n<input name=\"subject\" type=\"text\" id=\"subject\" size=\"30\" value=\"\" \/>\n<br \/>\n<label for=\"comments\" accesskey=\"C\"><span class=\"required\">*<\/span> Message<\/label>\n<textarea name=\"comments\" cols=\"40\" rows=\"5\" id=\"comments\"><\/textarea>\n<p id=\"human\"><span class=\"required\">*<\/span> Are you human?<\/p>\n<label for=\"verify\" accesskey=\"V\" id=\"test\">&nbsp;&nbsp;&nbsp;1\/0\/0 (enter this number without the slashes)<\/label>\n<input name=\"verify\" type=\"text\" id=\"verify\" size=\"3\" value=\"\" \/>\n<br \/>\n<input type=\"submit\" class=\"submit\" id=\"submit\" value=\"Submit Message\" \/>\n<br \/>\n<span class=\"required\">* <small>required fields<\/small><\/span>\n<\/div>\n<\/form>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>StartupPro is extremely shortcode friendly (more than probably any other theme out there). Add shortcodes anywhere, pages, posts, text widgets, and through any of the custom theme option areas, Social Icons, Copyright, Header, Body and Footer custom areas. Not only that&#8230; Add PHP Anywhere (without hard-coding\/child theming) How PHP is Normally Added The year is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-740","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/pages\/740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/comments?post=740"}],"version-history":[{"count":23,"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/pages\/740\/revisions"}],"predecessor-version":[{"id":972,"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/pages\/740\/revisions\/972"}],"wp:attachment":[{"href":"https:\/\/startupwp.com\/demo\/wp-json\/wp\/v2\/media?parent=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}