Blog

22 de June de 2023

ShortCode

ShortCode

The Shortcode is a piece of code in text format, which references a function of callback (external function), in order to produce dynamic content on pages and posts edited directly in the administrative panel.

To add the code PHP is used, just put the code like this:

<?php echo do_shortcode( '[colocar-seu-texto-shortcode]' ); ?>

Don't forget to replace “put-your-text-shortcode” with your code.

Share:
Others

Tips

wp_reset_query();

wp_reset_query();

View more

Compactar arquivos com PHP

Compress files with PHP

View more

Redirecionamento para outro site

Redirection to another website

View more