{"id":22676,"date":"2013-04-02T10:12:40","date_gmt":"2013-04-02T10:12:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/footer-text\/"},"modified":"2020-11-30T21:27:23","modified_gmt":"2020-11-30T21:27:23","slug":"footer-text","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/footer-text\/","author":8117586,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.3","stable_tag":"trunk","tested":"5.6.17","requires":"3.3","requires_php":"5.2","requires_plugins":"","header_name":"Footer Text","header_author":"Shea Bunge","header_description":"","assets_banners_color":"","last_updated":"2020-11-30 21:27:23","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/sheabunge.com\/donate\/","header_plugin_uri":"https:\/\/github.com\/sheabunge\/footer-text","header_author_uri":"https:\/\/sheabunge.com","rating":5,"author_block_rating":0,"active_installs":2000,"downloads":106377,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"bungeshea","date":"2013-04-02 10:14:01"},"2.0.0":{"tag":"2.0.0","author":"bungeshea","date":"2015-01-06 10:28:45"},"2.0.1":{"tag":"2.0.1","author":"bungeshea","date":"2016-09-30 07:31:07"},"2.0.2":{"tag":"2.0.2","author":"bungeshea","date":"2018-11-22 10:52:16"}},"upgrade_notice":{"2.0.0":"<p>Lots of improvements; read the changelog<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"6"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0.0","2.0.1","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2428953,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2428953,"resolution":"2","location":"plugin"}},"screenshots":{"1":"Editing the footer text in the dashboard","2":"Previewing the footer text on the Twenty Thirteen theme"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,434,2640,2788,1081],"plugin_category":[43],"plugin_contributors":[78694],"plugin_business_model":[],"class_list":["post-22676","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-dashboard","plugin_tags-footer","plugin_tags-front-end","plugin_tags-visual","plugin_category-customization","plugin_contributors-bungeshea","plugin_committers-bungeshea"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/footer-text.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/footer-text\/trunk\/screenshot-1.png?rev=2428953","caption":"Editing the footer text in the dashboard"},{"src":"https:\/\/ps.w.org\/footer-text\/trunk\/screenshot-2.png?rev=2428953","caption":"Previewing the footer text on the Twenty Thirteen theme"}],"raw_content":"<!--section=description-->\n<p>Provides an interface in the dashboard, similar to the post edit screen, that allows you to easily change the text displayed in the footer on the front-end. After installing the plugin, add the <code>footer_text()<\/code> template tag to your <code>footer.php<\/code> theme template where you want the text to display. For more options, see the <a href=\"https:\/\/wordpress.org\/plugins\/footer-text\/faq\">FAQ<\/a>.<\/p>\n\n<p>You can use these shortcodes in the footer text editor:<\/p>\n\n<ul>\n<li><code>[last_modified]<\/code> the date that the current page was last modified on<\/li>\n<li><code>[page_link]<\/code> the full permalink of the current page, formatted. The content wrapped in this shortcode will be used as the link text<\/li>\n<li><code>[year]<\/code> the current year eg: 2013<\/li>\n<\/ul>\n\n<p>Visit the <a href=\"https:\/\/sheabunge.com\/plugins\/footer-text\/\">plugin homepage<\/a>, or contribute to its development at <a href=\"https:\/\/github.com\/sheabunge\/footer-text\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>footer-text<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Visit <em>Appearance &gt; Footer Text<\/em> to write your awesome footer text<\/li>\n<li>Place the <code>footer_text()<\/code> template tag somewhere in your theme where you want the text displayed<\/li>\n<li>Visit site. Observe.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt><h3>How can I display the footer text in my theme?<\/h3><\/dt>\n<dd><p>You can use the <code>footer_text()<\/code> function to display the footer text, or the <code>get_footer_text()<\/code> function to return it for use in PHP. These template tags should generally be used in the <code>footer.php<\/code> file of your theme.<\/p>\n\n<p>The <code>footer_text()<\/code> function outputs the formatted footer text and accepts three parameters: <code>$before<\/code>, <code>$after<\/code> and <code>$default<\/code>. <code>$before<\/code> will be outputted <em>before<\/em> the text, <code>$after<\/code> will be outputted <em>after<\/em> the text, and <code>$default<\/code> will be used instead of the text is none is set. If no text is set <code>$default<\/code> is empty, nothing will be displayed.<\/p>\n\n<p>The <code>get_footer_text()<\/code> function returns the formatted footer text and accepts one parameter: <code>$default<\/code>, which will be returned if no text is set.<\/p>\n\n<p>If the plugin isn't active, the template tag will result in an error. To solve this, you can use an action hook instead:<\/p>\n\n<pre><code>do_action( 'footer_text', $default, $before, $after );\n<\/code><\/pre>\n\n<p>This works the same as calling the <code>footer_text()<\/code> function, and any of the three arguments can be omitted.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Added a message when the text is updated.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Use a <code>&lt;h1&gt;<\/code> heading on administration pages<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Update screenshots for WordPress 3.9<\/li>\n<li>Add braces to one-line conditionals<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Delete footer text from database on uninstall<\/li>\n<li>Added an action as an alternate way to display footer text<\/li>\n<li>Restructured code<\/li>\n<li>Fixed [page_link] shortcode<\/li>\n<li>Added custom 'edit_footer_text' capability<\/li>\n<li>Added support for translations<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Allow changing of the theme footer text easily from the dashboard","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22676"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bungeshea"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22676"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22676"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22676"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22676"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22676"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}