{"id":34719,"date":"2015-03-02T11:41:05","date_gmt":"2015-03-02T11:41:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-anchor-header\/"},"modified":"2018-03-09T01:03:13","modified_gmt":"2018-03-09T01:03:13","slug":"wp-anchor-header","status":"publish","type":"plugin","link":"https:\/\/mn.wordpress.org\/plugins\/wp-anchor-header\/","author":3803,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.3","stable_tag":"0.2.3","tested":"4.9.29","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"WP Anchor Header","header_author":"Per Soderlind","header_description":"","assets_banners_color":"d8d8d8","last_updated":"2018-03-09 01:03:13","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/soderlind.no\/donate\/","header_plugin_uri":"https:\/\/github.com\/soderlind\/wp-anchor-header","header_author_uri":"http:\/\/soderlind.no","rating":4.3,"author_block_rating":0,"active_installs":400,"downloads":9910,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"5"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1103295","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1103295","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1103295","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.2.1","0.2.2","0.2.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1431,537],"plugin_category":[],"plugin_contributors":[78884],"plugin_business_model":[],"class_list":["post-34719","plugin","type-plugin","status-publish","hentry","plugin_tags-header","plugin_tags-link","plugin_contributors-pers","plugin_committers-pers"],"banners":{"banner":"https:\/\/ps.w.org\/wp-anchor-header\/assets\/banner-772x250.jpg?rev=1103295","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-anchor-header\/assets\/icon-128x128.jpg?rev=1103295","icon_2x":"https:\/\/ps.w.org\/wp-anchor-header\/assets\/icon-256x256.jpg?rev=1103295","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WP Anchor Header generates anchored headings (H1-H6), creating a heading like this:<\/p>\n\n<pre><code>&lt;h2 id=\"the-heading\"&gt;\n   The Heading&lt;a class=\"anchorlink dashicons-before\" href=\"#the-heading\"&gt;&lt;\/a&gt;\n&lt;\/h2&gt;\n<\/code><\/pre>\n\n<p>The links are styled using the following CSS:<\/p>\n\n<pre><code>\/* show IDs for anchors *\/\nh1[id]:hover a.anchorlink:before,\nh2[id]:hover a.anchorlink:before,\nh3[id]:hover a.anchorlink:before,\nh4[id]:hover a.anchorlink:before,\nh5[id]:hover a.anchorlink:before,\nh6[id]:hover a.anchorlink:before {\n    content: \"\\f103\"; \/*dashicons-admin-links*\/\n    color: #888;\n    font-size: smaller;\n    text-decoration: none;\n    vertical-align: baseline;\n}\na.anchorlink {\n    text-decoration: none;\n    margin-left: 0.5em;\n    font-size: smaller;\n}\n<\/code><\/pre>\n\n<h3>Credits<\/h3>\n\n<p>The plugin is inspired by Christian Weiske and his article <a href=\"http:\/\/cweiske.de\/tagebuch\/html-heading-links.htm\">Usability: Clickable heading links<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin and extract the read-online.zip<\/li>\n<li>Upload the extracted <code>read-online<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Tested &amp; found compatible with WP 4.7.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Tested &amp; found compatible with WP 4.6.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Fix: Don't run if <code>the_content<\/code> is empty<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Update plugin for <a href=\"https:\/\/make.wordpress.org\/core\/handbook\/best-practices\/coding-standards\/\">WordPress Coding Standards<\/a>.<\/li>\n<li>Tested &amp; found compatible with WP 4.5.<\/li>\n<\/ul>\n\n<h4>0.1.8<\/h4>\n\n<ul>\n<li>Fixed UTF-8 parsing bug, added <code>mb_convert_encoding<\/code> to loadHTML(): <code>@$doc-&gt;loadHTML( mb_convert_encoding($content, 'HTML-ENTITIES', 'UTF-8') );<\/code><\/li>\n<li>Added singleton<\/li>\n<li>Added comments to code<\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Download the plugin and extract the read-online.zip<\/li>\n<li>Upload the extracted <code>read-online<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"WP Anchor Header generates anchored headings.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34719"}],"author":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pers"}],"wp:attachment":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34719"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34719"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34719"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34719"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34719"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}