February 10, 2011 at 11:39 am #3009
I’m looking at using the Additional Headline as opposed to the Page Title as I feel it look neater and gives that little bit of separation to the page. I’ve modified the template_fullwidth.php (Line 37) – not sure if this is correct or not?
Iine 37 now reads:
<a>" rel="bookmark" title="<?php _e('Permanent Link:','avisio')?> <?php the_title(); ?>"></a>
<a>" rel="bookmark" title="<?php _e('Permanent Link:','avisio')?> <?php the_title(); ?>"><?php the_title(); ?></a>
This seems to work for Parent pages, but when you add child pages, they show the Page Title. Obviously I’ve gone wrong somewhere. Can you let me know where?
I’m also looking at reducing the space before the page content is displayed. Can you let me know what I need to do here?
Many Thanks for a great theme and your time in answer my questions
MarcFebruary 10, 2011 at 2:06 pm #40235
Can you post a link to your site?
The code above has been interpreted as HTML so didn’t display correctly, you need to wrap the text in
<code>tags so it shows up correctly or you can use a service such as PasteBin to copy & paste code in.
JamesFebruary 10, 2011 at 2:32 pm #40236
Thanks for the reply! here is my site: http://marcs-studio.co.uk/test/ As you’ll see the first 2 menu items (Our Style & Our Advice) are ok, but the child pages of Our Advice still show the Page Title and the subsequent top level menu items are also showing the title.
MarcFebruary 11, 2011 at 7:49 am #40237
delete following code in template_fullwidth.php
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','avisio')?> <?php the_title(); ?>"><?php the_title(); ?>
This will remove the second headline….February 11, 2011 at 11:02 am #40238
Thanks Dude but…
I’ve deleted those lines, updated the file on the server and still get the same problem. I’ve even deleted the WP-page and recreated it, but still see the same problem.
Any ideas?February 11, 2011 at 2:09 pm #40239
Forget the above I’ve now sorted it. Not too sure what was going on, but its working now.
Many Thanks again for your help – it is apreciated!!February 11, 2011 at 4:07 pm #40240February 11, 2011 at 8:02 pm #40241
The topic ‘Page title & additional headline’ is closed to new replies.