{"id":2789,"date":"2021-07-02T08:10:19","date_gmt":"2021-07-02T01:10:19","guid":{"rendered":"https:\/\/www.cybersoftmedia.com\/?p=2789"},"modified":"2022-02-22T16:50:23","modified_gmt":"2022-02-22T09:50:23","slug":"membuat-custom-shortcode-wordpress-dengan-mudah","status":"publish","type":"post","link":"https:\/\/www.cybersoftmedia.com\/blog\/membuat-custom-shortcode-wordpress-dengan-mudah\/","title":{"rendered":"Membuat Custom Shortcode WordPress Dengan Mudah"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Anda sedang mempelajari wordpress ? atau anda sedang mencari script salinan cara membuat shortcode ? seperti pada contoh kami Membuat Custom Shortcode WordPress Sangat Simple, anda sangat tepat sekali mengunjungi website ini.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> [shortcode size=20]Content[\/shortcode] <\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_shortcode( 'contoh_shortcode', 'cybersoftmedia_com_contoh_shortcode' );\nfunction cybersoftmedia_com_contoh_shortcode() {\nreturn \"&lt;a href='https:\/\/www.cybersoftmedia.com\/blog\/membuat-custom-shortcode-wordpress-dengan-mudah\/'&gt;Tutorial Membuat Custom Shortcode Dengan Mudah&lt;\/a&gt;\";\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Tambahkan script di atas pada file <strong>functions.php<\/strong> anda.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anda sedang mempelajari wordpress ? atau anda sedang mencari script salinan cara membuat shortcode ? seperti pada contoh kami Membuat Custom Shortcode WordPress Sangat Simple, anda sangat tepat sekali mengunjungi website ini. [shortcode size=20]Content[\/shortcode] add_shortcode( &#8216;contoh_shortcode&#8217;, &#8216;cybersoftmedia_com_contoh_shortcode&#8217; ); function cybersoftmedia_com_contoh_shortcode() { return &#8220;&lt;a href=&#8217;https:\/\/www.cybersoftmedia.com\/blog\/membuat-custom-shortcode-wordpress-dengan-mudah\/&#8217;&gt;Tutorial Membuat Custom Shortcode Dengan Mudah&lt;\/a&gt;&#8221;; } Tambahkan script di atas pada [&#8230;]\n","protected":false},"author":6,"featured_media":4511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[279],"tags":[],"class_list":["post-2789","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/posts\/2789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/comments?post=2789"}],"version-history":[{"count":0,"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/posts\/2789\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/media\/4511"}],"wp:attachment":[{"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/media?parent=2789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/categories?post=2789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cybersoftmedia.com\/csm-api\/wp\/v2\/tags?post=2789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}