What is shortcode in Wordpress?

by weston_dietrich , in category: Technology , 3 years ago

What is shortcode in Wordpress?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

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


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