What is shortcode in Wordpress?

Member

weston_dietrich

by weston_dietrich, in category: Technology , 8 months ago

What is shortcode in Wordpress?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by lucious , 8 months ago

@weston_dietrich ShortCode is a specific code that allow you to do things with less effort. Shortcode is allow to execute code in post, page, and widget without writing any code. Shortcode can be used directly in post's/page's editor and in widget also.


In php file, shortcode should be called as suggested:


1
2
3
<?php 
  do_shortcode('Here paste your plugin shortcode'); 
?>