<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Link con PHP]]></title><description><![CDATA[<p dir="auto">Ciao!</p>
<p dir="auto">Vorrei linkare tutto questo header all'home page. Come posso fare?</p>
<p dir="auto">Grazie!</p>
<p dir="auto">&lt;?php if ( bard_options('header_image_label') === true ) : ?&gt;</p>
<pre><code>&lt;div class="entry-header" data-parallax="&lt;?php echo esc_attr(bard_options( 'header_image_parallax' )); ?&gt;" data-image="&lt;?php echo esc_attr(get_header_image()); ?&gt;"&gt;
	&lt;div class="cv-outer"&gt;
	&lt;div class="cv-inner"&gt;


		&lt;div class="header-logo"&gt;
			&lt;a href="&lt;?php echo esc_url( home_url('/') ); ?&gt;"&gt;&lt;?php echo bloginfo( 'title' ); ?&gt;&lt;/a&gt;
			&lt;?php 
	
			if ( has_custom_logo() ) :


				$custom_logo_id = get_theme_mod( 'custom_logo' );
				$custom_logo 	= wp_get_attachment_image_src( $custom_logo_id , 'full' );
				
			?&gt;

				&lt;a href="&lt;?php echo esc_url( home_url( '/' ) ); ?&gt;" title="&lt;?php esc_attr( bloginfo('name') ); ?&gt;" class="logo-img"&gt;
					&lt;img src="&lt;?php echo esc_url(  $custom_logo[0] ); ?&gt;" alt="&lt;?php esc_attr( bloginfo('name') ); ?&gt;"&gt;
				&lt;/a&gt;
			
			&lt;?php else : ?&gt;
				
				&lt;?php if ( is_home() || is_front_page() ) : ?&gt;
				&lt;h1&gt;
					&lt;a href="&lt;?php echo esc_url( home_url('/') ); ?&gt;"&gt;&lt;?php echo bloginfo( 'title' ); ?&gt;&lt;/a&gt;
				&lt;/h1&gt;
				&lt;?php else : ?&gt;
				&lt;a href="&lt;?php echo esc_url( home_url('/') ); ?&gt;"&gt;&lt;?php echo bloginfo( 'title' ); ?&gt;&lt;/a&gt;
				&lt;?php endif; ?&gt;


			&lt;?php endif; ?&gt;
			
			&lt;p class="site-description"&gt;&lt;?php echo bloginfo( 'description' ); ?&gt;&lt;/p&gt;
			
		&lt;/div&gt;


		&lt;?php // Social Icons
			if ( bard_options( 'title_tagline_show_socials' ) === true ) {
				bard_social_media( 'header-socials', false );
			}
		?&gt;


	&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</code></pre>
<p dir="auto">&lt;?php endif; ?&gt;</p>
]]></description><link>https://dev.connect.gt/topic/240153/link-con-php</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 14:24:05 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/240153.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Feb 2020 14:40:17 GMT</pubDate><ttl>60</ttl></channel></rss>