• Resolved simrahs

    (@simrahs)


    Hi,

    I have installed a new theme Tempera. But at the bottom (footer) does not remove the text: POWERED BY TEMPERA & WORDPRESS…. even trying so many times with display:none etc

    This is the code in footer.php

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the id=main div and all content
     * after.  Calls sidebar-footer.php for bottom widgets.
     *
     * @package Cryout Creations
     * @subpackage tempera
     * @since tempera 0.5
     */
    ?>	<div style="clear:both;"></div>
    	</div> <!-- #forbottom -->
    
    	<footer id="footer" role="contentinfo">
    		<div id="colophon">
    
    			<?php get_sidebar( 'footer' );?>
    
    		</div><!-- #colophon -->
    
    		<div id="footer2">
    
    			<?php cryout_footer_hook(); ?>
    
    		</div><!-- #footer2 -->
    
    	</footer><!-- #footer -->
    
    	</div><!-- #main -->
    </div><!-- #wrapper -->
    
    <?php	wp_footer(); ?>
    
    </body>
    </html>

    Please help me, how can I remove that??

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there.

    I took a look at the theme, and believe I have a solution for you. In the code you posted above – you’ll notice the:

    <div id="footer2">
        <?php cryout_footer_hook(); ?>
    </div><!-- #footer2 -->

    This is what is displaying the copyright section, social media & your “powered by” message.
    You can remove it two ways:

    1 – Remove the function that calls for the “powered by” entirely, by pasting the following at the bottom of the theme’s functions.php file:
    remove_action('cryout_footer_hook','tempera_site_info',99);

    Remember that if you update the theme, this will get removed.

    2 – You could also simply hide it with CSS. That particular line has inline styles on it, so you’d have to add !important to the over-ride. something like this should work:

    #footer2 span { display: none!important; }

    Thread Starter simrahs

    (@simrahs)

    Thanks very much !!!! It has worked !

    YOU ARE GREAT !!

    I could not find any solution for this anywhere. Thanks a lot !!

    Kind regards

    S.

    Thread Starter simrahs

    (@simrahs)

    Marking this as resolved !!

    This didn’t resolve the same problem for me. So what I did was a lot simpler.

    I just removed this line all together:
    <?php cryout_footer_hook(); ?>

    Then since its HTML coding outside of the PHP, I wrote HTML. Recreated the menus, and had full writes to code whatever in the footer I wanted. Hope this helps!

    Do be aware that your changes will be lost when you update the theme – would be better to make these kinds of changes in a child theme

    https://codex.www.ads-software.com/Child_Themes

    bigdaze

    (@bigdaze)

    how do I go about that? I tried the above suggestion and it didn’t work. im utilizing the Manta theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove or hide powered by WordPress on footer (new)’ is closed to new replies.