Anna Johansson
Forum Replies Created
-
Forum: Plugins
In reply to: [CMS Tree Page View] 1.2.33 breaks plugin – FixI can confirm that the problem (and fix) remains in 1.2.34
Forum: Hacks
In reply to: Prevent wp_redirect on edited tagAh, but of course! Didn’t even think of the fact that I can use add_filter on wp_redirect. Thank you for pointing that out, I was getting tunnel vision over here. ??
I’ve gotten this to work at the moment, but I’m crossing my fingers and not considering it a working solution until I’ve seen it working for at least a day since I had solutions earlier that also worked – for a while… haha
add_filter( 'wp_redirect', 'hip_prevent_redirect_on_term_edit', 10, 2 ); function hip_prevent_redirect_on_term_edit( $location, $status ){ $the_location = parse_url( $location ); $site = parse_url( site_url() ); if( $the_location['path'] === "/wp-admin/edit-tags.php" && $site['scheme'].$site['host'] === $the_location['scheme'].$the_location['host'] ) { $taxonomies_to_affect = array( 'omrade' ); // on which taxonomies we want this to happen parse_str( $the_location['query'], $query ); if( in_array( $query['taxonomy'], $taxonomies_to_affect ) ) { if( $_REQUEST['action'] == "editedtag" ) { // have we edited a tag? $location = $_REQUEST['_wp_http_referer']; // then go back to where we came from } } } return $location; }
Forum: Themes and Templates
In reply to: [Toolbox] How do I translate Toolbox?Just got an excellent tip elsewhere about https://www.icanlocalize.com/tools/php_scanner, which helped me out.
Forum: Themes and Templates
In reply to: [Toolbox] How do I translate Toolbox?A clarification: I understand that I need to create a [locale].php file but I’m unsure of how it needs to be formed to work.
Forum: Themes and Templates
In reply to: Enumerating postsYay!
Found the solution here:
https://www.ads-software.com/support/topic/375293?replies=5#post-1453605Forum: Plugins
In reply to: get_post_custom interfered by post tags (This is an odd one!)(argh, amps are being made into html even in backticks. annoying.)
Forum: Plugins
In reply to: get_post_custom interfered by post tags (This is an odd one!)Ah! But of course, now that you say it it…
Your code worked perfectly except for some minor stuff.
Here’s my new (and by you improved) code:
if (get_post_custom()&&$quote = get_post_meta($post->ID, 'quote', true)) { echo "<div class=\"quote\">$quote</div>"; }
Thank you for the help! =D
Forum: Your WordPress
In reply to: Feedback wanted!this is what the “end product” turned out like: https://vintagemaniac.net/
And about the design being distracting from the content, I think you have a valid point there and I wouldn’t use this design for a professional project. But that’s sort of the nice thing with having a small, personal blog which you can design…you can go a bit heywire when you feel like it! haha
Forum: Your WordPress
In reply to: Feedback wanted!I mostly use ColorLovers.
I’ve read about Kuler like a hundred times but never gotten around to try it out. will do! =)Forum: Your WordPress
In reply to: Feedback wanted!@jomilla: Ouch! ?? No seriously – I asked for an opinion, so I can deal with getting one.
I’m well aware that the design isn’t very unique, but that wasn’t my intent with it either so I’m pleased with the results anyway. You can clearly see that I was looking a lot at sites like https://www.freepeople.com and https://www.webdesignerwall.com when I came up with it.
I’ve been getting a pretty much 50/50 response on it; 50% feels like you and simply hates it, and the other 50% adores it and thinks it looks great. That’s opinions for you – everyone has one! ??
And even if I don’t agree with you I thank you for the input. It’s a good lesson in not taking things sooo personal! ??
@uulele: It might be that you’re experiencing problems with loading all of the graphics that makes it hard for you to read the text. (Although since the blog I’ve done this design for is in Swedish and the majority of my readers have broadband-connection I’m not to concerned about page loading times.)
@cneetz: You’re not the first one who says that and now that I’ve stopped sulking (hehe) I can see where you’re coming from actually. Altough I do want to keep that kind of faded feel to the design I will try some things out and see if I can’t find a golden middle. =)
Forum: Your WordPress
In reply to: Feedback wanted!It probably seem that way because I’ve made some changes to the highlight-colors in the content. F.e. “vintage maniac” is bright pink instead of yellow/orange and also I heightened the contrasts on the content backgrounds in Photoshop, to make the colors less dull.
I’ll give the main background the same treatment.. ??
Forum: Your WordPress
In reply to: Feedback wanted!The proper URL is in use now, https://www.annathewebdesigner.com (snazzy, isn’t it? lol)
Forum: Your WordPress
In reply to: Feedback wanted!Yeah, it’s good to be reminded of that sometimes so that the graphics and creativity don’t get in the way of the usability.
=)
Made some changes now, hopefully the page won’t be as slow to load now?
Forum: Your WordPress
In reply to: Feedback wanted!Ah! Now I understand, thanks for the clarification… =)
Being swedish I’m spoiled rotten with broadband-connection and sometimes forget about loading times… I’ll get right on optimizing that. Again, thanks for the heads up carlowens.
And thank you for the compliments… ??
Forum: Your WordPress
In reply to: Feedback wanted!What is it you’re having problem reading?
And fruity…haha..well, I suppose that’s a compliment since it’s supposed to be a kind of “cute” or “sweet” look… lol