This snippet will allow you to host your PDF files on Amazon S3 when using the 3d FlipBook Plugin for WordPress. Log into Amazon Webservices and access the S3 Control Panel Select or create a public Bucket and go to Permissions Select Cors Configuration and paste in this snippet Save/Apply Changes … [Read more...]
Disable Genesis SEO When SmartCrawl Enabled
Add the following snippet to your Genesis Child Theme's functions.php, lib/theme-defaults.php or a functionality plugin to disable Genesis SEO when running WPMUDEV's SmartCrawl for SEO. … [Read more...]
Open GitHub Gists in New Window in Genesis
By default, GitHub Gists open in the same window/tab. The following will allow you to modify your theme so they Gists open in a new Tab/Window. Backup your theme and proceed at your own risk. Incorrectly applying any code to your theme can cause fatal errors and take your site offline. Open your child theme's functions.php file and locate the enque section. It should look … [Read more...]
Exclude Categories from RSS Feed
X where X is the number of your category … [Read more...]
Hide Jetpack Sharing Buttons Conditionally
At your own risk, paste the following snippet into your theme’s functions.php: X where X is the ID number of your Category, see the WordPress Codex for more Conditional Options - Comma seperated for multiple categories. … [Read more...]