JeppeBlomgren
Forum Replies Created
-
Bump
Forum: Plugins
In reply to: [Weather Underground] Custom IconsHello all,
just wanted to say that my orignial issue is solved. For some reason the first feedback of this post solved it:
I had the same issue yesterday. I changed the following line (note the “-ak” part):
$content = preg_replace(‘/http\:\/\/icons\-ak\.wxug\.com\/i\/c\/[a-z]\/(.*?)\.gif/ism’, $myIconFolder.’$1′.$myFileType, $content);
It’s just the issue of it being very slow to react to the new setting. Maybe this is my server playing tricks on me. I don’t know.
Thanks everyone for your help
cheers / JeppeForum: Plugins
In reply to: [Weather Underground] Custom IconsIt would be great if the author commented on this. It’s obvious something is not right. I just now change my filetype again top .png. And the url still looks in my icons folder for a .gif. Is there some sort of cache function in this plugin that takes a lot of time to update?
cheers again
Forum: Plugins
In reply to: [Weather Underground] Custom IconsThanks MixedMediaGraphics. I tried that but then it just reverts to the standard url. Really wierd. And also it takes a very long time to see the changes.
About icon size. Can’t you just change the size of the image? Or, just find the riggt css-selector and modify that?
cheers
Forum: Plugins
In reply to: [Weather Underground] Custom IconsHi again, after a little while with the above code it all of a sudden changed url to my images. Allthough, how do I do if I want my own images to be png:s instead of gif:s?
Forum: Plugins
In reply to: [Weather Underground] Custom IconsHey daveyank,
that unfortunately did’nt change anything for me. I must do something else wrong.
I’ll post the whole code here. See anything abnormal?
add_filter('wp_wunderground_forecast_icon', 'use_custom_wunderground_icons'); function use_custom_wunderground_icons($content=null) { $myIconFolder = 'dev.skisunne.se/wp-content/themes/SkiS-2/include/css/images/wicons/'; $myFileType = '.gif'; $content = preg_replace('/http\:\/\/icons\-ak\.wxug\.com\/i\/c\/[a-z]\/(.*?)\.gif/ism', $myIconFolder.'$1'.$myFileType, $content); return $content; }
Forum: Plugins
In reply to: [Twitget] LanguageI understand. No stress at all really. Good luck with your exams.
Cheers
Forum: Plugins
In reply to: [Twitget] LanguageHi Bo?tjan, any progress on the locale thingy?
Cheers /Jeppe
Forum: Plugins
In reply to: [Visual Form Builder] Date formatOh, sorry, didn’t see that. Thanks!
cheers / Jeppe
Forum: Plugins
In reply to: [Twitget] LanguageHi,
yeah, i.e now it says Thu 2nd May 13 and I want it to say that but in Swedish. Which would be tor 2 maj.
Cheers Jeppe
Forum: Plugins
In reply to: [Twitget] ShortcodeOfcourse I will. Just going to try it out a little more ??
Forum: Plugins
In reply to: [Twitget] ShortcodeYou’re a star! Thanks a lot.
Forum: Plugins
In reply to: [Twitget] ShortcodeGreat ??
Forum: Themes and Templates
In reply to: How to pull excerpt from Advanced Custom FieldHi again. That still doesnt do it for me the way i need this. You see, my client can’t or isn’t supposed to know how to write tags. If I make manual excerpts she will have to write the tags herself. That is going to end up in my lap anyway. S? what I need is an automatic excerpt (she writes really long posts) for the first page. But at the same time I want especially links to work in the excerpt since some post are very short, and doesnt excced the word limit, hence does not not get a read more link. If the link isn’t visible and you cant klick to go se the post where link is clickable – its useless.
I guess I’m trying to make the site idiot proof. Any more suggestions?
Cheers / Jeppe
Forum: Themes and Templates
In reply to: How to pull excerpt from Advanced Custom FieldAha, so manual excerpt shows tags? Didn’t know that. I’ll try it.
Thanks again
/Jeppe