Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for sql

WordPress: Hilfreiche SQL Queries

Einige hilfreiche SQL Queries für die Pflege eines WordPress Blogs von Cats who code:

Delete post revisions

DELETE a,b,c FROM wp_posts a WHERE a.post_type = 'revision' LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);

Find unused tags

SELECT * From wp_terms wt INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy='post_tag' AND wtt.count=0;

Disable comments on older posts

UPDATE wp_posts SET comment_status = 'closed' WHERE post_date < '2009-01-01' AND post_status = 'publish';

Joomal 1.5 nach WordPress 2.7 convertieren

Scheint ja gerade einen Trend zu WordPress zu geben, erst Drupal nach WordPress, nun Joomla nach WordPress.

Convert a Drupal 6 based Website to WordPress 2.7

Social CMS Buzz zeigt an einem Beispiel wie eine Drupal 6 Seite nach WordPress 2.7 convertiert wird.

Their are various reasons as to why you may wish to convert a Drupal 6 based website to WordPress, maybe you want to convert a blog originally built upon Drupal to WordPress, it could be that you want a system thats a little easier to code themes for, or maybe you just prefer WordPress over Drupal, for us the reason was simply server load due to the amount of MYSQL queries drupal was consuming for what is not really a complicated website.

Spannend. Allerdings wird man noch einiges an Arbeit leisten müssen wenn man CCK, Views und andere Goodies übernehmen will.

WordPress: Query Posts Widget

Ich glaube ein neues WordPress Widget hat Einzug in meine Toolbox erhalten: Query Posts Widget

It lets you displays posts by nearly any criteria you can imagine using the query_posts() function, except you don’t need to know anything about PHP to use it. (…) Nearly 40 options are available in this widget, which you can use any number of times.

WordPress: posts_where Hook

bueltge demonstriert einige Einsatzmöglichkeiten des posts_where Hooks.

Gezeigt werden:

  • Beiträge der Zukunft im Loop
  • Seiten im Loop
  • Nur Beiträge im Loop, die älter als 5 Tage sind


Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.