CINXE.COM

WordPress › Support » Codium Extended: Blog Title Image

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"><head profile="http://gmpg.org/xfn/11"><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://wordpress.org/support/topic/codium-extended-blog-title-image","20111015070436","https://web.archive.org/","web","/_static/", "1318662276"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <!-- <meta property="fb:page_id" content="6427302910" /> --> <title>WordPress &#8250; Support &raquo; Codium Extended: Blog Title Image</title> <style type="text/css"> @import url("https://web.archive.org/web/20111015070436cs_/http://s.wordpress.org/style/wp4.css?12"); </style> <link media="only screen and (max-device-width: 480px)" href="https://web.archive.org/web/20111015070436cs_/http://s.wordpress.org/style/iphone.css" type="text/css" rel="stylesheet"/> <link rel="shortcut icon" href="https://web.archive.org/web/20111015070436im_/http://s.wordpress.org/favicon.ico?3" type="image/x-icon"/> <link rel="alternate" type="application/rss+xml" title="t" href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/rss/topic/codium-extended-blog-title-image"/> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://web.archive.org/web/20111015070436/https://ssl." : "https://web.archive.org/web/20111015070436/http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-52447-1"); pageTracker._initData(); pageTracker._trackPageview(); </script> <!--[if lt IE 8]> <style type="text/css"> @import url("http://s.wordpress.org/style/ie.css"); </style> <![endif]--> <style type="text/css"> @import url("https://web.archive.org/web/20111015070436cs_/http://s.wordpress.org/style/forum-wp4.css?10"); </style> <!--[if IE 7]> <style type="text/css"> @import url("http://s.wordpress.org/style/forum-ie7.css?9"); </style> <![endif]--> <meta name="generator" content="bbPress 1.1"/> <script type="text/javascript" src="https://web.archive.org/web/20111015070436js_/http://wordpress.org/bb-plugins/bb-quicktags.js?ver=1.1"></script> <script type="text/javascript" src="https://web.archive.org/web/20111015070436js_/http://wordpress.org/bb-plugins/_bb-quicktags.php?ver=1.1"></script> <style type="text/css"> #ed_toolbar input { background:#FFFFFF url(https://web.archive.org/web/20111015070436im_/http://wordpress.org/support/bb-images/fade-butt.png) repeat-x scroll 0pt -2px; background:#F4F4F4 none repeat scroll 0%; border:1px solid #B2B2B2; color:#000000; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:13px; font-size-adjust:none; font-stretch:normal; font-style:normal; font-variant:normal; font-weight:normal; line-height:normal; margin:3px 2px 2px; padding:3px; } #ed_toolbar #ed_strong { font-weight: bold; } #ed_toolbar #ed_em { font-style: italic; } #ed_toolbar #ed_link {color:blue;text-decoration:underline;} #ed_toolbar #ed_pre {font-family:'Courier New',Courier,mono;margin-bottom:3px;} </style><style type="text/css">input#custom_postalzip, input#custom_blogs { width: 150px!important; text-transform: uppercase; } #pagebody tr.form-field td { width: 300px!important; }#userinfo dd .checkbox { visibility: hidden; }</style><script type="text/javascript" src="https://web.archive.org/web/20111015070436js_/http://s.wordpress.org/wp-includes/js/jquery/jquery.js"></script> </head> <body id="wordpress-org"> <div id="header"> <div class="wrapper"> <h1><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/">WordPress.org</a></h1> <form action="https://web.archive.org/web/20111015070436/http://wordpress.org/search/do-search.php" method="get" id="head-search"> <input class="text" name="search" type="text" value="Search WordPress.org" maxlength="150" onfocus="this.value=(this.value=='Search WordPress.org') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search WordPress.org' : this.value;"/> <input type="submit" class="button" value="Go"/> </form> <ul> <li><a href="/web/20111015070436/http://wordpress.org/" title="Home is where the heart is.">Home</a> </li> <li><a href="/web/20111015070436/http://wordpress.org/showcase/" title="See some of the sites built on WordPress.">Showcase</a> </li> <li><a href="/web/20111015070436/http://wordpress.org/extend/" title="Taking WordPress beyond your wildest imagination.">Extend</a> <ul class="nav-submenu"> <li><a href="/web/20111015070436/http://wordpress.org/extend/plugins/" title="Plugins can extend WordPress to do almost anything you can imagine.">Plugins</a></li> <li><a href="/web/20111015070436/http://wordpress.org/extend/themes/" title="Find just the right look for your website.">Themes</a></li> <li><a href="/web/20111015070436/http://wordpress.org/extend/mobile/" title="Take your website on the go!">Mobile</a></li> </ul></li> <li><a href="/web/20111015070436/http://wordpress.org/about/" title="About the WordPress Organization, and where we're going.">About</a> </li> <li><a href="https://web.archive.org/web/20111015070436/http://codex.wordpress.org/Main_Page" title="Documentation, tutorials, best practices.">Docs</a> </li> <li><a href="/web/20111015070436/http://wordpress.org/news/" title="Come here for the latest scoop.">Blog</a> </li> <li><a class="current" href="/web/20111015070436/http://wordpress.org/support/" title="Support and discussion forums.">Forums</a> </li> <li><a href="/web/20111015070436/http://wordpress.org/hosting/" title="Find a home for your blog.">Hosting</a> </li> <li id="download"><a href="/web/20111015070436/http://wordpress.org/download/" title="Get it. Got it? Good.">Download</a> </li> </ul> </div> </div> <div id="headline"> <div class="wrapper"> <h2>Forums</h2> <form class="login" method="post" action="https://web.archive.org/web/20111015070436/http://wordpress.org/support/bb-login.php"> <p><label><span class="hide-if-placeholder">Username</span> <input class="text" name="user_login" type="text" id="user_login" placeholder="username" size="13" maxlength="40" value=""/> </label> <label><span class="hide-if-placeholder">Password</span> <input class="text" name="password" type="password" id="password" placeholder="password" size="13" maxlength="40"/> </label> <input name="remember" type="checkbox" id="remember" title="Remember me" value="1" tabindex="3"/> <input name="re" type="hidden" value=""/> <input type="submit" class="button-secondary" name="Submit" id="submit" value="Log in"/> (<a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/bb-login.php">forgot?</a>) <a class="button" href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/register.php">Register</a></p> </form> <script type="text/javascript"> /* <![CDATA[ */ (function() { if ( document.getElementsByClassName && document.getElementById( 'user_login' ).placeholder ) { var hideThese = document.getElementsByClassName( 'hide-if-placeholder' ) for ( var i = 0; i < hideThese.length; i++ ) { hideThese[i].style.display = 'none'; } } })(); /* ]]> */ </script> </div> </div> <div id="pagebody"> <div class="wrapper topicnav"> <div class="col-8"> <p class="bbcrumb"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/">WordPress &#8250; Support</a> &raquo; <a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/forum/how-to-and-troubleshooting">How-To and Troubleshooting</a></p> <div id="ajax-response"></div> </div> <div class="col-4"> <p id="pages"></p> </div> </div> <div class="wrapper topictitle"> <div class="col-12"> <h2> Codium Extended: Blog Title Image <small>(15 posts)</small></h2> </div> </div> <div class="wrapper"> <div class="col-10"> <ol id="thread" start="1"> <li id="post-2365271" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 2 weeks ago <a href="#post-2365271">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>I want to insert a logo at my blog title field while using Codium Extended 1.1.2 Theme version. Can you indicate how, for a person with a limited knowledge in coding, to do it please. </p> <p>The image is at: /wp-content/updates/2011/09/logo.jpg </p></div> </div> </li> <li id="post-2377182" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 1 week ago <a href="#post-2377182">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>OK. First off, you don't appear to have anything in your blog title and blog description fields. That's fine, I guess, but not so good for SEO.</p> <p>As for the logo, you just need to put the image into the header area. This is the HTML you have there at the moment:</p> <pre><code>&lt;div id=&quot;header&quot;&gt; &lt;div class=&quot;dp100&quot;&gt; &lt;h1 id=&quot;blog-title&quot; class=&quot;blogtitle&quot;&gt; &lt;a title=&quot;&quot; href=&quot;http://aeriport.mobi/&quot;&gt;&lt;/a&gt; &lt;/h1&gt; &lt;div class=&quot;description&quot;&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;</code></pre> <p>If you don't ever intend having a blog title displayed, it probably doesn't matter too much where you put your image, but I've have a go at doing something like this:</p> <pre><code>&lt;div id=&quot;header&quot;&gt; &lt;div class=&quot;dp100&quot;&gt; &lt;p id=&quot;logop&quot;&gt;&lt;!-- because it&#039;s xhtml and so must be in a p rather than a div --&gt; &lt;img src=&quot;path/to/image/mylogo.png&quot; alt=&quot;&quot; title=&quot;&quot; /&gt; &lt;/p&gt; &lt;h1 id=&quot;blog-title&quot; class=&quot;blogtitle&quot;&gt; &lt;a title=&quot;&quot; href=&quot;http://aeriport.mobi/&quot;&gt;&lt;/a&gt; &lt;/h1&gt; &lt;div class=&quot;description&quot;&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;</code></pre> <p>Once you've done that, we can look at styling it so that it's in the right place and looking good.</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2377535" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 1 week ago <a href="#post-2377535">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>thanks for the info. If I want to do it in the Child Them I have just created to change of blog title (h2) - at the moment I only have syle.css file. </p> <p>&gt; How do i do it?<br/> &gt; Do I have to create a new file in my Child Theme Directory? If so, under which name </p></div> </div> </li> <li id="post-2377560" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 1 week ago <a href="#post-2377560">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>I take it you mean how do you add the logo to your header.</p> <p>Copy header.php from your parent theme into the child theme's directory. WP will then load that file instead of the parent theme's version. Since you've not made any changes, you should see none when you access your site - but check it, nonetheless.</p> <p>Now alter the child theme version of header.php to include the image.</p> <p>I would create a folder called <code>images</code> in your child theme's directory and put the image in there. You can then get hold of it like this:</p> <p><code>&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/yourimage.png&quot; alt=&quot;Your alt test&quot; title=&quot;Your title&quot; /&gt;</code></p> <p>(Where <code>yourimage.png</code> is the filename of the image you want to display).</p> <p>So put that code into header.php and let's see what it looks like. It'll probably take a bit of work to get it styled right, but it shouldn't be too hard.</p> <p>BTW, you may want to put an anchor around your image, pointing to the home page:</p> <p><code>&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;) ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/yourimage.png&quot; alt=&quot;Your alt test&quot; title=&quot;Your title&quot; /&gt;&lt;/a&gt;</code></p> <p>If you meant how do you add the site title and description, you should be outputting whatever has been configured as the title/description in your Dashboard settings. The fact that it isn't suggests you've not got anything in your settings.</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2377636" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 1 week ago <a href="#post-2377636">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Hi Peter,</p> <p>I have tried to follow your instructions:</p> <p>1) create a folder at Child Theme with "images" folder<br/> 2) Insert in the folder the logo file "logo.jpg"<br/> 3) To copy the "header.php" file into the Child Theme folder<br/> 4) To change the code as follows</p> <pre><code>&lt;div id=&quot;header&quot;&gt; &lt;div class=&quot;dp100&quot;&gt; &lt;p id=&quot;logop&quot;&gt;&lt;!-- because it&#039;s xhtml and so must be in a p rather than a div --&gt; &lt;img src=&quot;path/to/images/logo.jpg&quot; alt=&quot;&quot; title=&quot;&quot; /&gt;&lt;/p&gt; &lt;h1 id=&quot;blog-title&quot; class=&quot;blogtitle&quot;&gt; &lt;a title=&quot;&quot; href=&quot;http://aeriport.mobi/&quot;&gt;&lt;/a&gt;&lt;/h1&gt; &lt;div class=&quot;description&quot;&gt; &lt;/div&gt; &lt;/div&gt;&lt;!-- dp100 --&gt;</code></pre> <p>The results appear in general OK, except that I cannot se the logo. You might want to have a look at the outcome at <a href="https://web.archive.org/web/20111015070436/http://www.aeriport.mobi/" rel="nofollow">http://www.aeriport.mobi</a></p> <p>Cheers. </p></div> </div> </li> <li id="post-2377644" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 1 week ago <a href="#post-2377644">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>You copied this verbatim:</p> <p><code>&lt;img src=&quot;path/to/images/logo.jpg&quot; alt=&quot;&quot; title=&quot;&quot; /&gt;</code></p> <p>Read my previous post again, concerning how to obtain the path to the image.</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2377688" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 1 week ago <a href="#post-2377688">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Sorry! I change to this, but still does not work properly</p> <pre><code>&lt;div id=&quot;header&quot;&gt; &lt;div class=&quot;dp100&quot;&gt; &lt;p id=&quot;logop&quot;&gt;&lt;!-- because it&#039;s xhtml and so must be in a p rather than a div --&gt; &lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/logo.jpg&quot; alt=&quot;Your alt test&quot; title=&quot;Your title&quot; /&gt; &lt;/p&gt; &lt;h1 id=&quot;blog-title&quot; class=&quot;blogtitle&quot;&gt; &lt;a title=&quot;&quot; href=&quot;http://aeriport.mobi/&quot;&gt;&lt;/a&gt;&lt;/h1&gt; &lt;div class=&quot;description&quot;&gt; &lt;/div&gt;</code></pre></div> </div> </li> <li id="post-2378189" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 1 week ago <a href="#post-2378189">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Hmm. I'm doing something wrong.</p> <p>It's giving the src as <code><a href="https://web.archive.org/web/20111015070436/http://aeriport.mobi/" rel="nofollow">http://aeriport.mobi/</a></code> whereas we want:</p> <p><code><a href="https://web.archive.org/web/20111015070436/http://aeriport.mobi/wp-content/themes/your-theme-name/images/logo.jpg" rel="nofollow">http://aeriport.mobi/wp-content/themes/your-theme-name/images/logo.jpg</a></code></p> <p>(where 'your-theme-name' is the name of the directory in which your theme resides)</p> <p>Actually, did you do as I suggested and put your image in a sub-folder of your theme's directory?</p> <p>If you did, you could try hard-coding the <code>&lt;img&gt;</code> element:</p> <p><code>&lt;img src=&quot;http://aeriport.mobi/wp-content/themes/your-theme-name/images/logo.jpg&quot; alt=&quot;Your alt test&quot; title=&quot;Your title&quot; /&gt;</code></p> <p>Remember to put the proper value in for 'your-theme-name'</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2381949" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 5 days ago <a href="#post-2381949">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Hi, it is getting to complicated with my with the coding, as I know very litter about coding. To summarise the status:</p> <p>1) I use Code-Exntend Theme and I have created a Child Theme to avoid changing the code of the orginal theme. At the moment I have activated back Code-extend as the child did not work with the logo. </p> <p>2) I have created a folder called:<br/> Code-Extend-Child<br/> 3) I have created a folder inside 2) called:<br/> Images<br/> 4) I have inserted an image file called:<br/> logo.jpg</p> <p>&gt; What is the code I should write in the header.php file to insert in the Code-Extend-Child folder? I include the full content. </p> <p>`&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br/> &lt;html xmlns="http://www.w3.org/1999/xhtml" &lt;?php language_attributes() ?&gt;&gt;<br/> &lt;head profile="http://gmpg.org/xfn/11"&gt;<br/> &lt;meta http-equiv="content-type" content="&lt;?php bloginfo('html_type') ?&gt;; charset=&lt;?php bloginfo('charset') ?&gt;" /&gt;<br/> &lt;meta name="viewport" content="width=device-width" /&gt;<br/> &lt;title&gt;&lt;?php bloginfo('name'); wp_title();?&gt;&lt;/title&gt;<br/> &lt;link rel="stylesheet" type="text/css" href="&lt;?php bloginfo('stylesheet_url'); ?&gt;" /&gt;<br/> &lt;link rel="pingback" href="&lt;?php bloginfo('pingback_url') ?&gt;" /&gt;<br/> &lt;link rel="shortcut icon" href="/favicon.ico" /&gt;<br/> &lt;?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?&gt;<br/> &lt;?php wp_head() ?&gt;</p> <p>&lt;/head&gt;</p> <p>&lt;body &lt;?php body_class(); ?&gt;&gt; </p> <p>&lt;div id="wrapperpub"&gt;<br/> &lt;div id="header"&gt;<br/> &lt;div class="dp100"&gt;<br/> &lt;h1 id="blog-title" class="blogtitle"&gt;<a>" title="&lt;?php bloginfo('name') ?&gt;"&gt;&lt;?php bloginfo('name') ?&gt;</a>&lt;/h1&gt;<br/> &lt;div class="description"&gt;&lt;?php bloginfo('description'); ?&gt; &lt;/div&gt;<br/> &lt;/div&gt;&lt;!-- dp100 --&gt;<br/> &lt;/div&gt;&lt;!-- #header --&gt;<br/> &lt;/div&gt;&lt;!-- #wrapperpub --&gt;<br/> &lt;div class="clear"&gt;&lt;/div&gt;<br/> &lt;div id="wrapper"&gt;<br/> &lt;div id="access"&gt;<br/> &lt;?php wp_nav_menu(array( 'container_class' =&gt; 'menu-header', 'theme_location' =&gt; 'primary-menu',)); ?&gt;<br/> &lt;/div&gt;&lt;!-- #access --&gt;<br/> &lt;div class="clear"&gt;&lt;/div&gt; </p> <p>&gt;&gt; Could you include the above code with the changes to change the heading of the blog with the logo.jpg image please? </p></div> </div> </li> <li id="post-2381965" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 5 days ago <a href="#post-2381965">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>First of all just put an <code>&lt;img&gt;</code> element into header.php at the point where you want the image to appear. Give it the <code>width</code> and <code>height</code> attributes for the size you want. Just put <code>src=&quot;&quot;</code> for the moment, or use a url to an external image of about the right size that you happen to know of (e.g. <a href="https://web.archive.org/web/20111015070436/http://www.wales-legislation.org.uk/images/logo.gif)" rel="nofollow">http://www.wales-legislation.org.uk/images/logo.gif)</a> - if you just want something small for now.</p> <p>Then post that you've done it and I'll have a look at your outptu (you don't need to post it).</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2381976" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 5 days ago <a href="#post-2381976">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Sorry if I am asking too much, but would you be able to change the code of the above header.php file I include as to point to the logo file? My coding skills are nuls... If you write, so I can do a copy paste would help a lot. Thank you for your patience. </p></div> </div> </li> <li id="post-2381999" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 5 days ago <a href="#post-2381999">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>No. I'm sorry. I can't change your header.php file without access to your site. I can look at its output, but I can't change it.</p> <p>Also, I'd be doing work for you and that's not what this forum is about. It's about giving advice and (sometimes) instruction. If I was doing work for you, it would be a commercial contract.</p> <p>If you really do not have HTML/CSS/PHP skills, you should probably stick to an unmodified theme that's as near to what you want as you can get. Or learn the skills, of course. I'm all for that.</p> <p>Another choice would be to host your site at wordpress.com where you can pay for premium add-ons that include customisation.</p> <p>Sorry I can't be of more help.</p> <p>I just reviewed your posts above, BTW, and notice that you talked about creating a child theme folder Child Theme. If you really did call it "Child Theme" you need to alter that. Spaces in file and directory names are a really bad idea. I'd stick to lower case letters, too.</p> <p>We can fix this, but you'll need some patience and persistence because you'll be learning the necessary skills along the way.</p> <p>One thing I suspect from the review above is that you may not have activated your child theme. I'd start off, therefore, by:</p> <ul> <li>Activating the parent theme again (this will deactivate your child theme)</li> <li>making the changes to any directory names as I suggest above, and then making the necessary changes to reflect that in your child theme's style.css file</li> <li>Reactivating your minimal child theme</li> </ul> <p>Once you've done that, we can look at things again. But we're going to have to take things slowly. Rome wasn't built in a day.</p> <p>Cheers</p> <p>PAE</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2382770" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/84cc4d3327585002df49b73ce5cf29e4?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong>luispain</strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/luispain">Member</a></span><br/> Posted 5 days ago <a href="#post-2382770">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Hi Peter,</p> <p>Thanks again for the information. I will try to build Rome, step by step then, you right. Following your recommendations:</p> <p>1) I wrote my folder and file names in small letters and without spaces<br/> 2) I have reactivated the child them (only with a simple h2 size instruction)<br/> 3) I have inserted the logo, but using a different approach</p> <p>I have inserted the logo in the header image. However, the size was to big and I have reduced the heigh at the theme functions.php file. I saw the instructions in a <a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/topic/blank-blog-help-pls">forum </a></p> <p>Then, I would only miss one point to keep your recomendations, of keeping changes in the child envioronment. That is to have a functions.php file in the child directory. </p> <p>Which instructions the functions.php file located in the child directory should contain? I tried the following, but I got an error. </p> <pre><code>// gets included in the site header function header_style() { if (get_header_image() != &#039;&#039;){ ?&gt;&lt;style type=&quot;text/css&quot;&gt; div#header { background: url(&lt;?php header_image(); ?&gt;); height :105px; -moz-border-radius-topleft:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px; } &lt;?php if ( &#039;blank&#039; == get_header_textcolor() ) { ?&gt; h1.blogtitle,.description { display: none; } &lt;?php } else { ?&gt; h1.blogtitle a,.description { color:#&lt;?php header_textcolor() ?&gt;; } &lt;?php } ?&gt; &lt;/style&gt;&lt;?php } }</code></pre> <p>` </p></div> </div> </li> <li id="post-2383154" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 4 days ago <a href="#post-2383154">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>OK. Just to be clear. You simply want to know how to create your own functions.php file in your child theme, and what code to put in there?</p> <p>To create a functions.php file just create a file called functions.php in your child theme folder. That's it.</p> <p>To add code to it, just edit the file.</p> <p>As to <strong>what</strong> code you should add, I'm not sure any more exactly what you're trying to do, so can you tell me that and I'll see what I can do.</p> <p>Cheers</p> <p>PAE </p></div> </div> </li> <li id="post-2383173" class="postitem "> <div class="threadauthor col-3"> <p><img alt="" src="https://web.archive.org/web/20111015070436im_/http://www.gravatar.com/avatar/3be932ef29b7aad4b6ef794648d1c684?s=48&amp;d=monsterid&amp;r=g" class="photo avatar avatar-48" style="height:48px; width:48px;"/><strong><a href="https://web.archive.org/web/20111015070436/http://www.peredur.net/">peredur</a></strong><br/> <small><span class="authortitle"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/profile/peredur">Member</a></span><br/> Posted 4 days ago <a href="#post-2383173">#</a> </small> </p> </div> <div class="threadpost col-7"> <div class="post"><p>Ah! Sorry. I misread your post above.</p> <p>All you need to do after you've created your functions.php file in your child theme is this:</p> <ul> <li>Make sure your parent theme's function is wrapped in the PHP function <a href="https://web.archive.org/web/20111015070436/http://www.php.net/manual/en/function.function-exists.php">function_exists</a></li> <li>Copy your new version of functions.php from your parent theme to your child theme</li> <li>Put your parent theme version of function.php back like it was</li> </ul> <p>If your parent theme's version of the function is not surrounded by a <code>function_exists()</code> call, your theme does not really support child themes (i.e. it was probably written for an old version of WP). In this case, I would, temporarily, put the code in there and then contact the theme designers asking them to do the same.</p> <p>If all else fails, I would copy the parent theme into a brand new theme and add the calls myself, making your child theme a child of the brand new theme instead of the out-of-date original one. This is assuming that the original one is licensed under the GPL, of course.</p> <p>HTH</p> <p>PAE </p></div> </div> </li> </ol> <div id="topic-paging" class="col-3"> <p id="pages"></p> </div> <h2 class="post-form">Reply</h2> <p>You must <a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/bb-login.php">log in</a> to post.</p> </div> <div class="col-2 topicmeta"> <h4>About this Topic</h4> <ul> <li><a class="rsslink" href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/rss/topic/codium-extended-blog-title-image">RSS feed for this topic</a></li> <li>Started 2 weeks ago by luispain</li> <li><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/support/topic/codium-extended-blog-title-image#post-2383173">Latest reply</a> from peredur</li> <li id="resolution-flipper">This topic is not resolved</li> <li>WordPress version: 3.2.1</li> </ul> <div class="tags"> <h4>Tags</h4> <ul id="yourtaglist" class="tags-list list:tag"> <li id="tag-8677_8384469"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/tags/blog-title" rel="tag">blog-title</a> </li> <li id="tag-161120_8384469" class="alt"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/tags/codium" rel="tag">codium</a> </li> <li id="tag-17158_8384469"><a href="https://web.archive.org/web/20111015070436/http://wordpress.org/tags/image" rel="tag">image</a> </li> </ul> </div> </div> </div> </div> <br class="clear"/> <script type="text/javascript"> //<![CDATA[ document.write('<scr'+'ipt src="https://web.archive.org/web/20111015070436/http://crazyegg.com/pages/scripts/23144.js?'+(new Date()).getTime()+'" type="text/javascript"></'+'script>'); //]]> </script> <div id="footer"> <div class="wrapper"> <p> <a href="https://web.archive.org/web/20111015070436/http://wordpress.org/about/privacy/">Privacy</a> | <a href="https://web.archive.org/web/20111015070436/http://wordpress.org/about/license/">License / GPLv2</a> &nbsp; &nbsp; See also: <a href="https://web.archive.org/web/20111015070436/http://wordpress.com/?ref=wporg-footer" title="Hassle-free WP hosting">WordPress.com</a> | <a href="https://web.archive.org/web/20111015070436/http://wordpress.tv/" title="Videos, tutorials, WordCamps">WordPress.TV</a> | <a href="https://web.archive.org/web/20111015070436/http://central.wordcamp.org/" title="Find a WordPress event near your home">WordCamp</a> | <a href="https://web.archive.org/web/20111015070436/http://jobs.wordpress.net/" title="Find or post WordPress jobs">WP Jobs</a> | <a href="https://web.archive.org/web/20111015070436/http://ma.tt/" title="Co-founder of WordPress, an example of what WordPress can do">Matt</a> | <a href="https://web.archive.org/web/20111015070436/http://wordpress.org/news/feed/" class="rsslink">Blog RSS</a> </p> <br/> <iframe src="https://web.archive.org/web/20111015070436if_/http://www.facebook.com/plugins/like.php?app_id=121415197926116&amp;href=http%3A%2F%2Fwww.facebook.com%2Fwordpress&amp;send=false&amp;layout=button_count&amp;width=150&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=lucida+grande&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowtransparency="true"></iframe> <g:plusone size="medium" href="http://wordpress.org"></g:plusone> <iframe allowtransparency="true" frameborder="0" scrolling="no" src="https://web.archive.org/web/20111015070436if_/http://platform.twitter.com/widgets/follow_button.html?screen_name=WordPress&amp;show_count=false" style="width:150px; height:20px;"></iframe> <h6>Code is Poetry</h6> </div> </div> <script type="text/javascript">_qoptions={qacct:"p-18-mFEk4J448M"};</script> <script type="text/javascript" src="https://web.archive.org/web/20111015070436js_/http://edge.quantserve.com/quant.js"></script> <noscript><img src="https://web.archive.org/web/20111015070436im_/http://pixel.quantserve.com/pixel/p-18-mFEk4J448M.gif" style="display: none;" border="0" height="1" width="1" alt=""/></noscript> <!-- 8 queries, 0.270 seconds --> <script type="text/javascript" src="https://web.archive.org/web/20111015070436js_/http://s.gravatar.com/js/gprofiles.js"></script> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://web.archive.org/web/20111015070436/https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> </body> </html> <!-- web13.luv.wordpress.org --> <!-- FILE ARCHIVED ON 07:04:36 Oct 15, 2011 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 09:45:19 Nov 27, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.549 exclusion.robots: 0.027 exclusion.robots.policy: 0.017 esindex: 0.013 cdx.remote: 15.565 LoadShardBlock: 242.375 (3) PetaboxLoader3.datanode: 95.066 (4) PetaboxLoader3.resolve: 242.169 (3) load_resource: 198.912 -->

Pages: 1 2 3 4 5 6 7 8 9 10