Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //ABRA O ARQUIVO FUNCTIONS.PHP DO SEU TEMA E ADICIONE O SEGUINTE TRECHO DE CÓDIGO:
- function wpmidia_after_post_content($content) {
- if(!is_feed() && !is_home() && is_singular() && is_main_query()) {
- $content .= '<p>Conteúdo a ser inserido após o post.</p>';
- }
- return $content;
- }
- add_filter('the_content', 'wpmidia_after_post_content');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement