Custom Wordpress PHP function and shortcode

Need to add a function to [login to view URL] that replaces a variable in a script and replaces it with one from the URL string. Then I need a shortcode to utilize that fucntion in building a page.

The URL format would be

I have a start on the function here, but it needs a few more additions, and proper syntax at the start (needs function name, etc).

I want to add to the function an input that lets me put a fallback ID in the shortcode in case there is no custom ID found in the URL query (so the video embed does not come back empty).

/* This function dynamically replaces wistia_id with variable from URL*/

var $wistia_id = htmlspecialchars($_GET["wistia_id"]);
echo ' <script src="'.$wistia_id.'.jsonp" async></script><script src="" async></script><div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;"><div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;"><div class="wistia_embed wistia_async_'.$wistia_id.' videoFoam=true" style="height:100%;position:relative;width:100%"><div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="'.$wistia_id.'/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload=";" /></div></div></div></div>';


Habilidades: PHP, Arquitetura de software

Veja mais: need help building wordpress site, need help building a website on wordpress, help with building custom wordpress website, wordpress custom shortcode plugin, how to use shortcode in wordpress page, wordpress shortcode tutorial, do_shortcode in functions php, how to create custom shortcode in wordpress, wordpress create shortcode with parameters, wordpress shortcode example, wordpress shortcode php, php, wordpress, hello i obtained nulled a script using php, wordpress breadcrumb function custom post types, custom wordpress theme individual developer php ajax, call php function wordpress, need custom wordpress plugin, need someone custom wordpress theme, need custom wordpress theme

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #17333682

Concedido a:


Hi there, I am expert with wordpress code level customization. I can easily build shortcode that you are looking for. Some of my recent successful projects:- [login to view URL] ( Stress Reduction ) http:// Mais

$30 USD em 1 dia
(65 Comentários)

23 freelancers estão ofertando em média $36 para esse trabalho


I have gone through your requirements and I will do your website perfectly and according to your requirements. [login to view URL] [login to view URL] [login to view URL] I have 5+ Mais

$40 USD in 0 dias
(120 Comentários)

Hi, I'm a full-stack developer with more than 10 years of work experience. Expert in BOTH Backend and Front-end Programming, PHP - OOP, MVC, REST API, HTML/CSS/JAVASCRIPT, Wordpress Theme Integration, Woocommerce Mais

$25 USD em 1 dia
(97 Comentários)

"Custom Wordpress PHP function and shortcode" Please check the work below :-- Wordpress: [login to view URL] [login to view URL] [login to view URL] [login to view URL] | [login to view URL] Mais

$25 USD em 1 dia
(10 Comentários)

Hello, Greetings of the day!! I have read your job description and I am available to work on this assignment. I'm proficient in Wordpress, Html, Css and Php and can do this job efficiently. Lets discuss in d Mais

$25 USD em 1 dia
(30 Comentários)

I am a experienced developers & designer.I have great skills in the areas of Wordpress, Drupal .NET, PHP HTML,Javascript, MYSQL and Photoshop. I am looking for long term relationships with you that is why working at ve Mais

$50 USD em 1 dia
(49 Comentários)

Greetings of the day, I have a Web development expert with over 5 years experience in setup and customization of WordPress, wooCommerce, and other platforms. Till date, I have created over 300+ websites, most of whi Mais

$30 USD in 2 dias
(27 Comentários)

Hi, It is my great honor to work on your project. I have all skills and experience for which you are looking for. Yes, I can do it. Expert in Wordpress and its plugins. My relevant skills for the project and Mais

$66 USD in 3 dias
(35 Comentários)

Hi, I have read your project description this will be done in your required time spam with 100% Satisfaction. Kindly message me so we can discuss in detail over chat...... Some of my skills are mentioned below: HTML5 Mais

$25 USD em 1 dia
(10 Comentários)

Thank you for posting a Job. I WILL DO THIS AS PER YOUR REQUIREMENT AND EXPECTATIONS. With the experience of over 300+web development projects including ANDROID, IOS, WEBSITES, WEB APPLICATIONS AND SOFTWARE Mais

$25 USD em 1 dia
(3 Comentários)

Hello, i have read your requirement and i am interested in your job. I will create a function which will get value from the URL and pass to the function. I will also create a shortcode of that function. I have 5+ ye Mais

$25 USD em 1 dia
(17 Comentários)

Dear Hiring Manager, I had a look at your given job post and came to know that you are looking for a Website developer to build a unique website as per your requirement. I have 5 years of experience in especiall Mais

$10 USD em 1 dia
(10 Comentários)

Hello sir we have a good technical team. we have 7yr experience in laravel, wodpress, wodpress plugin deveopment, core php, . we work so less cost as per client wish. just you hire and test us thanks

$15 USD em 1 dia
(9 Comentários)

Look, I dont understand anything but I can do it :D perhaps, it seems something I understood but I really not sure what you really want. Can you tell me detailed, please? Best regards, Ivan N. P.S. Just finished Mais

$25 USD em 1 dia
(4 Comentários)

I am enthusiastically writing in response to your advertisement for the position of a Web Designer and developer. As a creative-minded designer/developer with over five years of functional web designing experience, I a Mais

$30 USD em 1 dia
(4 Comentários)

Hi There ! I have read your description and can work on your project with in this budget and time frame. To see my previous Work and Reviews please visit my profile You can text me here to discuss more abou Mais

$25 USD in 4 dias
(7 Comentários)

It is undeniable that a website/ mobile application is indispensable in this day and age. The emergence of the Internet era you with the opportunity to expand its reach to its target audience as well as serve its exist Mais

$15 USD in 2 dias
(4 Comentários)

Hello there! I am interested to work on your [login to view URL] file. Please explain more in details. I am Vrajesh. I have total 4 years of experience in wordpress. You can have a look my works : https://www.s Mais

$14 USD in 3 dias
(4 Comentários)
$25 USD em 1 dia
(0 Comentários)

I strive to offer WordPress solutions that are compatible with all business models and industry verticals. I provides WordPress CMS development, plugin development, theme customization and maintenance services, backed Mais

$222 USD em 1 dia
(0 Comentários)

I can do this easily. I have done this types of works many times for my websites.

$15 USD in 2 dias
(0 Comentários)