responsive_mobile_upgrade_bar

Theme options upgrade bar.

Description

responsive_mobile_upgrade_bar(); 

Usage

  1. if ( !function_exists( 'responsive_mobile_upgrade_bar' ) ) { 
  2. require_once '/includes/functions-theme-options-page.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = responsive_mobile_upgrade_bar(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/functions-theme-options-page.php  
  1. function responsive_mobile_upgrade_bar() { 
  2. // @TODO Update to new theme upsell structure 
  3. ?> 
  4.  
  5. <div class="upgrade-callout"> 
  6. <p><img src="<?php echo get_template_directory_uri(); ?>/core/images/chimp.png" alt="CyberChimps"/> 
  7. <?php printf( __( 'Welcome to %s!', 'responsive-mobile' ),  
  8. 'Responsive II' 
  9. ); ?> 
  10. <?php 
  11. if ( ! class_exists( 'cyberchimpsoptions' ) ) { 
  12. printf( __( 'Go Pro with the %s! - Get 30%% off using <span style="color:red">PROPLUGIN30</span>', 'responsive-mobile' ),  
  13. '<a href="http://cyberchimps.com/store/pro-features/" target="_blank" title="Pro Features Plugin">Pro Features Plugin</a> ' 
  14. ); 
  15. ?> 
  16. </p> 
  17.  
  18. <div class="social-container"> 
  19. <div class="social"> 
  20. <a href="https://twitter.com/cyberchimps" class="twitter-follow-button" data-show-count="false" data-size="small">Follow @cyberchimps</a> 
  21. <script>!function (d, s, id) { 
  22. var js, fjs = d.getElementsByTagName(s)[0]; 
  23. if (!d.getElementById(id)) { 
  24. js = d.createElement(s); 
  25. js.id = id; 
  26. js.src = "//platform.twitter.com/widgets.js"; 
  27. fjs.parentNode.insertBefore(js, fjs); 
  28. }(document, "script", "twitter-wjs");</script> 
  29. </div> 
  30. <div class="social"> 
  31. <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fcyberchimps.com%2F&send=false&layout=button_count&width=200&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe> 
  32. </div> 
  33. </div> 
  34. </div> 
  35.  
  36. <?php