Home › Forum › Customization › Put text above the picture/in the picture.
This topic contains 3 replies, has 2 voices, and was last updated by StartupWP 6 years, 6 months ago.
- AuthorPosts
- September 13, 2012 at 7:57 AM #216
When using the default templage twenty eleven you can put a text in there. As example My first wordpress website. It is possible to change it in that theme. But where can I find it in the Pro version? I checked and changed some settings but i cannot figure out how I can get it there.
September 13, 2012 at 4:04 PM #220Hi arjan,
It sounds like you’re asking if you can include the site title and logo together? Is that correct?
Please clarify, if that’s not correct so I can help you solve the correct request.
Thank You
September 13, 2012 at 11:55 PM #223Yes, that is correct.
September 14, 2012 at 3:42 AM #225You’ll want to setup a child theme:
https://startupwp.com/topic/child-theming/
Then copy over header.php from your parent theme. In your theme options you’ll want to choose the logo option. Then find the following in header.php:
<?php
if (!is_singular()) {echo '<h1>';}
echo '<a href="'.home_url().'/" title="'.esc_attr(get_bloginfo('name')).'" rel="home">';
if ($options['logo']!="")
echo '<img src="'.esc_url($options['logo']).'" alt="'.esc_attr(get_bloginfo('name')).'" id="logo" />';
else
echo esc_html(bloginfo( 'name' ));
echo '</a>';
if (!is_singular() ) {echo '</h1>';} ?>Either above or below this block of code, you’ll want to add:
<h1>Your Site Title</h1>
- AuthorPosts
You must be logged in to reply to this topic.