Modify a PHP condition into a Javascript condition in a WordPress plugin

I have a WordPress popup plugin, that checks the cookie with PHP. It is not a cache proof solution, so I want to change the PHP check to a Javascript check to make it compatible with all server side caching methods.

I need simple, clean code with the coding standards.

The plugin itself is already done, it can be found in the official WordPress repo. So the task is only this modification.

I have attached the file, that contains the php condition. It can be found in the surbma_yes_no_popup_block function.

I need somebody, who can use Git. You can fork my repo, make the changes and send a pull request, so I can check all the changes.

Taidot: Git, Javascript, PHP, WordPress

Näytä lisää: C++ , Java, C , Web , PHP , Javascript , wordpress, C++ , Java, C , Web , PHP , Javascript , wordpress , Android, iPhone , Object C , Open CV, Open GL, turn php script wordpress plugin, wordpress is blog page, wordpress is_post, wp_localize_script wordpress, wordpress pass javascript variable to php, wordpress if is page, wordpress if post id, wordpress if else, wordpress conditional, php, html, website design, wordpress, javascript, php database wordpress plugin, custom php modification wordpress plugin, convert php project wordpress plugin, encrypt php file wordpress plugin

Tietoa työnantajasta:
( 2 arvostelua ) Pécs, Hungary

Projektin tunnus: #14969316

Myönnetty käyttäjälle:


Hello. Wordpress development expert ready to help you with plugin customization. I have more 400 good reviews so all will be done on highest level. Price can be discussed to fit your budget More 7 years of WP full sta Lisää

$25 USD 1 päivässä
(497 Arvostelua)

23 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


let's do it i will all js script as you need of will remove php condition , please open chat window for more details Thanks Keshav Kalra

$29 USD 1 päivässä
(196 arvostelua)

A proposal has not yet been provided

$30 USD 1 päivässä
(577 arvostelua)

Dear Client , We are Really interested to do work with you , We are Web & Software development company having more than 6 year experience in Software development we totally committed to quality service, Transparen Lisää

$50 USD 1 päivässä
(105 arvostelua)

Dear Sir. I had read your descriptions about project. Kindly give me a chance, i would like to discuss more about project and sure everything clear. I am a developer very strong in below skills. + Core: Php, Ruby, J Lisää

$55 USD 1 päivässä
(190 arvostelua)

Hi Let's clarify the requirement in details also if you want us to share our previous work let us [login to view URL] have a few questions about your project, please send us message so that we can discuss more. Thanks & regards Lisää

$30 USD 2 päivässä
(173 arvostelua)

hello sir i am expert in wordpress and javascript i have 5 year experience in this field you will satisfy with my work i can do this work asap thank you

$20 USD 1 päivässä
(165 arvostelua)
$30 USD 0 päivässä
(133 arvostelua)

A proposal has not yet been provided

$30 USD 1 päivässä
(85 arvostelua)

Dear Hiring Manager, I read your job desciption and I am confident that I can exceed your expectations. I am a professional programmer on PHP+MySQL+WordPress. Here are few recent work for website development : Lisää

$25 USD 1 päivässä
(26 arvostelua)

Hi, I have review project details and would like to discuss with you regarding the [login to view URL] let me know when you are available. Thankyou.

$96 USD 4 päivässä
(16 arvostelua)

Hi greetings of the day I am a Experienced PHP Developer based out in Chennai,India. My experience revolves around development of web and mobile applications,Ecommerce websites. I believe that I am well qualified to un Lisää

$30 USD 1 päivässä
(57 arvostelua)

Hello Sir, I have properly gone through your job description and understood your requirements. I'm very eager to work on this project. I'm very skilled and expert on Web development, Graphics design, Content writ Lisää

$25 USD 1 päivässä
(7 arvostelua)

Hi, Greetings of the Day! As we are a team of 20+ professionals for IT Services like- Website Designing and Development, Graphic Designing services. We can offer you our several years of experience in Website Des Lisää

$30 USD 1 päivässä
(19 arvostelua)

sir, I am a wordpress expert I will develop as your requirement or instruction. I can develop any type of website by wp. my wp url [login to view URL]

$25 USD 1 päivässä
(16 arvostelua)

Hello, I have understood your project description, stating that, the PHP check needs to be changed to a Javascript check, in order to make it compatible with all server side caching methods, on WordPress popup plugi Lisää

$30 USD 2 päivässä
(21 arvostelua)

hi there, thanks for looking at my candidature. yes I can do this I have more than 5 years of experience in WordPress, PHP, JavaScript etc. thanks

$30 USD 2 päivässä
(12 arvostelua)

EXPERT WORDPRESS DEVELOPER WITH 5+ YEARS EXPERIENCE Dear hiring manager, I have experience in the following: HTML, PHP, CSS, Javascript, wordpress,woocommerce, stripe integration, xml, j-query, plugin creation and Lisää

$30 USD 1 päivässä
(12 arvostelua)

Hello, I am WordPress expert and can Modify a PHP condition into a JavaScript condition in a WordPress plugin. I can start right now and finish it ASAP. Lets talk more on chat for detail discussion. Thanks

$30 USD 1 päivässä
(4 arvostelua)

I'm interested and ready to start,lets discuss with details. Relevant Skills and Experience Please visit our profile and see our project reviews [login to view URL]~0103eb937cc8f07757

$25 USD 1 päivässä
(3 arvostelua)
$30 USD 1 päivässä
(0 arvostelua)