onetone_back_to_top

Back to top.

Description

onetone_back_to_top(); 

Usage

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

Defined (1)

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

/includes/theme-functions.php  
  1. function onetone_back_to_top() { 
  2.  
  3. $back_to_top_btn = onetone_option("back_to_top_btn"); 
  4. if( $back_to_top_btn != "hide" ) { 
  5. echo '<a href="javascript:;"> 
  6. <div id="back-to-top"> 
  7. <span class="fa fa-arrow-up"></span> 
  8. <span>'.__("TOP", "onetone").'</span> 
  9. </div> 
  10. </a>';