cyberhobo


Member since 08/17/2009

Name: Dylan Kuhn

Location: Santa Fe, NM

Website: http://www.cyberhobo.net/hire-me

The word “cyberhobo” is an attempt to invent the kind of web developer I want to be: flexible, enthusiastic, mobile, savvy, unconventional, freedom-loving, honest, and determined to keep things simple. You may be able to benefit from my efforts to become a cyberhobo. If you’re a Geo Mashup user, you already have.

5 snippets

3525 profile views

3 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

cyberhobo's Recent SnippetsTagged template



« Prev 1 Next »
Geo Mashup contextual maps display the results of a WordPress query, so they can be very useful in combination with the WordPress `query_posts` function. This example maps post with an example tag, but any call to `query_posts` could be substituted....
0 839 posted 14 years ago by cyberhobo
This template code will work only in the WordPress Loop to include a map if the Geo Mashup plugin is active and the current post has a location.
0 871 posted 14 years ago by cyberhobo
Use this code in a WordPress template with the Geo Mashup plugin (see URL) to include a global map within a post or page, centered on that post or page's location, with marker highlighted.
0 713 posted 14 years ago by cyberhobo
This makes template code that applies to children of a particular page much more readable, especially if you can use a page path instead of an ID: `if ( is_child_of( 'topic/subtopic' ) ) :`.
1 870 posted 15 years ago by cyberhobo
There's no has\_children() function in WP 2.8.4, but get\_children() returns false if the post/page has no children, so it can serve the same purpose in a page template. Outside a page template you'd have to add a global declaration for the $post...
2 808 posted 15 years ago by cyberhobo
« Prev 1 Next »