Vimeo video play button color function

I did a couple of things to fix this issue… I added a function that adds a class to my Vimeo iFrame: https://wp-time.com/add-custom-class-to-wordpress-iframe-video/ function video_class($html) { if (preg_match(‘/(vimeo.com)/’, $html)) { return str_replace(‘<iframe’, ‘<iframe class=”video”‘, $html); } else { return $html; } } add_filter(’embed_oembed_html’, ‘video_class’, 99, 4); I implemented some JS to change the properties of … Read more

WordPress rewrites my link with custom URL scheme to http(s)

I think your problem is that an HTML page is a single point of reference. Swift allows you to define that custom URL in your app ( https://www.hackingwithswift.com/example-code/system/how-to-make-your-app-open-with-a-custom-url-scheme) but WordPress rewrites itself and all sub-pages, api etc. to the URL defined in the database options. So, short answer, you can’t do that. If you were … Read more

Short website link for all post

The the easiest way to create shortlink is by using Jetpack Plugin developed by Automatic guys. This plugin comes with a lot of modules one of them is wp.me shortlink, which will give you the ability to create shortlink for any page/post/custom post in your site. it will be like http://wp.me/QhtyJu, but if you want … Read more

I’ve been trying for an hour to remove the underline from links; I don’t understand why something that should be so simple is so difficult [closed]

Something like this should work; but without being able to see your markup, it’s hard to know for sure. a, a:hover, a:focus, a:active { text-decoration: none; } And while I typically try to stay away from !important, sometimes it comes in handy. I’ll let you be the judge for your project on whether or not … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)