Having Posts in Subdirectory While Rest in Root

I have tried for some time to make following: having WordPress installed in a root of host (like example.com) and having content below root (like example.com/page, or example.com/custom-post-type/entry), while having blog posts in special directory (like example.com/blog). This is needed when blog is not main type of content on WordPress powered website, but instead is… Read more Having Posts in Subdirectory While Rest in Root

How to use load_plugin_textdomain on activation of plugin

With my new plugin, Gravatar Signup Encouragement, I had a problem with translation of string that is used only on activation. That string contains default message that is saved in database. No matter what I tried, it would always save original string, not translation. After asking question on wp-hackers mailing list and exchanging several replies… Read more How to use load_plugin_textdomain on activation of plugin