Viewing 15 replies - 1 through 15 (of 18 total)
  • 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.

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

    Thank u very @ nickvandijk

    i had a same problem.

    job done.

    Thank u very much nickvandijk

    I had a same issue.

    Solved

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

    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.

    Thread Starter moojomoore

    (@moojomoore)

    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!

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

    <?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

    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.

    if (remove_action( 'cryout_footer_hook' ,'tempera_site_info' ,99 ))
    add_action ( 'cryout_footer_hook' , '?2014 City of Fairbury ', 99);

    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.

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

    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.

    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.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Remove Powered by Tempera & WordPress’ is closed to new replies.