alasdairsim
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Different pages & different templatesI found the problem with the code;
<?php
if( is_home() ) $my_sitename = ‘Enter Blog site name here’;
else $my_sitename = get_bloginfo(‘name);?>the (‘name) is missing an ‘…so it should be (‘name’). I must have deleted it at some point and not noticed.
Thanks for all your help Esmi.
Forum: Themes and Templates
In reply to: Different pages & different templatesI only thing I tried to change was the URL that the site title pointedtwo; so it pointed to the blog and not the static page.
I’ve since uploaded all of the original theme files – header.php etc… and it still gives me a blank page when I insert the code.
Forum: Themes and Templates
In reply to: Different pages & different templatesThe first fix worked initially now my site is just coming up as a blank white page with the
<?php if( is_home() ) $my_sitename = 'Enter Blog site name here'; else $my_sitename = get_bloginfo('name);?> <h1 class="masthead"><a href="<?php bloginfo('url');?>"><?php echo $my_sitename;?></a></h1>code there?
http://pastebin.com/bU6dvHQE is a link to the code in my header.php
Forum: Themes and Templates
In reply to: Different pages & different templatesemsi; it didn’t work unfortunately.
http://alasdairsim.com/blog/ still doesn’t show up any post date info unless you view the actual post.
Forum: Themes and Templates
In reply to: Different pages & different templatesThank you so much esmi! Worked perfectly.
Would you have any advice on my second problem? Apologies if this not the right section for it?
Forum: Themes and Templates
In reply to: Different pages & different templatesIn my first post I said that I wanted to “change the page title” for my blog page; I mean the title of the site that you enter in Settings > Site Title.