WordPress.org

Ready to get started?Download WordPress

Forums

Rumput Hijau
Remove Title / Tagline and Share buttons (5 posts)

  1. nutsac
    Member
    Posted 1 year ago #

    Hi,

    I love this theme and have been using it since 1.18. I just updated the theme to 1.5 and noticed two things.

    1. The title and tagline now show above my header image. I had removed this in my 1.18 version, and would like to know the best way to keep this from showing up in 1.5?

    2. The Share buttons for Facebook, twitter, etc. have disappeared. Do I have to add these by hand using a widget in the current version?

    You can see the site in action at: http://www.nutsacbags.com/blog/

    Thanks very much!
    ~greg

  2. Satrya
    Member
    Theme Author

    Posted 1 year ago #

    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 :)

  3. nutsac
    Member
    Posted 1 year ago #

    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!

  4. nutsac
    Member
    Posted 1 year ago #

    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

  5. Satrya
    Member
    Theme Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.