billbennett
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WordPress SEO by Yoast] WC3 identifies Opengraph metadata as invalidThanks Joost, that’s just the help I needed.
I was trying to be clever and changed
<html <?php language_attributes(); ?>>
to
<html dir=”ltr” lang=”en-NZ”>
The validator doesn’t like it. It turns out the NZ should be lower case.
Forum: Fixing WordPress
In reply to: Google Webmasters tools chokes on /wp-admin/admin-ajax.phpI wasn’t so concerned about the SEO as whether the robots had stumbled on something they shouldn’t have done.
Has anyone found an alternative plug-in that does a similar job?
Forum: Fixing WordPress
In reply to: Redirect errors, loops and permalinksThere are no unusual htaccess rules.
I’m using the Redirection plug-in, but there are no redirects from these numbered URLs – I’ve actually got six mysterious ones to worry about.
There’s no indication from Webmasters tools where they come from.
I get them in sitemap errors – even though they are not in the sitemap. The most recent sitemap error has a November date – which made me think it could be some hangover from the past.
However they also show in the Not Followed section and the most recent date there is only three days ago – so whatever causes them is still on my site – somewhere.
Forum: Fixing WordPress
In reply to: Redirect errors, loops and permalinksIs the URL you posted supposed to be a valid page? Is it linked to from elsewhere?
No, it’s not a valid page, the database entry with that number (I assume that’s what the URL is supposed to point at) is just the email address I use for my WP account.
Forum: Fixing WordPress
In reply to: Home page links to stats in dashboard.I think my problem is related. I’m running 3.1 and I get a “The requested URL could not be retrieved” message in the Stats box on my dashboard.
The error message tells me to contact my cache administrator – so I assumed this was something to do with the cache plug-in, but deactivating all plug-ins has no effect.
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenThis is now working, along the way I had to swap out the references to
<?php the_content
to
<?php the-excerpt
but that fixed it. Maybe this was the problem in the first place?
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenThanks Alchymyth. I think you’ve already gone well beyond the call of duty.
I’ll give this other suggestion a try later.
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenMoving the code to the parent functions.php didn’t seem to make any difference.
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenDefinitely not a plug in problem…just deactivated and nothing changed
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenYes, that’s it for functions.php – I had others previously, but have since stripped it back to nothing.
I’m sure nothing is changed in the parent Twenty Ten functions, but to make certain, I’ll reload a fresh file.
I’ll try making the change to the parent function.php file later – maybe later today.
First I’m going to deactivate plug-ins and investigate this as a potential problem.
My site is https://billbennett.co.nz
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenThanks
I appreciate this, I also hope it will help others.
Functions.php is saved at: https://wordpress.pastebin.com/wPVm5Q9M
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenYes to all three.
I tried searching for the content in the SQL database – and searching for the field name – I can’t find either, but they MUST be there somewhere.
Could there be a problem with the way the loop calls the function?:
<div class="entry-content"> <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> </div><!-- .entry-content -->
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenIt’s hard to see why this isn’t working.
I’ve added the code to functions.php which is in the child theme directory.
If I add a custom field entry it flashes yellow – which is a good sign.
But continue reading doesn’t change on the home page or on the archive pages.
Forum: Themes and Templates
In reply to: Custom "continue reading" in TwentytenI’ve loaded the function into my child theme without a problem, but don’t have it working properly yet. Will spend the later part of today trying to figure out why ??