I had a site under alpha.mydomain.tld and when I changed it to www.mydomain.tld I did it trough the Settings of WordPress without changing anything else. I added the new domains to my nginx-configuration without removing the alpha subdomain and I got a lot of issues with WordPress cookies. By e.g., I logged in to /wp-admin, [...]
Tag Archives: WordPress
WordPress: Paginating with query_posts()
I discovered, in not a very amusing way that if you use query_posts() then the variables for paginating with The Loop stop working. Fixing this is easy, just add to paged option on the array the variable $paged, in this way: query_posts( ‘posts_per_page’ => 15, ‘paged’ => $paged, ); Or if you don’t use it [...]
Dear Lazyweb: Arrange posts on WordPress by weight
I have searched all these days a WordPress plugin that let’s me arrange my posts by weight or some kind of score system so I can do something like: query_posts(‘category_name=’.$current_category.’&posts_per_page=1&min_weight=80&max_weight=100′); Then only shows the last post with a weight between 80 and 100, and so on. Any clue of any plugin that does anything at [...]
snipmate.vim snippets
I’m a long-time snipmate.vim user and I’ve been adding occasionally some snippets to it, and today I want to share it to everyone who may be interested on using them. All of them are CSS3, Javascript and HTML5 related, plus 2 (or something) for PHP+WordPress. Anyway, if any of you use WordPress+PHP and use snippets [...]
WordPress update 3.0.4
Fixes XSS vulnerabilities, please update your blog if you use WordPress. See more…
Migrado el website desde Drupal hacia WordPress
Una de las pocas razones que tenía para usar Drupal en vez de WordPress para mi blog era que usaba PostgreSQL y WordPress no es compatible sino con MySQL, sin embargo, ya había cambiado a MySQL hace un tiempo por haber perdido los datos de mi servidor. De cualquier manera, me dió pereza hacer el [...]


