rsmith4321
Forum Replies Created
-
Thanks, I’m using the generatepress theme and I notice the regular blog post output has that same read-more-container class. So it must be the theme adding that. I’ll have to try and figure it out, thanks!
Forum: Reviews
In reply to: [Gutenberg] Great now that I’m used to it.What?
Forum: Plugins
In reply to: [AMP] Facebook pixel amp errorsThe developer is Facebook so it might be something you would want to work with them officially on. What I did is I just added the Facebook pixel code in manually. I had tried adding it to the wp_head before and had the same problems but based on your suggestion I added it to wp_footer now and it seems to fix the amp issues. You can view it here https://www.ryansmithphotography.com/?amp
Forum: Plugins
In reply to: [AMP] Facebook pixel amp errorsForum: Plugins
In reply to: [AMP] Facebook pixel amp errorsThanks for the reply. Yes that is the plugin, there are no errors currently because I deactivated it. It causes a number of validation errors on amp pages when the plugin is activated that are not stripped by your amp plugin like most other errors are. It seems like it is completely bypassing your sanitation of the amp pages and loads iframes and other incompatible code. Actually this happens if I just add the Facebook pixel code in manually as well and not through the plugin.
Forum: Plugins
In reply to: [AMP] add custom CSS in amp paired modeThanks, this is what worked for me. Also I figured out I had to flush my redis object cache to see the changes. This would be a great option to add to the plugin, just a dialog to enter some amp only css rules.
add_action( 'wp_enqueue_scripts', function() { if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) { wp_register_style( 'amp-style', get_stylesheet_directory_uri() . '/amp-style.css'); wp_enqueue_style( 'amp-style' ); } } );- This reply was modified 7 years, 2 months ago by rsmith4321.
Forum: Plugins
In reply to: [AMP] add custom CSS in amp paired modeI’m also trying to get this to work. I’m using paired mode but I want to override some of my theme styles only on amp pages. I’m using a child theme. Could you please provide an example of registering a stylesheet such as my-amp-styles.css that is placed in the same directory as the child theme’s style.css. I can’t seem to get it to work. Thanks!
Forum: Plugins
In reply to: [Autoptimize] Disable on Amp PagesI tried the beta and that seems to have fixed it, thanks!
Forum: Plugins
In reply to: NextGEN Gallery 2.1.54 conflict with Download Manager 2.9.1Same here, the latest version was breaking all shortcodes on my site, it seems to remove anything after an = sign. The previous version fixed the issue.
Yes it breaks the shortcodes on my site as well
Forum: Reviews
In reply to: [WordPress Beta Tester] Cannot Return to Stable Releases….Wow some people should not be beta testing, how many warnings do you need.
Forum: Plugins
In reply to: [W3 Total Cache] CDN and RICG Responsive imagesYes, I stopped using w3tc and have switched to using nginx and redis, it’s much faster. You can see how here https://rtcamp.com/blog/easyengine-3-3-full-page-redis-cache/
Forum: Plugins
In reply to: [W3 Total Cache] Async or Defer JS doesn't work in auto minify mode ?Same here, it doesn’t add the tags.
Forum: Plugins
In reply to: [RICG Responsive Images] CDN Support?I have the same question. Using a cdn with w3tc the original src is rewritten to the cdn but the srcset links are not. It looks like this.
<img width="1199" height="770" src="https://cdn.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-1199x770.jpg" class="attachment-almost-large wp-post-image" alt="Beautiful sky behind couple on walkway over the dunes with some photoshop enhancements" sizes="(max-width: 1199px) 100vw, 1199px" srcset="https://cdn.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-300x193.jpg 300w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-750x482.jpg 750w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-2048x1315.jpg 2048w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-991x636.jpg 991w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-1199x770.jpg 1199w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-100x64.jpg 100w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1-1484x953.jpg 1484w, https://www.ryansmithphotography.com/wp-content/uploads/2015/06/034-beautiful-sky-behind-couple-on-walkway-over-the-dunes-with-some-photoshop-enhancements1.jpg 3000w">Forum: Plugins
In reply to: [ImageMagick Engine] Is this plugin necessary?I still like it because it tells me if the ImageMagik plugin is properly installed and you can easily change quality settings. Besides that I don’t know if it’s needed.