Shivy23
Forum Replies Created
-
Thanks. The “Reset indexables & migrations” option in the helper plugin solved the issue.
- This reply was modified 5 years, 10 months ago by Shivy23.
Forum: Plugins
In reply to: [Super Page Cache] AMP supportOkay, sounds great. I’ll be looking forward to it
Forum: Plugins
In reply to: [AMP] Error in Inline ImagesInstalled the version 1.5.2 update and removed the AMP Optimizer disabler script you shared. The page is now passing AMP validation.
Thank you for the quick fix.
Forum: Plugins
In reply to: [AMP] Error in Inline ImagesThat’s great news! Unfortunately, I can’t test it since the plugin is managed by WordPress.com on my site.
Forum: Plugins
In reply to: [AMP] Error in Inline ImagesThanks for the code to disable AMP Optimizer, it worked.
Forum: Plugins
In reply to: [AMP] Error in Inline ImagesGSC indicates the following two code blocks as errors:
<img alt="" aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;charset=utf-8,<svg height="906" width="1164.0451693852" xmlns="http://www.w3.org/2000/svg" version="1.1"/>"></i-amphtml-sizer><img alt="" aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;charset=utf-8,<svg height="938" width="1333.8226950355" xmlns="http://www.w3.org/2000/svg" version="1.1"/>"></i-amphtml-sizer>- This reply was modified 6 years, 1 month ago by Shivy23.
Forum: Plugins
In reply to: [AMP] Error in Inline ImagesIt’s not only the AMP validator. Google Search Console is also reporting the same error on all pages with inline images on the site.
GSC shows the following error for the page:
Disallowed attribute or attribute value present in HTML tag.
I’ll disable the optimizer for the time being, but that will disable the new AMP SSR thing as well, right?
Forum: Plugins
In reply to: [LiteSpeed Cache] Integration with Stackpath CDN APILSCache stores cached pages on my origin server. With Stackpath “URL caching” I can store cached pages on the CDN directly. Two very different things.
Anyway, looking forward to advanced CDN features in LSCache.
Thanks for replying back.
Yes, of course. Unfortunately, I couldn’t find the correct filter I need to use to show ad only a particular post type.
Ah, no. I spoke too early. This code is displaying the ad block on all post types, not just the one I want it to show up for.
I tried this:
<?php if (how_to) { ?> AD CODE <?php } ?>Cool, this worked! Many thanks 🙂
That code will show the ad exactly where I place it inside the php file, right? That’s not what I’m looking for.
My need is that I’ve a custom post type registered as “how_to” on my site. And I want to show an Ad right before a paragraph containing the word “Step 1” on this custom post type only.
It would have been simple if there was an option to select post type for an ad block.
With my minimum knowledge of PHP, I tried the code below with a fail:
<?php if ( is_singular( 'how_to' ) ) { ?> // Ad Code <?php } ?>Hope my problem is pretty clear now.
Oh, I meant to say a custom Post Type.
Forum: Plugins
In reply to: [WordPress Infinite Scroll by Auto Load Next Post] Support for Hoffman themeOkay. Well, if possible, could you give a rough code that’ll at-least start the auto load on Hoffman. I’ll then address the complexity of styling it accordingly for the theme.
Let me know.
Forum: Fixing WordPress
In reply to: HTTP Error during Picture Uploads in Version 3.3.1@ftsakonitis thanks a ton for the tip, man. I didn’t had the “MaxRequestLen” line in the fcgid.conf file on my server, so I added it by myself as “FcgidMaxRequestLen 15728640”.
..and it worked, thanks again 🙂