dimitrilongo

get_rocket_cdn_url() example

Jul 25th, 2015
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <div class="uk-width-medium-1-2">
  2.     <?php if ( function_exists ( 'get_rocket_cdn_url' ) ) { ?>
  3.         <img alt="rédaction professionnelle" src="<?php echo get_rocket_cdn_url ('https://francecopywriter.fr/wp-content/themes/redacteur-web/images/redaction-professionnel.jpg'); ?>" width="450" height="350">
  4.     <?php } else { ?>
  5.         <img alt="rédaction professionnelle" src="https://francecopywriter.fr/wp-content/themes/redacteur-web/images/redaction-professionnel.jpg" width="450" height="350">
  6.     <?php } ?> 
  7. </div>
Advertisement
Add Comment
Please, Sign In to add comment