683 reputation
626
bio website traveling9to5.com
location Everywhere
age 28
visits member for 3 years, 8 months
seen 2 days ago

Heading around-the-world in 2012!

Follow my travels at Traveling 9 to 5

I also do custom web development and design.


Aug
8
comment When should you use WP_Query vs query_posts() vs get_posts()?
@Rarst I was referring to this section in the Codex for query_posts however, I may be mistaken regarding the effect on performance. Unless using WP_Query in your template file will also have the same result (i.e. throwing away your query, and re-executing)
Aug
8
comment Making a parent directory writable by the server
I would recommend only using 777 as a last resort, try 755 on the uploads directory first.
Aug
8
comment When should you use WP_Query vs query_posts() vs get_posts()?
I believe that query_posts is also less efficient in that it will run additional queries, when if you use only WP_Query for your main loop, it will only run the query you choose in WP_Query.
Aug
8
revised When should you use WP_Query vs query_posts() vs get_posts()?
changed query_post to query_posts
Aug
3
revised Issue with using .htaccess to redirect feedburner feed
Moved feedburner section to the top. Please allow this edit otherwise the code doesn't work if someone is to try it.
Aug
3
suggested suggested edit on Issue with using .htaccess to redirect feedburner feed
Aug
3
revised Issue with using .htaccess to redirect feedburner feed
Removed the RewriteCond line that was causing issues on my server. See SeanLee's comment on the answer about removing it.
Aug
2
comment Issue with using .htaccess to redirect feedburner feed
Actually, this doesn't work. You have to move the last RewriteCond and RewriteRule to be above the RewriteRule ^index\.php$ - [L] line. The article specifically says it has to be above the regular WP permalink section.
Aug
2
suggested suggested edit on Issue with using .htaccess to redirect feedburner feed
Aug
2
comment Issue with using .htaccess to redirect feedburner feed
duh, I wasn't redirecting the comments feed, so I think I glossed over that part. Thanks! Also, the only reason everything was separated out in my .htaccess is due to allowing WordPress up add in its own rules and the download monitor, and I just copied in the feedburner code. Yours is definitely cleaner.
Aug
2
comment Issue with using .htaccess to redirect feedburner feed
Ok, I used your version, and I can't get it to work, as in now none of the feed links redirect to FeedBurner. I will rephrase my question above.
Aug
2
revised Issue with using .htaccess to redirect feedburner feed
changed question, more specific.
Jul
31
comment Issue with using .htaccess to redirect feedburner feed
So, are you saying that the line: RewriteCond %{REQUEST_URI} ^/?feed.* [NC] is not required? It seems to work when I remove that line, but didn't understand why that line would be in the instructions.
Jul
28
answered Wordpress add_action the_post hook
Jul
28
answered Change image link: wp_get_attachment_link
Jul
28
comment Change image link: wp_get_attachment_link
Are you outputting these images and links in a template or are the links already contained within post/page content in WP and you want to somehow filter and edit them when the page is displayed?
Jul
27
comment Change image link: wp_get_attachment_link
Do images already exist at this size in your WP installation? Maybe it is defaulting to that size because the 150x150 size does not exist? You can use a plugin like Regenerate Thumbnails to create the sizes you need. If that's not the issue, then there is something else in your code (not posted) that is linking to the different sized image. If you view source on the page, what do the img tags and links look like?
Jul
27
answered Unwanted blank lines before <html> tag
Jul
27
awarded  Vox Populi
Jul
27
awarded  Citizen Patrol