Quantcast
Channel: wordpress – Gary Sieling
Browsing latest articles
Browse All 9 View Live

GeSHi WordPress Sample with Javascript

The WP-Syntax plugin allows easy insertion of code in blog posts, using GeSHi (Generic Syntax Highlighter). It supposedly supports over one hundred programming languages, including including PHP, HTML,...

View Article



Lessons Learned from 0 to 40,000 Readers

Starting Out I started writing a little over a year ago, after finding “Technical Blogging” by Antonio Cangiano through Hacker News. Since then, a bit over 40,000 people have read articles I’ve...

View Article

Image may be NSFW.
Clik here to view.

Optimizing WordPress Tag Pages

Normally I don’t like to write about “blogging,” but since website traffic generates some interesting data, it’s worth looking at it from a computer science perspective, to see the issues involved. By...

View Article

Image may be NSFW.
Clik here to view.

Installing the ELK stack on Azure

The “ELK stack” is an open source product offering used for indexing and searching server logs. This combines three open source tools (Elastic Search, LogStash, Kibana), which seem to be maintained by...

View Article

WordPress: Add custom text to posts matching a tag

The example below shows how to add text to the bottom of posts, based on specific conditions. To get the right value for “custom_text”, you likely just want to add a paragraph tag, but you can copy...

View Article


Image may be NSFW.
Clik here to view.

WordPress: Register Taxonomy Example (register_taxonomy)

If you create a new Post type in WordPress, it’s often useful to add a custom Taxonomy (similar to categories / tags on Posts). In this case, we’re adding an “error message” type (that contains lots of...

View Article

Image may be NSFW.
Clik here to view.

WordPress: Add a custom type with custom fields

If you’ve used any system that allows for custom fields / custom entities, you may find the WordPress system quite alien (e.g.: compare to SalesForce, Documentum, SharePoint etc). Like most tools, the...

View Article

WordPress: Exporting Settings for a plugin

Since every WordPress plugin runs custom PHP code, it can write to the filesystem, your database, and potentially remote storage (e.g. if you use a DropBox backup plugin). In this example I’m going to...

View Article


Customize WordPress footers by tag

Using the WordPress APIs, you can add custom footers to posts that key off tags. For instance, you could add links to related books on Amazon based on the topic of a post. This example will map tags to...

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images