How to disable plugins from wp-blog-header.php integration
-
Hello,
If in external HTML I do:
<?php define('WP_USE_THEMES', false); require('/home/myfolder/www/blog/wp-blog-header.php'); ?> <?php global $post; $args = array( 'posts_per_page' => 5 ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a><br /> <?php endforeach; ?>it includes an ad from Google by the plugin “Adsense In Posts”.
I don’t want it to include that ad, I don’t need it there.How to disable?
thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘How to disable plugins from wp-blog-header.php integration’ is closed to new replies.