hzlzh
Forum Replies Created
-
Forum: Plugins
In reply to: [Seriously Simple Podcasting] We need `content:encoded` come backthx, I will reply at github then
Forum: Themes and Templates
In reply to: [Dot-B] [Feedback]How can I change the fonts?Answer:
Include font file intowp-header.php
by adding code like this:<link rel='stylesheet' id='googlefonts-css' href='https://fonts.googleapis.com/css?family=Electrolize:400&subset=latin' type='text/css' media='all' />
Then change code
/Dot-B/style.css
**Line 15**:
https://github.com/hzlzh/Dot-B/blob/master/style.cssbody{font:13px/18px "Electrolize",Tahoma,Arial,Helvetica,sans-serif; color:#555; line-height:1}
Forum: Themes and Templates
In reply to: [Dot-B] How can I get rid of the search-entry?Answer:
You can remove the search area by adding those CSS style code below into/dot-b/style.css
#header_search_area{display:none;}
Forum: Themes and Templates
In reply to: [Dot-B] multi-language Dot-B themeAnswer:
For now, this version(v1.8.8) doesn’t support dutch language.
So you may need to change it directly in the comments.php Line 10<h2 id="comments-title"><span>{ <a href="#respond" rel="nofollow">"><?php _e('Leave a Reply ?', 'dot-b'); ?></a> }</span></h2>
But if you want to change the English text in the index page and text like Posted on, you may need to make a dutch language file, that would be wonderful and I will add your credit into the my release page.
The source language file is below:
https://github.com/hzlzh/Dot-B/blob/master/languages/Dot-B.pot
You can translate it into dutch, then rename & save the filenl_NL.po
in/Dot-B/languages/
and send it to me, ??If you need any further support, feel free to let me know.
Forum: Plugins
In reply to: [Search in Place] A little presentation problemtry this
.search-in-place{top:53px!important;}
Enjoy it!
Hi hmeurer,
Can you tell me more about
forced the image
I want to find out which problem you met, and I want to tell you that if your theme made a standard WordPress comment list function, this plugin will works very well, otherwise please use the ‘code’ instead of Auto settings via here.
By using code like this:
<?php if (function_exists("CID_init")) { CID_print_comment_flag(); echo ' ';CID_print_comment_browser(); } ?>
This plugin can work well in any WordPress themes.
Also the next version will release soon.
Forum: Fixing WordPress
In reply to: wp_list_categories with each item having a different colourI think use some JQ functions maybe helpful.
Just choose the right
<li>
and give them different colorsstyle="color:#"
.Forum: Fixing WordPress
In reply to: Fatal ErrorRemove this widget
Arras_Widget_Tag_Cloud
from you admin pannel. May be this is not supported any longer.Forum: Fixing WordPress
In reply to: Is my site hacke?Some JS oor PHP code problem I think, for the image are still there ->
https://cafelaguna.com/wp-content/gallery/rotator/5.jpgForum: Fixing WordPress
In reply to: Navigation Text colorstyle.css:(line 399)
color: #AAA;Forum: Fixing WordPress
In reply to: Google Search Rank Lossoh, that is it. I think you should not worried about it, because Google made a lot changes on PR, no only the time gap but also the value. So what you need to do is some High-quality updates article.
Forum: Fixing WordPress
In reply to: Custom Default Avatar Image Not ShowingA plugin is ok, :).
Also I use another way to Cache avatar myself to speed to loading time.
see this:
/* Mini Gavatar Cache by Willin Kan. */ function my_avatar( $email, $size = '42', $default = '', $alt = false ) { $alt = (false === $alt) ? '' : esc_attr( $alt ); $f = md5( strtolower( $email ) ); $a = get_bloginfo('wpurl'). '/avatar/'. $f. '.jpg'; $e = ABSPATH. 'avatar/'. $f. '.jpg'; $t = 1209600; //set the time of caching image if ( empty($default) ) $default = get_bloginfo('template_directory'). '/img/default.jpg'; if ( !is_file($e) || (time() - filemtime($e)) > $t ){ //recreate the avatar cache image when the time is over 14 days $r = get_option('avatar_rating'); //$g = sprintf( "https://%d.gravatar.com", ( hexdec( $f{0} ) % 2 ) ). '/avatar/'. $f. '?s='. $size. '&d='. $default. '&r='. $r; // wp 3.0 serve host $g = 'https://www.gravatar.com/avatar/'. $f. '?s='. $size. '&d='. $default. '&r='. $r; // use the fast host copy($g, $e); $a = esc_attr($g); } if (filesize($e) < 500) copy($default, $e); $avatar = "<img title='{$alt}' alt='{$alt}' src='{$a}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />"; return apply_filters('my_avatar', $avatar, $email, $size, $default, $alt); } // -- END --
tips:
1,I just added those code into myfunctions.php
;
2,i create a/avatar/
dir in my theme, and *important* I give a777
to this dir.
3,I put a default image into it. just likethen, I got all the functions works well, check this post[I’m sorry for the chinese words ?? ]:
Please make sure that you have a backup of
functions.php
before any steps if you want try this.Forum: Fixing WordPress
In reply to: Google Search Rank LossA punishment to Over-optimization? because I heard your paid some SEOer.
Forum: Fixing WordPress
In reply to: Custom Default Avatar Image Not ShowingYes, I used to change the default avatar image into a
Game icon
and i mad it.also I think you can put the image in any DIR you want, both your theme dir or your WP root dir, that’s ok, just set the right URL in the function.
I just did like this