Ben Sutcliffe
Forum Replies Created
-
It looks great now!
Don’t worry about Google, they’ll come ??
Try removing the
– it might get rid of the gap.In header.php you currently have this:
<title><?php if (is_single() || is_page() || is_archive()) { wp_title(”,true); } else { bloginfo(‘description’); } ?></title>
If the user is looking at a post/page/archive then the post title is shown, if not the description is shown. Looking at your blog you don’t have this set in the dashboard.
Now that it’s not showing up, reinstate “The Adventures Of Penny Plastic” as your blog title in the dashboard. Then put
<?php wp_title('|', true, 'right'); ?>
in between the
<title>
tags, deleting what was already there. The ‘|’ will appear between your blog title and the page name (ie. “Post | The Adventures…”) – you might like to use “-” or “:”.Alternatively you can just delete the PHP and put “The Adventures…” in between the title tags.
It will take some time for Google to change. If you use a Sitemaps plugin you should “ping” or “rebuild” it from it’s admin panel in the dashboard.
Replace
<div id="container"> <div id="page"> <div id="masthead"> <div id="logo"><a href="<?php bloginfo('url'); ?>"<?php if (is_home()) echo(' rel="nofollow"'); ?>><?php bloginfo('name'); ?></a></div>
with
<div id="container"> <div id="page"> <div id="masthead"> <div id="logo"> </div>
That will remove the blog title text (he says).
Forum: Themes and Templates
In reply to: Search bar out of lineOkay, looks fine in Safari but I see what you mean in Firefox.
Have you set the searchform to
float:right;
? If so, have you also set the menu tofloat:left;
in your stylesheet? Once you have both of these set try placing the searchform code above the menu code. Once that has floated right the menu should slide up to the left if it’s not too wide.@pennyplastic Can you post some of what is in your header code? Anything after the
<body>
tag.Forum: Themes and Templates
In reply to: navigation menu questionHome highlights because when it is selected it is marked as the current page:
if(!is_category() && !is_page() && !is_single()) { ?> class="current-page"<?php } ?>
NB. It would be nicer to change that to
<?php if(is_home()) echo ' class="current-page" '; ?>
At the moment you can’t highlight a category that is selected using
wp_list_categories()
. The only way of getting round it would be to manually insert each category – for example:<li<?php if(is_category('Xcategory nameX')) echo " class=\"current-page\"?>><a href="<?php bloginfo('siteurl'); ?>Xcategory linkX">Xcategory nameX</a></li>
There may be other scripts and/or plugins out there that will do this without the hassle, but that’s the basic fix.
Forum: Themes and Templates
In reply to: Removing default bullet in ‘.postmetadata’ sectionThe >> arrows are created by the html string
»
. To remove them from the Comments, for example, find the code (or similar code)comments_popup_link('No Comments »', '1 Comment »', '% Comments »');
in archive.php and delete the
»
bit. This function will be contained within ‘the loop’:<?php while (have_posts()) : the_post(); ?>
Edit You will find the
»
for the “older entries” and “newer entries” in functions such asnext_posts_link('« Older Entries')
andprevious_posts_link('Newer Entries »')
in single.php. Note that as the arrows are pointing left the code is«
.Sorry, you actually want to delete:
<a href="<?php some code ?>" rel="nofollow"><?php some other code ?></a>
As I don’t know your theme you might want to replace it with
.Also get rid of the two
<h1>
tags.In your theme look at header.php (if it doesn’t exist see the top bit of index.php).
You will see
<div id="masthead"> <div id="logo"><a href="<?php some code ?>" rel="nofollow"><?php some other code ?></a></div> <h1><?php title code; ?></h1> </div>
Delete the entire line with the
<h1>
tags. When you reinstate your blog title from the dashboard you should see that it’s gone but shows up as the page title (in the top of Internet Explorer).Forum: Installing WordPress
In reply to: Old Site, New Server: Dashboard works but blank homepageCheck with your host that mod_rewrite is available. If it’s not, then the only permalink structure you can use is myblog.com?p=postid.
On some hosts when you delete files the folder won’t delete as there are hidden files that are marked read only. This could be a file such as “dwsync.xml”, “Thumbs.db” or a file used by your host to monitor it’s progress in backing up the server. I’ve only ever seen this on Plus hosting, but talk to your host and ask about WordPress installations. You might like to try another host, or even wordpress.com if you intend to continue using k2.
Forum: Installing WordPress
In reply to: Video In My BlogIn a new post (or an old one that you’re editing) click the film clip icon next to “Upload/Insert”. You might also like to browse the plugin directory for YouTube or similar integration.
Forum: Installing WordPress
In reply to: Redirect LoopSolved. Speak to your host about
mod_rewrite
if you suffer similar.Forum: Installing WordPress
In reply to: Upgrade from 2.6.5 to 2.7 failing badlyWhat exactly did you change?
I have the same problem? Loading just loops for the front end then fails, although back end works fine.