Lukket

Hide-shortcode based on iframes.

Right now, i use this code to redirect user to google in this example case, if this site is not visited via a iframe and if he is not from those domains entered:

<?php add_action( 'wp_head', function () { ?> <script> const allowedDomains = ['[login to view URL]', '[login to view URL]','[login to view URL]']; if ([login to view URL]([login to view URL]('/')[2]) === -1) { [login to view URL] = '[login to view URL]'; } </script> <?php } );?>

But I would love to have a shortcode to load content (for example mycred-shortcodes) based on iframe parent. e.g.:

Hello Only show [show_if_iframe domains="[login to view URL], [login to view URL], [login to view URL]"]CONTENT[/show_if_iframe] based on iframe.

Please make sure, it's not a "display:none", but a function, to do not load those content. as i know from the [hide for="logged"] and the [mycred_show_if]-Shortcodes. Here content is not hidden. It's not loaded, wenn those conditions do not match.

If user uses iframes and the domains, this shall be loaded based on example above:

-Hello Only show CONTENT based on iframe.

This shall be loaded, when user do not load this site via i frame

-Hello Only show based on iframe. (CONTENT is missing in will not be loaded)

Evner: PHP, WordPress, Javascript, HTML, CSS

Se mere: javascript hide row based drop menu, ajax based ebay category display, hide paragraph based url parameter, javascript hide rows based field value, hide div based condition jsp, based scrolling message display, excel hide rows based cell value, pic based ups lcd display, hide shortcode css, based scoreboard led display, hide div based content, led display mfc com, show hide rows based data, mvc4 show hide control based, crm 2011 javascript hide field based field, https www freelancer com hire online data entry t e&utmexpid 294858 381 lbd4 isbtpojj5r5owuh0g 1&gclid ckb gpj0 ckcfu4faaodhe4k, display freelancer com profile, https accounts google com servicelogin service blogger&continue https 3a 2f 2fwww blogger com 2fhome&passw mario teguh's super g, https www freelogoservices com es business cards step3 parent 55678670 lastsave 8b417be74dabbb29cd638a36e7c21479, please make sure that you have carthage installed https github com carthage carthage

Om arbejdsgiveren:
( 7 bedømmelser ) Geilenkirchen, Germany

Projekt ID: #21823662

23 freelancere byder i gennemsnit €148 på dette job

TakeReal

Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as an experienced WordPress programmer to create "show_if_iframe" with "domains" parameter and make it working properly. 20 Flere

€100 EUR på 1 dag
(1924 bedømmelser)
8.2
uhjk

Hello, you have those example domains or no? If you own them, it's better to add some query vars and check with php.

€150 EUR in 2 dage
(978 bedømmelser)
8.3
Risalat1

Ready to work with you, could you please send me some more details about your project so we will estimate it accordingly....

€120 EUR in 3 dage
(457 bedømmelser)
8.1
petermyvw

Let me develop this shortcode for you as I have experience modifying WordPress plugins & themes via jobs here at freelancer.com. I'll make sure said shortcode will deliver the following (quoting your words) : If user Flere

€99 EUR in 3 dage
(226 bedømmelser)
7.5
shayona163

hello sir i am expert in wordpress and woocommerce i have 6 year experience in this field you will satisfy with my work i can start work right now see below i did work with that [login to view URL] https://wordpress Flere

€140 EUR på 1 dag
(213 bedømmelser)
6.9
artistixeit

Hello, Greetings! It gives me great pleasure to send a proposal of appreciation to the A devoted client like you. Please check our work below:- Wordpress: [login to view URL] [login to view URL] https://itil.z Flere

€140 EUR in 7 dage
(18 bedømmelser)
6.6
royalwebraisers

Hi, I can help you in project. To show the content when called using iframe only. Please let me know when we can discuss in more details so that we could proceed further. I do work on following skillsets: php, mysql Flere

€90 EUR in 2 dage
(158 bedømmelser)
6.7
rexjeramey

I have more than 12 years experience. I am ready to provide you my services. I have gone thoroughly your project specification. The requirement is best match with my expertise. I will give you better work then any othe Flere

€140 EUR in 7 dage
(43 bedømmelser)
6.2
techplusintl

Hi there, Greetings from TechPlus! I've reviewed requirements & ready to Hide-shortcode based on iframes. . 8+ Years Expertise in : CMS (Wordpress, Magento, Shopify, OpenCart, Joomla, Drupal, Prestashop) PHP Framew Flere

€140 EUR in 7 dage
(123 bedømmelser)
6.4
Lavlu

Hello Sir, I can read your project description and analyze it. I understand project scope but having few questions that needs to be clear in more detail. Please let me know if we can discuss the requirement over cha Flere

€140 EUR in 7 dage
(41 bedømmelser)
6.9
navjootkaur

Dear Client, I have read your project description. Working with UX/UI methodologies is my passion. I have strong Front End designing & development skills that I have been offering from last 6 years. I have strong HTML Flere

€190 EUR in 7 dage
(138 bedømmelser)
6.2
mobileexpert1235

Hi, Greetings of day! Thank's for providing with an opportunity to bid on your project. After reading your description carefully, I understood your needs exactly. I am an experienced developer. My skills are  : - Bac Flere

€80 EUR in 3 dage
(14 bedømmelser)
5.4
liujianmin

Hi, Glad to apply to your offer. I have gone through your job description in depth, and now I am sure that I can develop what you want exactly to your expectations, OR more. I have been through many frameworks that bo Flere

€140 EUR in 7 dage
(40 bedømmelser)
4.9
alfredwayne

Hello, Greetings of the day! Thank you for taking the time to review my bid. Please come to chat and provide detailed database schematics and functionality so than I can analyze them and get the work started ASAP.=== Flere

€150 EUR in 5 dage
(22 bedømmelser)
5.0
kdwebsolution9

Hello sir, Hope you are doing well. i have 6+ years of experience in WordPress php codeigniter woocommrece html css mysql javascript bootstrap graphic design website design etc. these job suitable for me Kind Rega Flere

€140 EUR in 7 dage
(27 bedømmelser)
4.9
WongGanteng

I'm very happy to bid on your project. I read your description carefully and am very interesting in your project. I can start right now and I can confirm high quality. If you hire me,I will do my best for your job and Flere

€140 EUR in 7 dage
(5 bedømmelser)
4.2
leadingmetier

Hello, I can start work on your project immediately once you confirm me and i am also open for further discussion. I have 7+ years in web designing & development with good experience in following skills ... 1. HTML5 Flere

€250 EUR in 3 dage
(4 bedømmelser)
3.9
monikadevm

I am an expert web designer/developer and have extensive experience in orchestrating the development of simple and complex websites, Wordpress, Elementor, Graphic design,Web design, Logo design,Landing pages, Building Flere

€150 EUR in 2 dage
(19 bedømmelser)
4.4
mrityunjaykr1044

Hello, how are you? I am a senior web full-stack developer and have a rich experience of +8 years with React. After checking your post, I am very interested in your project and can always work full-time for you. -My m Flere

€240 EUR in 7 dage
(9 bedømmelser)
3.7
ChaoTian0109

Hi! My name is Jin Shan. I have been developing IT projects for 7 years and have rich experience in all fields of mobile and website such as E-commerce, Social, Media, Travel, Doctor & Patient. I have read and underst Flere

€250 EUR in 3 dage
(2 bedømmelser)
2.9