How do I remove the wordpresslink in the footer?

Hi. How do i remowe the Wordpress text and link in the footer og my bloggers blogs and replace it with my own? Se the footer of this blog

  • Vaughan

    Hi Rene,

    You will need to edit the theme footer.php

    Find the following:

    <div class="site-info">
    				<?php do_action( 'twentyfourteen_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfourteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>
    			</div><!-- .site-info -->
    		</footer><!-- #colophon -->
    	</div><!-- #page -->

    Then change the a href there like this;

    <div class="site-info">
    				<?php do_action( 'twentyfourteen_credits' ); ?>
                                    <?php switch_to_blog(1);
                                               $site_title = get_bloginfo( 'name' );
                                               $site_url = network_site_url();
                                               restore_current_blog();
                                    ?>
    				<a href="<?php $site_url; ?>"><?php echo $site_title; ?></a>
    			</div><!-- .site-info -->
    		</footer><!-- #colophon -->
    	</div><!-- #page -->

    The above should display your main site's name & the URL will link to your main site blog.

    You would be best doing this in a child theme though, this way the changes will not be lost if you update the theme.

    Gor more info on child themes see; http://codex.wordpress.org/Child_Themes

    Then once you have that, you just need to copy the edited footer.php to the child theme.

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.