optionsframework_admin_head

The ColorWay Theme optionsframework admin head function.

Description

optionsframework_admin_head(); 

Usage

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

Defined (1)

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

/functions/admin-functions.php  
  1. function optionsframework_admin_head() {  
  2.  
  3. //Tweaked the message on theme activate 
  4. ?> 
  5. <script type="text/javascript"> 
  6. jQuery(function() { 
  7.  
  8. var message = '<p>This theme comes with an <a href="<?php echo admin_url('admin.php?page=optionsframework'); ?>">options panel</a> to configure settings. This theme also supports widgets, please visit the <a href="<?php echo admin_url('widgets.php'); ?>">widgets settings page</a> to configure them.</p>'; 
  9. jQuery('.themes-php #message2').html(message); 
  10.  
  11. }); 
  12. </script> 
  13. <?php 
  14.