Decaflon

Welcome to Decaflon! Where the geeks hang out: Signup or Login Here
Decaflon is proudly hosted by (mt) Media Temple.  We recommend them for your web hosting needs.
Clips: Popular Clips Upcoming Clips Notes: All Notes

When I am at my main link of my blog http://wonderlandornot.net the link in firefox and ie browser appears as < ?php bloginfo('name'); in stead of as "wonderland or not , also when when I looked at a splog pingback the pingback also read that way - like this--->


[…] < ?php bloginfo('name'); ?> wrote an interesting post today on One Snowy Day.Here's a quick excerpt blah blah blah

The php thing being in place of the name of my blog.

This was not a problem in the past, so I assume it is theme related.

Any idea as to why this is happening?

Perhaps it's just you, or maybe you've fixed it already? I see your title just fine in Firefox, IE and Safari.

Same here, I get the "Wonderland or Not" title when using Firefox and Safari. If it's still screwed, here's an example of what working code looks like:

<title><?php if (is_home () ) { bloginfo('name'); }
elseif ( is_category() ) {
single_cat_title(); echo " - "; bloginfo('name');
} elseif (is_single() || is_page() ) {
single_post_title();
} else { wp_title('',true); }
?></title>

Try comparing and see if there's discrepancy.

Edit: I'm nowhere near an expert on PHP, but if this persists you're welcome to send me your code in PM.

Someone emailed me and told me it was the < and the ? which needed to have the space deleted. Of course I had a slightly newer file uploaded somewhere else on my compute, and used that to look for the space - which of course did not exist in that version. In the meantime I had replaced my code with the new one not realizing it was fixed, so I just spent twenty minutes looking for a space which didn't exist.

Thanks guys.

Every little thing I learn ads to my overall knowledge of something I never intended to learn anything about to begin with.

Spaces can be deadly...who knew.

Please Login To Leave A Comment

Decaflon Sponsors Get in touch if you want in.

Hot Notes (View all »)

 

Decaflon is part of the Chawlk Network of sites.

9 Great Places To Visit, Hang Out, & Meet New People

What's new and interesting at other Chawlk Network sites: