This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path | group | type | |
---|---|---|---|
/rv-dealership-websites | sips | s | |
/blog/2023/12/07/identify-prioritize-your-digital-marketing-channels-in-the-modern-market | sub-pillar | s | |
/mobile-websites | sips | s | |
/why-interactrv | sips | s | |
/google-vehicle-listings | sips | s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function amp_wp_org_is_amp() { | |
return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint(); | |
} | |
if ( amp_wp_org_is_amp() ) { | |
// Remove script from AMP pages. | |
wp_dequeue_script( 'script-handle' ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Page 6 (Rabbit): 3 layers (fill (video) + vertical + vertical) --> | |
<amp-story-page id="page6"> | |
<amp-story-grid-layer template="fill"> | |
<!-- DESKTOP --> | |
<amp-video-iframe media="(min-width: 900px)" | |
id="myVideo" | |
src="https://sudhir.dev/videojs-example/amp-videojs-embed1.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: AMP Framework enabler for Non AMP. | |
* Description: Enables AMP as Framework enabler for Non AMP. | |
* Plugin URI: https://rtcamp.com | |
* Version: 0.2 | |
* Author: rtCamp, pradeep910 | |
* Author URI: https://rtcamp.com | |
* | |
* @package rtCamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: MailChimp for WordPress - AMP Support | |
* Description: Fix for MailChimp form submission with page update in AMP. | |
* Plugin URI: https://pradeepsonawane.com | |
* Version: 0.1 | |
* Author: Pradeep Sonawane | |
* Author URI: https://pradeepsonawane.com | |
* | |
* @package rtCamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Gutenberg Columns Block (Beta) Responsive CSS Fix */ | |
.wp-block-columns { | |
display: grid; | |
grid-gap: 1rem; | |
grid-auto-flow: dense; | |
.layout-column-1 { | |
grid-column: 1; | |
} | |
.layout-column-2 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Gravity form fix for AMP-WP plugin | |
* Description: Fix for gravity form submission with page update in AMP native mode (amp-wp plugin). Gravity forms submission with page update fix for AMP Native mode of amp-wp plugin. https://ampbyexample.com/components/amp-form/#form-submission-with-page-update | |
* Plugin URI: https://gist.github.com/pradeep910/b25525034289ab0bc2b7fa0896f4ac90/ | |
* Version: 0.1 | |
* Author: Pradeep Sonawane | |
* Author URI: https://pradeepsonawane.com | |
* | |
* @package rtCamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$file = "filename.ext"; | |
// Quick check to verify that the file exists | |
if( !file_exists($file) ) die("File not found"); | |
// Force the download | |
header("Content-Disposition: attachment; filename="" . basename($file) . """); | |
header("Content-Length: " . filesize($file)); | |
header("Content-Type: application/octet-stream;"); | |
readfile($file); | |
?> |