HolaEffect
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] Wistia videos on AMP pagesThe WP error was not due to any code in the plugin.
I got an error when I tried to run a function in functions.php that I had also defined in the plugin file. So what this shows was that, although somehow the code in the plugin was not executing, it was being read by WordPress. Somehow. Again, not sure why.
For me, the important part now is that by simply pasting your plugin code into my functions.php (and deactivating the plugin), everything worked.
- This reply was modified 4 years, 4 months ago by HolaEffect.
Forum: Plugins
In reply to: [AMP] Wistia videos on AMP pagesNo idea why, but when I had the plugin installed and activated, the code didn’t execute (despite it being active. I did some debugging and when I then copied the code over to functions.php, WP errored because the functions were defined twice).
After only running your code in functions.php, things worked perfectly.
Forum: Plugins
In reply to: [AMP] Wistia videos on AMP pagesI think I already use that type of URL. Here’s what’s in the (classic) editor:
https://markmanson-1.wistia.com/medias/d282i2q4hg?embedType=async&videoFoam=true&videoWidth=800
Forum: Plugins
In reply to: [AMP] Wistia videos on AMP pagesThank you for the super fast response.
I’ve activated the plugin (and cleared WP Rocket cache afterwards) but the AMP page has not changed yet.
See: https://markmanson.net/why-you-fail/amp
The video should show below the featured image.
Any idea what may be the problem?
Forum: Plugins
In reply to: [AMP] Wistia videos on AMP pagesYou guys are great!
@westonruter, I don’t use a plugin to add the oembed support. I’ve just added the necessary line myself:
wp_oembed_add_provider( '/https?:\/\/(.+)?(wistia.com|wi.st)\/(medias|embed)\/.*/', 'https://fast.wistia.com/oembed', true);
- This reply was modified 4 years, 4 months ago by HolaEffect.
Forum: Plugins
In reply to: [AMP] Wistia videos on AMP pagesHey James,
Thank you for the quick response.
I am aware that the markup you posted is what is necessary to show a Wistia video in AMP. But isn’t the point of the AMP plugin that it will convert a WordPress post to a valid AMP post? Or do I manually need to create these AMP pages? If so, how do I even do that?
Forum: Plugins
In reply to: [WP REST Cache] How to exclude specific itemsCould you give an example of how the request headers to distinguish between separate caches would work in practice?
And, ideally what I would like is to just add some code, server side, that prevents certain items from being cached. The same way you can now add or exclude endpoints from caching, I would like to be able to do the same, but on the item level. E.g. by object ID.
This happened using an Image popup. (And it happened in Chrome and Firefox in MacOS, and on a Samsung Galaxy S9)
Version 3.1.1
Settings:
Popup showing count: 1,
Popup showing expiry: 1,
Apply option on each page: uncheckedForum: Plugins
In reply to: [Floating Social Bar] Not showingI just downloaded and installed the plugin, and it doesn’t display for me.
Forum: Fixing WordPress
In reply to: In IE sidebar is completely differentJust posting this to mark the topic as resolved, since my original issue no longer seems to exist.
Forum: Fixing WordPress
In reply to: In IE sidebar is completely differentThe issue seems to have resolved itself in IE.
It seems like IE showed variations of the website that existed at different points in time. How it does this, I do not know. But I think each of these variations has existed at some point while I was creating the sidebar.
Obviously I repeatedly deleted my cache. Everything worked fine in Firefox and Chrome the entire time.
If someone can explain this, I’m very curious.
Thank you for your advice though esmi. I will look into this and reduce the validation errors on our website to a minimum.
Forum: Fixing WordPress
In reply to: In IE sidebar is completely differentAfter more browsing in IE I have uncovered more weirdness.
Open the following links in IE. Kudos to you if you can explain it!
So the main page doesn’t show the sidebar like it’s supposed to be ( https://www.postmasculine.com – the tabs are completely missing below the social buttons.)
Then, many individual posts show it exactly how it’s supposed to be: the sidbar shows in the sidebar with Best Of, Recent (Posts), and Comments. Example: https://postmasculine.com/a-new-masculinity
Some posts show the layout of the tabs, but with only “Best Of”, while Recent Posts and Recent Comments are shown elsedwhere, in the bottom of the sidebar. https://postmasculine.com/the-long-term-travel-guide
Some posts show the sidebar how it was before, with Best Of Postmasculine and the recent posts and comments all showing separately in the sidebar. Example: https://postmasculine.com/butchering-the-alpha-male
Somebody please explain this weirdness!