• Hello WPQUADS team, I’ve an issue the ads don’t appear when I use the shortcode in function.php, I have a custom post type so I can’t insert ads in the simple way, the only way to display ads between paragraphs is by using filters in function.php

    I’ve placed the shortcode elsewhere and it seems to work fine The only problem in function.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support WPQuads Support

    (@wpquadssupport)

    Can you please share more details related to your issue? How you are adding shortcodes on your page and also please share some screenshots with us? So we can understand more about your issue.

    Thread Starter oneoff

    (@oneoff)

    hello sorry for the late reply
    I’m just adding it like this

    if(is_manga_reading_page()){
    	?>
    	
    <br>
    
    <center>
    
    	
    		 <?php echo do_shortcode("[quads id=2] "); ?>
    
    </center>
    <br>
    
    	
    <?php
    	
    }
    Thread Starter oneoff

    (@oneoff)

    hello I’ve checked again the real problem
    is the shortcode doesn’t work on some custom pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘shortcodes not working in function.php’ is closed to new replies.