Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119708

Shea Bunge on "[Plugin: Code Snippets] Snippet code disappeared"

$
0
0

Assuming the faulty snippet in question is the one displayed in the screenshot and on GitHub, you can try using this code:

function aweber_single_post() {
	if ( is_single() ) {
		echo '<script type="text/javascript" src="http://forms.aweber.com/form/57/1350500557"></script>';
	}
}

add_action( 'woo_post_after', 'aweber_single_post' );

Viewing all articles
Browse latest Browse all 119708

Trending Articles