WordPress.org

Ready to get started?Download WordPress

Forums

Tempera
Remove Powered by Tempera & WordPress (22 posts)

  1. moojomoore
    Member
    Posted 6 months ago #

    Hello, how do I remove the Powered by Tempera & WordPress?
    Also, how do I put my copyright information where the "Powered by Tempera & WordPress" is?
    My url is: http://www.upmpullers.com

    I appreciate all help.

  2. nickvandijk
    Member
    Posted 6 months ago #

    Greetings Moojomoore,

    I don't know if the issue is already resolved, but you can change this in the theme-fuctions.php file.

    You can find the following function there.

    function tempera_site_info() {
    $temperas = tempera_get_theme_options();
    foreach ($temperas as $key => $value) { ${"$key"} = $value ; } ?>
    */<span style="display:block;float:right;text-align:right;padding:5px 20px 5px;text-transform:uppercase;font-size:11px;visibility:hidden;">
    <?php _e('Powered by','tempera')?> " title="<?php echo 'Tempera Theme by '.
    'Cryout Creations';?>"><?php echo 'Tempera' ?>
    & "
    title="<?php esc_attr_e('Semantic Personal Publishing Platform', 'tempera'); ?>"> <?php printf(' %s.', 'WordPress' ); ?>

    </span>/*<!-- #site-info -->
    <?php
    } // tempera_site_info()

    You can make the powered by invisible by altering this function by adding visibility:hidden; to the span style,

    or you can change the powered by inside the php tags to whatever you like.

    I hope this information was helpfull to you. I am only a recently started webdeveloper.

  3. berpacheco
    Member
    Posted 6 months ago #

    Thanks nickvandijk this is a very very useful information, VERY GOOD it worked amazing!!

  4. Santoshbchaskar
    Member
    Posted 6 months ago #

    Thank u very @ nickvandijk

    i had a same problem.

    job done.

  5. abdulhaleems
    Member
    Posted 4 months ago #

    Thank u very much nickvandijk

    I had a same issue.

    Solved

  6. salsaturation
    Member
    Posted 4 months ago #

    Please do not edit templates in this way use Child_Themes otherwise your chages will be overwritten by updates.

  7. mulli.bahr
    Member
    Posted 4 months ago #

    Just note that you may comment out the line below:
    //add_action('cryout_footer_hook','tempera_site_info',99);

    Simpler & Safer. However, using child theme & hooks is better.
    In YOUR child functions.php add the following:
    add_action('cryout_footer_hook', 'my_site_info', 99);
    and put into 'my_site_info' function what you will.

  8. moojomoore
    Member
    Posted 4 months ago #

    I tried both "nickvandijk" and "mulli.bahr" solutions and I have not been successful.
    What could I be doing wrong?
    Or did they update something in the theme that would stop this from working?

    Any help is appreciated!

  9. salsaturation
    Member
    Posted 4 months ago #

    Please paste here the code you used form @mulli.bahr solution

  10. thebizconnection1
    Member
    Posted 4 months ago #

    <?php
    /*
     * Functions file
     * Calls all other required files
     * PLEASE DO NOT EDIT THIS FILE IN ANY WAY
     *
     * @package tempera
     */
    
    // variable for theme version
    define ("TEMPERA_VERSION","0.9.9");
    
    require_once(dirname(__FILE__) . "/admin/main.php"); // Load necessary admin files
    
    //Loading include files
    require_once(dirname(__FILE__) . "/includes/theme-setup.php");     // Setup and init theme
    require_once(dirname(__FILE__) . "/includes/theme-styles.php");    // Register and enqeue css styles and scripts
    require_once(dirname(__FILE__) . "/includes/theme-loop.php");      // Loop functions
    require_once(dirname(__FILE__) . "/includes/theme-meta.php");      // Meta functions
    require_once(dirname(__FILE__) . "/includes/theme-frontpage.php"); // Frontpage styling
    require_once(dirname(__FILE__) . "/includes/theme-comments.php");  // Comment functions
    require_once(dirname(__FILE__) . "/includes/theme-functions.php"); // Misc functions
    require_once(dirname(__FILE__) . "/includes/theme-hooks.php");     // Hooks
    require_once(dirname(__FILE__) . "/includes/widgets.php");     // Hooks
    require_once(dirname(__FILE__) . "/includes/ajax.php");     // Hooks
    
    ?>

    This is the only thing that functions.php displays

  11. mulli.bahr
    Member
    Posted 3 months ago #

    Here is a clean solution for the "Remove Powered by Tempera & WordPresstempera" in a child theme.

    Add the following to the functions.php child theme.

    function remove_some_actions () {
       remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 );
    }
    add_action('after_setup_theme', 'remove_some_actions');

    Sorry for my late response.

    If you wish to REPLACE the line then:

    if (remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 ))
          add_action ( 'cryout_footer_hook' , 'my_signature', 99);

    and add your details in your "my_signature" function.

  12. thebizconnection1
    Member
    Posted 3 months ago #

    so i inserted the code `if (remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 ))
    add_action ( 'cryout_footer_hook' , '©2014 City of Fairbury ', 99);` but now if you look it gives a type of error message where the new copyright should go http://0367168.netsolhost.com/tbc3/

  13. thebizconnection1
    Member
    Posted 3 months ago #

    if (remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 ))
    add_action ( 'cryout_footer_hook' , '©2014 City of Fairbury ', 99);
  14. mulli.bahr
    Member
    Posted 3 months ago #

    You get the error because you put a string instead of a function name.
    Instead of '©2014 City of Fairbury '
    You should have:

    add_action ( 'cryout_footer_hook' , 'my_signature', 99);

    and later on

    function my_signature(){
      echo '©2014 City of Fairbury ';
    }

    Let me know if it worked for you.

  15. thebizconnection1
    Member
    Posted 3 months ago #

    awesome that worked now i just have to position it now! Thanks so much!

  16. cathc
    Member
    Posted 3 months ago #

    I want to remove the "Powered by...." line also, in the Tempera (child) theme.
    mulli.bahr says:
    Add the following to the functions.php child theme.

    function remove_some_actions () {
       remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 );
    }
    add_action('after_setup_theme', 'remove_some_actions');

    Now, can you please tell me EXACTLY where to put this into my child theme's function.php ? I don't know php at all, so you if you can really spell it out, I won't have to ask again.

  17. mulli.bahr
    Member
    Posted 3 months ago #

    cathc.
    Just paste those lines into the functions.php file above the line containing ?> at the end.

    If this is not enough, you may call me.

  18. cathc
    Member
    Posted 3 months ago #

    Thanks for replying. So now here is what my functions.php looks like now. I uploaded it to my child theme, mirroring the same place in the directory as the parent theme has its functions.php

    It made my site page go blank.

    <?php
    /*
     * Functions file
     * Calls all other required files
     * PLEASE DO NOT EDIT THIS FILE IN ANY WAY
     * Catherine to remove powered by....
     * @package tempera
     */
    
    // variable for theme version
    define ("TEMPERA_VERSION","1.0.0");
    
    require_once(dirname(__FILE__) . "/admin/main.php"); // Load necessary admin files
    
    //Loading include files
    require_once(dirname(__FILE__) . "/includes/theme-setup.php");     // Setup and init theme
    require_once(dirname(__FILE__) . "/includes/theme-styles.php");    // Register and enqeue css styles and scripts
    require_once(dirname(__FILE__) . "/includes/theme-loop.php");      // Loop functions
    require_once(dirname(__FILE__) . "/includes/theme-meta.php");      // Meta functions
    require_once(dirname(__FILE__) . "/includes/theme-frontpage.php"); // Frontpage styling
    require_once(dirname(__FILE__) . "/includes/theme-comments.php");  // Comment functions
    require_once(dirname(__FILE__) . "/includes/theme-functions.php"); // Misc functions
    require_once(dirname(__FILE__) . "/includes/theme-hooks.php");     // Hooks
    require_once(dirname(__FILE__) . "/includes/widgets.php");     // Hooks
    require_once(dirname(__FILE__) . "/includes/ajax.php");     // Hooks
    
    function remove_some_actions () {
       remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 );
    }
    add_action('after_setup_theme', 'remove_some_actions');
    ?>
  19. mulli.bahr
    Member
    Posted 3 months ago #

    I think that all you need in your functions.php is the following:

    <?php
    function remove_some_actions () {
       remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 );
    }
    add_action('after_setup_theme', 'remove_some_actions');
    ?>
  20. cathc
    Member
    Posted 3 months ago #

    That worked! Thanks very much.

  21. ppypants34
    Member
    Posted 3 months ago #

    Awesome, very helpful. It took me forever to find this forum though :/ I need to spend more time in here. I was having this trouble with my http://heroknives.com/collections/all">knife store

  22. pranan6
    Member
    Posted 1 month ago #

    Thanks mulli.bahr :)

    a great help ever.

Reply

You must log in to post.

About this Theme

About this Topic