Media previews on posts
Firstly a quick disclaimer - I'm fairly inexperienced when it comes to WordPress. I'm a programmer by profession but don't work with PHP or wordpress a lot.
I've just done a theme change on a blog that is linked to our actual site - for a number of reasons.
Anyway - the old theme had a preview if there was media from SoundCloud or Youtube (and probably other media platforms) with custom tags, eg:
[soundcloud url="https://api.soundcloud.com/xyz" width="100%" height="450" iframe="true" /]
<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/xxx"></iframe>
Would appear in the post preview as a soundcloud embed item with the post's text below it.
However, on the new theme the previews don't appear, and when open the single post version of the posts there is also no play option of the media.
The old theme was Blogoma and the new one is Radiate (the free version).
Okay so I figured out what was happening - either the new theme or an unintentional wordpress update, lead to media links being handled differently. My new theme now only needs the URL - no shortcodes or iframes - and it seems to automatically process it to display how it used to display them.
Only issue with this is that the old posts have to be edited to reflect the change.
Doing context-aware previews in the WordPress Customizer
Initially I was using active_callback to make my Customizer controls contextual in nature, and was satisfied with the kind product I had with it. But then I cam across this article about Content-aware previews in Customizer. It is awesome. In that article, the author has used his own plugin to get the page value. I got everything from the JavaScrip...
Blog previews on custom page with more buttons
I currently have a page on my websites called blog where I'm directing blog posts to be previewed, however, I'm trying to achieve a centered preview with a 'more' button like this: Is there a preferred plugin to achieve this, or certain settings I should change? I like the right hand widget area too but I just can't find the plugin that may be doin...
All in one calendar month view previews don't hide
I am using the all in one calendar. When I am in month view I can hover over items to get a preview of the event details. When I move my mouse away, or hit esc, or click away, no matter what I try, the preview remains. This is annoying since the preview can cover up other days. Does anyone know how to fix this? Here's a screenshot. Note how the pre...
Wordpress allow previews outside wordpress folder
I have a file structure like I am using wp-load.php to load wordpres and using its contents. I am able to recive published posts with no problem, I even know how to make query for previews but when preview get parameters comes to the script outside the wordpress folder (custompreview.php) obviously the wp-load.php calls exit and shows only access e...
Create oembed previews for my selfhosted WP?
I have a simple WP instance running on a vhost system. I always wondered why there is no preview when I share a link of my articles e.g. at facebook. I read that WP has oEmbed support, so I'm confused, because there is no line at the final resulting HTML source ... More confused, because it seems that you can just get your previews of you join the ...
Wordpress webp image previews
I have updated wordpress using the following code to allow for webp uploads, Which works great, but the webp images do not show a preview in the media selector, as shown Is there anyway I can force wordpress to render webp previews? By the time my site is done, it could potentially have hundreds of webp images, not being able to see them when selec...