This goes with the Traversy Media Scrapy tutorial on YouTube
pip install scrapy
This goes with the Traversy Media Scrapy tutorial on YouTube
pip install scrapy
<?php | |
/** | |
* Plugin Name: Try AMP CTA | |
*/ | |
add_filter( | |
'the_content', | |
function ( $content ) { | |
if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) { | |
$content = '<p>CTA!</p>' . $content; |