{"id":12117,"date":"2016-02-05T17:18:38","date_gmt":"2016-02-05T23:18:38","guid":{"rendered":"https:\/\/staging.audiotheme.com\/?p=12117"},"modified":"2022-11-25T14:16:15","modified_gmt":"2022-11-25T20:16:15","slug":"how-to-customize-footer-credits","status":"publish","type":"post","link":"https:\/\/staging.audiotheme.com\/blog\/how-to-customize-footer-credits\/","title":{"rendered":"How to Customize Footer Credits in WordPress Themes"},"content":{"rendered":"<p class=\"lead\"><strong>Footer credits<\/strong>\u2014also known as footer text\u2014refers to the text shown at the bottom of a website. Changing this\u00a0text\u00a0in WordPress themes is a common task and is the focus of this article.<\/p>\n<p>In most cases, a site&#8217;s footer credits display a copyright symbol, the current year, and the name of the site. In WordPress themes, it&#8217;s a common practice to display a link to the theme\u00a0being used along with the name of the creator.\u00a0Keeping these links in your WordPress theme\u00a0can be valuable for the creator and is a good way to support their efforts and business.<\/p>\n<p>Let&#8217;s look at\u00a0two methods for customizing\u00a0the footer credits in your WordPress theme.<\/p>\n<p><!--more--><\/p>\n<h2>Customizing WordPress Footer Credits<\/h2>\n<p>The first thing to consider before changing the\u00a0footer credits in a theme is to make sure it is allowed. In most cases it is. However, on some sites, like those hosted on WordPress.com, customizing the footer text is against the Terms of Service.<\/p>\n<h3>Customize Using A Plugin<\/h3>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/footer-credits\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12235\" src=\"https:\/\/staging.audiotheme.com\/content\/uploads\/footer-credits-plugin.jpg\" alt=\"Footer Credits Plugin Banner\" width=\"720\" height=\"310\" srcset=\"https:\/\/staging.audiotheme.com\/content\/uploads\/footer-credits-plugin.jpg 720w, https:\/\/staging.audiotheme.com\/content\/uploads\/footer-credits-plugin-300x129.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>Plugins are arguably the best part about WordPress, at least from a general users perspective. They add the ability to extend the functionality that already exists in WordPress, including themes.<\/p>\n<p>We have found the easiest solution to update the footer text in WordPress themes is to use a free plugin called <a href=\"https:\/\/wordpress.org\/plugins\/footer-credits\/\">Footer Credits<\/a>. This plugin provides a standardized method for making theme credits editable and can be found in the WordPress plugin repo.<\/p>\n<p>One caveat of the Footer Credits plugin is that it <em>only works with themes that provide support for it<\/em>. If you are an AudioTheme customer, we have you covered; all our <a href=\"https:\/\/staging.audiotheme.com\/wordpress-themes\/\">music themes<\/a> support this plugin! If your theme does not support the plugin, consider asking a developer or the theme creator to <a href=\"https:\/\/wordpress.org\/plugins\/footer-credits\/other_notes\/\">add support<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-12186 size-full\" style=\"margin-bottom: 1.5em;\" src=\"https:\/\/staging.audiotheme.com\/content\/uploads\/footer-credits-customizer.png\" alt=\"Footer Credits: Customizer Settings\" width=\"301\" height=\"452\" srcset=\"https:\/\/staging.audiotheme.com\/content\/uploads\/footer-credits-customizer.png 301w, https:\/\/staging.audiotheme.com\/content\/uploads\/footer-credits-customizer-200x300.png 200w\" sizes=\"auto, (max-width: 301px) 100vw, 301px\" \/><\/p>\n<p><strong>How does the Footer Credits plugin work? <\/strong><\/p>\n<p>After <a href=\"https:\/\/wordpress.org\/plugins\/footer-credits\/installation\/\">installing the plugin<\/a>, a new section and fields are\u00a0added to the Customizer for themes that support it. These new settings allow custom\u00a0text to be inserted, along with choosing\u00a0how it should appear:<\/p>\n<ul>\n<li><strong>Before<\/strong>: Prepend\u00a0new text\u00a0before current\u00a0credits<\/li>\n<li><strong>After<\/strong>: Append\u00a0new text\u00a0after current credits<\/li>\n<li><strong>Replace<\/strong>: Show new text\u00a0only<\/li>\n<li><strong>Remove All<\/strong>: Remove credits all together<\/li>\n<\/ul>\n<p style=\"clear: both;\">One small, but handy feature of the Footer Credits plugin, is the ability to add the current year to custom credits. The current year is often used in conjunction with the copyright symbol (\u00a9). Adding the year is done by including <code>{{year}}<\/code> in your custom credits text as shown in the screenshot above. This specially formatted text will be replaced with the current year when displayed on the front end of your site.<\/p>\n<p style=\"clear: both;\">We recorded a short video screencast demonstrating the Footer Credits plugin in action.<\/p>\n<p><iframe loading=\"lazy\" width=\"720\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/8BmG3eNuqGA?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<h3>Customize Using A Child Theme<\/h3>\n<p>If a theme does not provide a method for changing the footer\u00a0credits, either natively or via a plugin, creating a <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">child theme<\/a> is the next best option. Creating a child theme\u00a0requires a little more work, however, it is a good skill to know, especially if you plan on making additional customizations. The following information will assume you have some familiarity with child themes and getting one set up. If you&#8217;re an AudioTheme customer, we provide child themes for you in the theme documentation.<\/p>\n<p>After you have created and activated a child theme, you can start customizing the parent theme&#8217;s functionality.\u00a0First, you\u00a0will need to find where the footer credits are located in the parent theme files. The majority of the time you can\u00a0find the credits located toward the bottom of the\u00a0<code>footer.php<\/code> template file of the parent theme.\u00a0In this case, copy the\u00a0<code>footer.php<\/code> file over to your\u00a0child theme&#8217;s folder.<\/p>\n<p>In the\u00a0<code>footer.php<\/code>\u00a0you copied over to your child theme, find the area of code that displays the footer text. This will be different in each theme, but you should be able to spot the related text, function, or filter. Once you&#8217;ve found this text, you can start customizing it\u00a0to your needs. Any changes made to this file will show up at the bottom of each page of your website.<\/p>\n<h4>Add Footer Credits Plugin Support To A\u00a0Child Theme<\/h4>\n<p>While we are here, lets go ahead and add support for the Footer Credits plugin. This will make things easier down the road should you want to update the credits again and not have to mess with the theme files. To do this, replace the footer text in <code>footer.php<\/code> with the following code snippet.<\/p>\n<pre><code>&lt;?php\r\n$credits = '&amp;copy;&amp;nbsp;' . date( 'Y' ) . '&amp;nbsp;' . get_bloginfo( 'name', 'display' );\r\necho apply_filters( 'footer_credits', $credits ); \r\n?&gt;\r\n<\/code><\/pre>\n<p>The snippet above will set the credits to display a copyright symbol followed by the current year and your site name; e.g. &#8220;\u00a9 2016 AudioTheme&#8221;. At the same time, support was added for the Footer Credits plugin by passing the text through the <code>footer_credits<\/code> filter.<\/p>\n<p>There are a number of ways to edit footer credits in WordPress. Here, we&#8217;ve provided two of those methods.\u00a0If you have any thoughts, feel free to voice them in the comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Footer credits\u2014also known as footer text\u2014refers to the text shown at the bottom of a website. Changing this\u00a0text\u00a0in WordPress themes is a common task and is the focus of this article. In most cases, a site&#8217;s footer credits display a copyright symbol, the current year, and the name of the site. In WordPress themes, it&#8217;s &hellip; <a class=\"more-link\" href=\"https:\/\/staging.audiotheme.com\/blog\/how-to-customize-footer-credits\/\">Read More<\/a><\/p>\n","protected":false},"author":21,"featured_media":12210,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-12117","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-chatter","8":"entry"},"_links":{"self":[{"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/posts\/12117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/comments?post=12117"}],"version-history":[{"count":1,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/posts\/12117\/revisions"}],"predecessor-version":[{"id":64199,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/posts\/12117\/revisions\/64199"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/media\/12210"}],"wp:attachment":[{"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/media?parent=12117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/categories?post=12117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.audiotheme.com\/api\/wp\/v2\/tags?post=12117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}