Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'the_content', 'bm_shortcode_after_content' );
- function bm_shortcode_after_content( $content ) {
- if ( is_singular('cpt_franchize')) {
- $shortcode = '[contact-form-7 id="364" title="Formularz 1"]'
- $content = $content . do_shortcode($shortcode);
- }
- return $content;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement