What is shortcode in Wordpress?

by weston_dietrich , in category: Technology , 2 years ago

What is shortcode in Wordpress?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer


by lucious , 2 years 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:

  do_shortcode('Here paste your plugin shortcode');