urseetaeler
Forum Replies Created
-
This certainly a possible solution, but I wonder whether it does not work when I add *baiduspider* to advanced blocking? Can you please comment on this “bug”.
Bernhard
Forum: Installing WordPress
In reply to: Upgrade to 4.0 almost all images goneNo idea?
Forum: Themes and Templates
In reply to: [twenty eleven] post date a mess – function not properly workingI got it. You were both correct, but I didnot find the date / strftime settings. Now I looked in the qtranslate settings and found them. Well, I have settled in the meantime for emptiness as theme. That fits also nicely.
Thanks a lot!
Bernhard
if ( ( $count % 2 ) == 0 )
/*echo '<li class="share-end">';*/
echo '?';
$count++;
}
?>
<!--<li class="share-end">--></div>
</div><?php endif; ?>
Compare the line
<!–<li class=”share-end”>–>
to the original line
<li class=”share-end”>Sorry to be late. BTW This is html and not PHP code.
Forum: Themes and Templates
In reply to: [twenty eleven] post date a mess – function not properly workingI was not content with 20-11, thus I changed to emptiness as a theme: That resulted in an improved date (still some persent-P symbol) which I do not understand, and more important for me, in sidebars on single post or article pages.
now the_date() function returns
19 Aug 2011, 10:19%P
Does anyone know where the %P comes from?
Thanks for answers
Bernhard
Forum: Themes and Templates
In reply to: [twenty eleven] post date a mess – function not properly workingStrange! I have tried to look where the date and time functions are used in 20-11. I wonder whether and where
if ( ! function_exists( 'twentyeleven_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. * Create your own twentyeleven_posted_on to override in a child theme * * @since Twenty Eleven 1.0 */ function twentyeleven_posted_on() { printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), esc_html( get_the_author() ) ); } endif;
(code from functions.php of 20-11)
uses the settings in Settings->General.
Bernhard
Basically the problem is in the code:
line 241 to line 247 in sharing.php reads (white space partially removed):
if ( ( $count % 2 ) == 0 ) echo '<li class="share-end">'; $count++; } ?> <li class="share-end">
I think this is not at all needed! empty list items are IMHO a mess.
I changed these lines and analog lines in sharing-service.php and got rid of the empty item.
May be this helps others.
Bernhard
I checked the file and the line was already removed. Thus I wonder whether the error with non-asci code can be solved with enhancing the memory limit.
I will test later this day.I have 1.7.4, and the freshest wordpress: 3.1.3
bernhard
I had issues with thumbnail generations: As long as the filenames contained german umlaute like ?ü?, thumbnail generation failed. when i changed that to pure acsii, it worked. since everything I use is utf-8, this looks for some change.
hi,
any help possible?
Bernhard