• Resolved Jazz

    (@jsmakkar)


    Hi Guys,

    Need your expert help.
    I am totally new here.

    I just installed version 3.0.10
    Could anybody explain in simple words how to remove credit line “Designed by Themes & Co ·” from footer.

    Thanks and regards!

Viewing 14 replies - 1 through 14 (of 14 total)
  • You can change that info in class-footer-footer_main.php but i recommend you to do it in a child theme. The lines you are looking for are this ones

    <div class="span4 credits">
        	<?php tc__f( 'tip' , __FUNCTION__ , __CLASS__, __FILE__ ); ?>
    	    	<?php
    		    	$credits =  sprintf( '<p> &middot; &copy; %1$s <a href="%2$s" title="%3$s" rel="bookmark">%3$s</a> &middot; Designed by %4$s &middot;</p>',
    					    esc_attr( date( 'Y' ) ),
    					    esc_url( home_url() ),
    					    esc_attr(get_bloginfo()),
    					    '<a href="'.TC_WEBSITE.'">Themes & Co</a>'
    				);
    				echo $credits;
    			?>
    		</div>

    There you can edit that info and add your own by adding a link on the “href” and changing “Themes & Co” for your name.

    @jasmakkar Take a look also at the FAQ, where this and other questions are answered.

    Thread Starter Jazz

    (@jsmakkar)

    Thanks ElectricFeet and Ithril.

    I am sorry but I am still not able to get that working
    Here’s what I did.

    1. Created a child theme and activated it
    2. Copied and pasted all contents of class-footer-footer_main.php in child theme.
    3. Edited
    '<a href="'.TC_WEBSITE.'">Themes & Co</a>' to '<a href="http://www.mydomain.com">MyCompanyName</a>'
    These changes are not taking effect.

    Any help would be much appreciated.

    Thank you!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try deactivating any caching plugins & clear your browser’s cache

    Thread Starter Jazz

    (@jsmakkar)

    I don’t have any caching plugin and yes, I did clear browser’s cache.
    Still stuck.
    Please help, anybody.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You need to link the website in question

    Thread Starter Jazz

    (@jsmakkar)

    Only CSS code goes in a CSS file – remove all that non-CSS code from that file.

    You need to put a COPY of the class-footer-footer_main.php file in the child theme and make the changes there.

    You have copied php code—that should be in class-footer-footer_main.php in your child theme—into your CSS stylesheet (which shouldn’t contain php).

    You should copy the class-footer-footer_main.php into the parts subdirectory in your child theme and delete all of the footer code you copied into your style css.

    Thread Starter Jazz

    (@jsmakkar)

    Thank you very much ElectricFeet, you made my day.
    I would never have been able to figure that out on my own.

    Thanks again from the bottom of my heart! God Bless!!

    Thread Starter Jazz

    (@jsmakkar)

    Thank you WPyogi for the tip!!!

    Glad it worked. If you’re going to be doing a lot of WordPress work (your site implies you are) then have a good look at the WordPress Codex. For instance, child themes are explained in detail there.

    Thread Starter Jazz

    (@jsmakkar)

    Thanks again ElectricFeet.

    Found my answer here ! Thank you ! 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to remove "Designed by Themes & Co ·" in footer’ is closed to new replies.