How to Remove Footer links in ColorMag theme

If you have some experience you can easily Remove Footer links in ColorMag. ColorMag is the perfect responsive magazine style WordPress Theme provided by ThemeGrill. It is suitable for news, newspaper, magazine, publishing, business and any kind of sites. The theme has tag as Custom Colors, Sticky Post, Custom Background, E-Commerce, thread Comments, Post Formats, One Column, Translation Ready, Custom Header, Custom Menu, Two Columns, feature Images, RTL Language Support, leave Sidebar, Flexible Header, Blog, Theme Options, Footer Widgets, Right Sidebar, News and web. You can get more details at their official site.

Some Features of ColorMag Theme

ColorMag allows you to easily customize colors on your site. You can choose one Primary accent Color for your site under Appearance Customize Design Options Primary Color option. The color picker allows you to choose any color you want, or enter a hex code for your desired color. Your menus, links, and buttons will be displayed in the color you choose. Under Appearance Customize Category Color Options, you can also select different color for every post category. Category Color will be used for category label in post meta, both on the front page and on individual post page.

Why should you Remove Footer links in ColorMag?

Remove Footer links in ColorMag keep your site look professional. And the presence of any theme credit and WordPress ruins the feel of professionalism on your business website. You may also want to add customization to your site by adding content in the footer. Furthermore, you may need a cleaner website and want to remove clutter by Remove Footer links in ColorMag.

How To Remove Footer links in ColorMag

ThemeGrill doesn’t provide a direct option to edit Footer links in ColorMag theme in the customization option in the new version as was provided in the old version. As per the ThemeGrill team, they provide this option in the Pro Version only but as most of the themes available for WordPress themes are open source license so you may edit theme code locally for your website.

Step 1. Take backup of wp-content/inc/hooks/footer.php

Step 2. Goto WordPress Dashboard > Appearances > Theme Editor it will open Code editor

How to Remove Footer links in ColorMag theme 1

Step 3. Goto inc/hooks/footer.php search for “function colormag_footer_copyright()

function colormag_footer_copyright() {

function colormag_footer_copyright() {		$site_link = '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" ><span>' . get_bloginfo( 'name', 'display' ) . '</span></a>';		$wp_link = '<a href="https://wordpress.org" target="_blank" title="' . esc_attr__( 'WordPress', 'colormag' ) . '" rel="nofollow"><span>' . esc_html__( 'WordPress', 'colormag' ) . '</span></a>';		$tg_link = '<a href="https://themegrill.com/themes/colormag" target="_blank" title="' . esc_attr__( 'ColorMag', 'colormag' ) . '" rel="nofollow"><span>' . esc_html__( 'ColorMag', 'colormag' ) . '</span></a>';		$default_footer_value = sprintf( /* Translators: %1$s: Current year, %2$s: Site link */ esc_html__( 'Copyright &copy; %1$s %2$s. All rights reserved.', 'colormag' ), date( 'Y' ), $site_link ) . '<br>' . sprintf( /* Translators: %1$s: Theme name, %2$s: ThemeGrill site link */ esc_html__( 'Theme: %1$s by %2$s.', 'colormag' ),  $tg_link, 'ThemeGrill' ) . ' ' . sprintf( /* Translators: %s: WordPress link */ esc_html__( 'Powered by %s.', 'colormag' ), $wp_link );		$colormag_footer_copyright = '<div class="copyright">' . $default_footer_value . '</div>';		echo $colormag_footer_copyright; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped	}}

Step 4. Replace above function with following

    function colormag_footer_copyright() {		$site_link = '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" ><span>' . get_bloginfo( 'name', 'display' ) . '</span></a>';		/**$wp_link = '<a href="https://wordpress.org" target="_blank" title="' . esc_attr__( 'WordPress', 'colormag' ) . '" rel="nofollow"><span>' . esc_html__( 'WordPress', 'colormag' ) . '</span></a>';		$tg_link = '<a href="https://themegrill.com/themes/colormag" target="_blank" title="' . esc_attr__( 'ColorMag', 'colormag' ) . '" rel="nofollow"><span>' . esc_html__( 'ColorMag', 'colormag' ) . '</span></a>';		*/		$default_footer_value = sprintf( /* Translators: %1$s: Current year, %2$s: Site link */ esc_html__( 'Copyright &copy; %1$s %2$s. All rights reserved.', 'colormag' ), date( 'Y' ), $site_link  );		$colormag_footer_copyright = '<div class="copyright">' . $default_footer_value . '</div>';		echo $colormag_footer_copyright; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped	}

Step 5. Press Update file you have successfully Remove Footer links in ColorMag theme. If there is some syntax error Update File will show error so revert back to old config.

Read More | Future of cloud computing a long term forecast

Share on:

Leave a Comment