Articles tagged with php

  1. Listing WordPress Database Queries

    Posted on in Programming

    WordPress Horizontal Logo If you need to debug what queries your WordPress site is making, try adding the following PHP to your theme:

    <?php
      foreach ( $wpdb->queries as $query ) {
        echo "$query[0]<br />";
      }
    ?>
    

    For this code to work, you need to add the following line to wp-config.php:

    define('SAVEQUERIES', true);
    

    After that …

  2. Suggest Tags WordPress Plugin

    Posted on in Programming

    Fomenteu la lectura\<br /> Photograph by Marc Garrido i PuigFor the last couple of years, I've used the Tag Suggest Thing WordPress plugin to recommend tags for my posts based on the post content. Beginning with WordPress 2.5, that plugin started to have problems interacting with the WordPress administration pages. In August 2009, Yahoo! announced that they would …

  3. Let's Install JSON for PHP 5

    Posted on in System Administration

    I recently started messing around with building my own Facebook application. I figured the best way to start learning was to download the demo application and get it working on the Slaptijack web server. I quickly ran into a problem:

    PHP Fatal error:  Call to undefined function json_encode()
    

    The problem …

  4. SlaptiGooglePR Plugin for WordPress Now in Beta

    Posted on in Programming

    The SlaptiGooglePR Plugin for WordPress adds a Google PageRank column to your Manage Posts subpanel. Unlike other Google PageRank plugins which add a PageRank badge to every post, this plugin gives the blog administrator a snapshot of how every post is ranked without announcing it to the world. Additionally, it …

Slaptijack's Koding Kraken