{"id":54854,"date":"2017-02-17T21:29:53","date_gmt":"2017-02-17T21:29:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/izz0ware-advanced-2017\/"},"modified":"2017-02-18T00:23:03","modified_gmt":"2017-02-18T00:23:03","slug":"izz0ware-advanced-2017","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/izz0ware-advanced-2017\/","author":14103223,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.0","stable_tag":"0.1.0.0","tested":"4.7.33","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Izz0ware Advanced 2017","header_author":"Izaac Johansson","header_description":"","assets_banners_color":"","last_updated":"2017-02-18 00:23:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/izz0ware.info\/","header_author_uri":"http:\/\/izz0ware.info\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":831,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1612736","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1612736","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2759,129284],"plugin_category":[43],"plugin_contributors":[132892],"plugin_business_model":[],"class_list":["post-54854","plugin","type-plugin","status-closed","hentry","plugin_tags-customization","plugin_tags-twentyseventeen","plugin_category-customization","plugin_contributors-izaacj","plugin_committers-izaacj"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/izz0ware-advanced-2017.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds some options for the default Twenty Seventeen theme, or childtheme thereof.<\/p>\n\n<p>Currently supported options are:<\/p>\n\n<ul>\n<li><strong>Header Logo<\/strong> - Use an image instead of the Title text in the header. <em>Require minor theme modification<\/em><\/li>\n<li><strong>Number of One Page sections<\/strong> - Define how many sections you'd like to have on the Frontpage. Defaults to 4 (as-in Twenty Seventeen theme by default).<\/li>\n<li><strong>Footer Image<\/strong> - Display an image between the last section and the footer, just like between any other sections.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/izz0ware-advanced-2017<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Use the Appearance-&gt;Customize screen to access the plugins options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Header Logo<\/dt>\n<dd><p>For the header logo feature you'll need to make some minor changes to your theme, preferably by using a childtheme.<\/p>\n\n<p>The file you need to modify is:<\/p>\n\n<ul>\n<li>Twenty Seventeen directly: <code>wp-content\/themes\/twentyseventeen\/template-parts\/header\/site-branding.php<\/code><\/li>\n<li>Childtheme: <code>wp-content\/themes\/[childthemename]\/template-parts\/header\/site-branding.php<\/code> - If this is not in your childtheme, copy it from Twenty Seventeen.<\/li>\n<\/ul>\n\n<p>Locate this <code>&lt;div class=\"site-branding-text\"&gt;<\/code> and make a new line right below it. That's where you'll paste the following code:<\/p>\n\n<pre><code>&lt;?php\n   $text = get_bloginfo('name');\n   if(class_exists('izz0_advanced_2017')) {\n      $text = \\izz0_advanced_2017::get_header_logo($text);\n   }\n?&gt;\n<\/code><\/pre>\n\n<p>When that is added, theres only two minor changes left to do.<\/p>\n\n<p>Locate:<\/p>\n\n<pre><code>&lt;h1 class=\"site-title\"&gt;&lt;a href=\"&lt;?php echo esc_url( home_url( '\/' ) ); ?&gt;\" rel=\"home\"&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;\/a&gt;&lt;\/h1&gt;\n<\/code><\/pre>\n\n<p>And replace <code>&lt;?php bloginfo( 'name' ); ?&gt;<\/code> with <code>&lt;?= $text; ?&gt;<\/code>.<\/p>\n\n<p>Locate:<\/p>\n\n<pre><code>&lt;p class=\"site-title\"&gt;&lt;a href=\"&lt;?php echo esc_url( home_url( '\/' ) ); ?&gt;\" rel=\"home\"&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;\/a&gt;&lt;\/p&gt;\n<\/code><\/pre>\n\n<p>And replace <code>&lt;?php bloginfo( 'name' ); ?&gt;<\/code> with <code>&lt;?= $text; ?&gt;<\/code>.<\/p>\n\n<p>Now you're done! Header Logo should work as soon as you set an image in the Customizer.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Adds some options for the default Twenty Seventeen theme, or childtheme thereof.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54854","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=54854"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/izaacj"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54854"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54854"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54854"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54854"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54854"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}