1. Please create a child theme http://codex.wordpress.org/Child_Themes if you won’t lose your modified code. Then, add the following code into the functions.php
functions rumput_hijau_remove_title() {
remove_action( 'rumputhijau_header', 'rumputhijau_header_content' );
}
add_action( 'init', 'rumput_hijau_remove_title' );
2. Yes, I decided to remove it. Please just use another social share plugin 🙂
Thread Starter
nutsac
(@nutsac)
Thank you. One more quick question, please.
I want to add the Facebook social plugins back where they were previously (on the left sidebar), or possibly at the top of a post (under the title). Can you please tell me which file to edit, and where in the code? I assume it is single.php, but am not sure.
Thanks very much!
Thread Starter
nutsac
(@nutsac)
Hi,
One more thing. Sorry. I am receiving the following function error in my child function.php:
Parse error: syntax error, unexpected T_STRING in /home/wingnutb/public_html/blog/wp-content/themes/rumput-hijau-child/functions.php on line 3
I cut and pasted the code as you provided. Here is a copy of my functions.php child. Note that I’ve removed the file for now to restore my site.
<?php
functions rumput_hijau_remove_title() {
remove_action( 'rumputhijau_header', 'rumputhijau_header_content' );
}
add_action( 'init', 'rumput_hijau_remove_title' );
?>
thanks
Hi,
Sorry for the delay, please add the file again and give your site url with the admin account, I need to check it. You can send it on http://satrya.me/contact