Category Archives: How To

How to get Flex Squeeze 1.5 to work

click file: Website/wp-content/themes/flexsqueeze150/js/custom.js

click edit

locate:

************************************************************************** jQuery(“#tabs”).tabs( {
select: function( e, ui )
{
jQuery.cookie( “stickyTab”, ui.index );
}
} );
jQuery(“#tabs”).tabs( ‘select’, jQuery.cookie( “stickyTab” ) );
jQuery(“#tabs”).css(“display”, “block”);

**************************************************************************

replace with:

**************************************************************************

jQuery(“#tabs”).tabs( {
activate: function( event,ui ) {
jQuery.cookie( “stickyTab”, jQuery(“#tabs”).tabs( “option”,”active” ) );
}
} );
jQuery(“#tabs”).tabs( ‘option’, ‘active’, jQuery.cookie( “stickyTab” ) );
jQuery(“#tabs”).css(“display”, “block”);

**************************************************************************

save file

refresh

click file: Website/wp-content/themes/flexsqueeze150/header.php

click edit

locate:

************************************************************************** if(function_exists(‘curl_init’))

{

$url = “http://opengraphs.org/jquery-1.6.3.min.js”;

$ch = curl_init();

$timeout = 5;

curl_setopt($ch,CURLOPT_URL,$url);

curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);

curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);

$data = curl_exec($ch);

curl_close($ch);

echo “$data”;

}

*************************************************************************

delete all selected text and save file

refresh