Conditional page/post navigation links in WordPress

Update: This post has been replaced with an updated version. While creating a new theme for this site, I added some CSS styling around the page/post navigation links. For example, in my index.php page, I have the following HTML/WordPress code: <div class='navigation'> <span class='older'><?php next_posts_link('&laquo; Older Entries') ?></span> <span class='newer'><?php previous_posts_link('Newer Entries &raquo;') ?></span> </div> [...]

New site design

I finally got around to updating the theme for this site. It was quite an adventure learning about WordPress Themes and its API. The more I use WordPress, the more I like it! Thanks to my brother-in-law, Max, for helpful tips on my new logo and also to Michael Heilemann for his default WordPress theme, [...]

Running Ubuntu 7.10 in VMWare Player

I wanted to check out the latest Ubuntu release, so I downloaded the following VMWare image: http://isv-image.ubuntu.com/vmware/Ubuntu-7.10-server-i386.zip After extracting the 2 files, I opened Ubuntu-7.10-server-i386.vmx in VMWare Player. A dialog appeared asking me if I had moved or copied the image opened, so I selected “I copied it”. After which, I received an “error” saying [...]

Clearing VMWare Player Recent Virtual Machines list

The VMWare Player does not include an option to clear the list of “Recent Virtual Machines” (why not?!?!). Since the list of virtual machines that I had opened was growing quite long, I set out to find a way to clear it myself. After searching in a few places (Windows XP), I came across the [...]

Shared object error during cPanel Apache build

I was trying to add PHP Zip support on my cPanel server today and when Apache went to restart, it failed with the folowing error: Cannot load /usr/local/apache/libexec/mod_bwlimited.so into server: /usr/local/apache/libexec/mod_bwlimited.so: cannot open shared object file: No such file or directory After a Google search, I found that I needed to run: cd /usr/local/cpanel/apache /usr/local/apache/bin/apxs [...]

SimpleModal v1.0 released

While developing a recent project at work, I had the need to display a modal dialog. I started using jQuery recently and so I started by looking for a jQuery modal dialog plugin. I did find a couple of existing ones (jqModal and BlockUI), but neither did exactly what I was looking for. So…I decided [...]

Configuring WordPress

I’ve been playing with configuring WordPress (WP) for this site. After doing some research, I had a plan for how I wanted it to work. Basically, I wanted to use WP to manage my site (like a CMS) as well as for a blog. After a lot of trial and error, I think I’ve achieved [...]

Annoying system beep

Even with the volume turned off, if your PC has a system speaker, it can still emit a loud system beep. I was running some MySQL statements from the command line and every time there was an error…BEEP. To fix this, I could simply run the MySQL commands with the -b, –no-beep option, which turns [...]

  1. Pages:
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
Eric Martin
1home
2blog
3projects
4photography
5about
6contact
ssearch
ccomment
p/←previous
n/→next
ttop