{"id":63468,"date":"2017-02-08T12:48:05","date_gmt":"2017-02-08T11:48:05","guid":{"rendered":"https:\/\/pl.wordpress.org\/support\/topic\/wysrodkowanie-logo_motyw-sociallyviral\/"},"modified":"2017-02-08T12:49:10","modified_gmt":"2017-02-08T11:49:10","slug":"wysrodkowanie-logo_motyw-sociallyviral","status":"publish","type":"topic","link":"https:\/\/pl.wordpress.org\/support\/topic\/wysrodkowanie-logo_motyw-sociallyviral\/","title":{"rendered":"Wy\u015brodkowanie logo_motyw SociallyViral"},"content":{"rendered":"<p>Potrzebuj\u0119 pomocy z wy\u015brodkowaniem logo. Temat powtarzany&#8230;wiem! Jednak wskaz\u00f3wki kt\u00f3re pr\u00f3bowa\u0142am zastosowa\u0107 z forum nie dzia\u0142aj\u0105. <\/p>\n<p><a href=\"http:\/\/mamesia.com\">LINK DO BLOGA<\/a><\/p>\n<p>I kod header.php <\/p>\n<pre><code>&lt;?php\n\/**\n * The header for our theme.\n *\n * Displays all of the &lt;head&gt; section and everything up till &lt;div id=&quot;content&quot;&gt;\n *\n * @package SociallyViral\n *\/\n?&gt;&lt;!DOCTYPE html&gt;\n&lt;html &lt;?php language_attributes(); ?&gt;&gt;\n&lt;head&gt;\n\t&lt;meta charset=&quot;&lt;?php bloginfo( &#039;charset&#039; ); ?&gt;&quot;&gt;\n\t&lt;link rel=&quot;profile&quot; href=&quot;http:\/\/gmpg.org\/xfn\/11&quot;&gt;\n\t&lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo( &#039;pingback_url&#039; ); ?&gt;&quot;&gt;\n\t&lt;!--iOS\/android\/handheld specific --&gt;\n\t&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, maximum-scale=1&quot;&gt;\n\t&lt;meta itemprop=&quot;name&quot; content=&quot;&lt;?php bloginfo( &#039;name&#039; ); ?&gt;&quot; \/&gt;\n\t&lt;meta itemprop=&quot;url&quot; content=&quot;&lt;?php echo site_url(); ?&gt;&quot; \/&gt;\n\t&lt;?php if ( is_singular() ) { ?&gt;\n\t&lt;meta itemprop=&quot;creator accountablePerson&quot; content=&quot;&lt;?php $user_info = get_userdata($post-&gt;post_author); echo $user_info-&gt;first_name.&#039; &#039;.$user_info-&gt;last_name; ?&gt;&quot; \/&gt;\n\t&lt;?php }\n\twp_head(); ?&gt;\n&lt;\/head&gt;\n\n&lt;body &lt;?php body_class(); ?&gt;&gt;\n\t&lt;div id=&quot;page&quot; class=&quot;hfeed site&quot;&gt;\n\t\t&lt;div class=&quot;main-container&quot;&gt;\n\t\t\t&lt;header id=&quot;masthead&quot; class=&quot;site-header&quot; role=&quot;banner&quot;&gt;\n\t\t\t\t&lt;div class=&quot;site-branding&quot;&gt;\n\t\t\t\t\t&lt;?php $header_image = get_header_image(); \n\t\t\t\t\tif (!empty($header_image)) { ?&gt;\n\t\t\t\t\t\t&lt;?php if( is_front_page() || is_home() || is_404() ) { ?&gt;\n\t\t\t\t\t\t\t&lt;h1 id=&quot;logo&quot; class=&quot;image-logo&quot; itemprop=&quot;headline&quot;&gt;\n\n\t\t\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(home_url()); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php header_image(); ?&gt;&quot; width=&quot;&lt;?php echo esc_attr( get_custom_header()-&gt;width ); ?&gt;&quot; height=&quot;&lt;?php echo esc_attr( get_custom_header()-&gt;height ); ?&gt;&quot; alt=&quot;&lt;?php bloginfo( &#039;name&#039; ); ?&gt;&quot;&gt;&lt;\/a&gt;\n\t\t\t\t\t\t\t&lt;\/h1&gt;&lt;!-- END #logo --&gt;\n\t\t\t\t\t\t&lt;?php } else { ?&gt;\n\t\t\t\t\t\t    &lt;h2 id=&quot;logo&quot; class=&quot;image-logo&quot; itemprop=&quot;headline&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(home_url()); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php header_image(); ?&gt;&quot; alt=&quot;&lt;?php bloginfo( &#039;name&#039; ); ?&gt;&quot;&gt;&lt;\/a&gt;\n\t\t\t\t\t\t\t&lt;\/h2&gt;&lt;!-- END #logo --&gt;\n\t\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t\t&lt;?php } else { ?&gt;\n\t\t\t\t\t\t&lt;?php if( is_front_page() || is_home() || is_404() ) { ?&gt;\n\t\t\t\t\t\t\t&lt;h1 id=&quot;logo&quot; class=&quot;text-logo&quot; itemprop=&quot;headline&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(home_url()); ?&gt;&quot;&gt;&lt;?php bloginfo( &#039;name&#039; ); ?&gt;&lt;\/a&gt;\n\t\t\t\t\t\t\t&lt;\/h1&gt;&lt;!-- END #logo --&gt;\n\t\t\t\t\t\t&lt;?php } else { ?&gt;\n\t\t\t\t\t\t    &lt;h2 id=&quot;logo&quot; class=&quot;text-logo&quot; itemprop=&quot;headline&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(home_url()); ?&gt;&quot;&gt;&lt;?php bloginfo( &#039;name&#039; ); ?&gt;&lt;\/a&gt;\n\t\t\t\t\t\t\t&lt;\/h2&gt;&lt;!-- END #logo --&gt;\n\t\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t&lt;\/div&gt;&lt;!-- .site-branding --&gt;\n\n\t\t\t\t&lt;?php $headerSearchEnable = get_theme_mod(&#039;sociallyviral_header_search&#039;);\n\t\t\t\tif( $headerSearchEnable == 1 ) { ?&gt;\n\t\t\t\t\t&lt;div class=&quot;header-search&quot;&gt;&lt;?php get_search_form( ); ?&gt;&lt;\/div&gt;\n\t\t\t\t&lt;?php } ?&gt;\n\n\t\t\t\t&lt;div class=&quot;header-social&quot;&gt;\n\t\t\t\t\t&lt;?php \n\t\t\t\t\t$sociallyviral_fb_url = get_theme_mod(&#039;sociallyviral_header_facebook&#039;);\n\t\t\t\t\t$sociallyviral_twt_url = get_theme_mod(&#039;sociallyviral_header_twitter&#039;);\n\t\t\t\t\t$sociallyviral_gp_url = get_theme_mod(&#039;sociallyviral_header_google_plus&#039;);\n\t\t\t\t\t$sociallyviral_yt_url = get_theme_mod(&#039;sociallyviral_header_youtube&#039;);\n\n\t\t\t\t\tif(!empty($sociallyviral_fb_url)) { ?&gt;\n\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(get_theme_mod(&#039;sociallyviral_header_facebook&#039;)); ?&gt;&quot; class=&quot;header-facebook&quot; style=&quot;background: #375593&quot;&gt;\n\t\t\t\t\t\t\t&lt;i class=&quot;icon-facebook&quot;&gt;&lt;\/i&gt;\n\t\t\t\t\t\t&lt;\/a&gt;\n\t\t\t\t\t&lt;?php } \n\n\t\t\t\t\tif(!empty($sociallyviral_twt_url)) { ?&gt;\n\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(get_theme_mod(&#039;sociallyviral_header_twitter&#039;)); ?&gt;&quot; class=&quot;header-twitter&quot;&gt;\n\t\t\t\t\t\t\t&lt;i class=&quot;icon-twitter&quot;&gt;&lt;\/i&gt;\n\t\t\t\t\t\t&lt;\/a&gt;\n\t\t\t\t\t&lt;?php }\n\n\t\t\t\t\tif(!empty($sociallyviral_gp_url)) { ?&gt;\n\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(get_theme_mod(&#039;sociallyviral_header_google_plus&#039;)); ?&gt;&quot; class=&quot;header-google-plus&quot;&gt;\n\t\t\t\t\t\t\t&lt;i class=&quot;icon-google-plus&quot;&gt;&lt;\/i&gt;\n\t\t\t\t\t\t&lt;\/a&gt;\n\t\t\t\t\t&lt;?php }\n\n\t\t\t\t\tif(!empty($sociallyviral_yt_url)) { ?&gt;\n\t\t\t\t\t\t&lt;a href=&quot;&lt;?php echo esc_url(get_theme_mod(&#039;sociallyviral_header_youtube&#039;)); ?&gt;&quot; class=&quot;header-youtube-play&quot;&gt;\n\t\t\t\t\t\t\t&lt;i class=&quot;icon-youtube-play&quot;&gt;&lt;\/i&gt;\n\t\t\t\t\t\t&lt;\/a&gt;\n\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t&lt;\/div&gt;\n\n\t\t\t\t&lt;a href=&quot;#&quot; id=&quot;pull&quot; class=&quot;toggle-mobile-menu&quot;&gt;&lt;?php _e(&#039;Menu&#039;, &#039;sociallyviral&#039;); ?&gt;&lt;\/a&gt;\n\t\t\t\t&lt;nav id=&quot;navigation&quot; class=&quot;primary-navigation mobile-menu-wrapper&quot; role=&quot;navigation&quot;&gt;\n\t\t\t\t\t&lt;?php if ( has_nav_menu( &#039;primary&#039; ) ) { ?&gt;\n\t\t\t\t\t\t&lt;?php wp_nav_menu( array( &#039;theme_location&#039; =&gt; &#039;primary&#039;, &#039;menu_class&#039; =&gt; &#039;menu clearfix&#039;, &#039;container&#039; =&gt; &#039;&#039; ) ); ?&gt;\n\t\t\t\t\t&lt;?php } else { ?&gt;\n\t\t\t\t\t\t&lt;ul class=&quot;menu clearfix&quot;&gt;\n\t\t\t\t\t\t\t&lt;?php wp_list_categories(&#039;title_li=&#039;); ?&gt;\n\t\t\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t&lt;\/nav&gt;&lt;!-- #site-navigation --&gt;\n\t\t\t&lt;\/header&gt;&lt;!-- #masthead --&gt;\n\n\t\t\t&lt;div id=&quot;content&quot; class=&quot;site-content&quot;&gt;<\/code><\/pre>\n<p>B\u0119d\u0119 wdzi\u0119czna za pomoc \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-63468","topic","type-topic","status-publish","hentry","topic-tag-logo"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/63468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/63468\/revisions"}],"predecessor-version":[{"id":63469,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/63468\/revisions\/63469"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=63468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}