Gotta nickel? I’m trying to raise enough money to buy a MacBook entirely in nickels. If you’d like to help, click here. Thanks!

LDS Linker 2.0

LDS Linker is a WordPress plugin I created that changes any Latter-day Saint scripture reference into a hyperlink pointing to the Internet Edition of the LDS Scriptures. It recognizes references whether the book name is written out or shortened using the standard abbreviations.

Here are some examples:

Moro. 10:3-5 is a scripture mastery verse. Other scripture mastery verses include Mosiah 4:30, D&C 130:22-23, and JS-H 1:15-20. I have Articles of Faith 1:1-13 memorized — how ’bout you?

Version 2.0 is a nearly complete rewrite of the plugin. The generated links now point directly to the referenced passage rather than performing a passage search. I also found and squashed a bunch of bugs.

You can download the plugin here:

A big thanks goes out to those who’ve helped me improve the code. Are you using LDS Linker? Please let me know what you think.

LDS Linker 1.4

A newer version of LDS Linker has been released. Please check the LDS Linker tag page for the most recent version.

LDS Linker is a WordPress plugin I created that changes any Latter-day Saint scripture reference into a hyperlink pointing to the Internet Edition of the LDS Scriptures. It recognizes references whether the book name is written out or shortened using the standard abbreviations.

Here are some examples:

Moro. 10:3-5 is a scripture mastery verse. Other scripture mastery verses include Mosiah 4:30, D&C 130:22-23, and JS-H 1:15-20. I have Articles of Faith 1:1-13 memorized — how ’bout you?

Version 1.2a stopped working a few months ago when the LDS church made significant changes to the way search queries are performed against their scripture system. Version 1.3 attempts to address that issue but probably doesn’t go far enough. I’m aware that D&C references are broken in this version (because the & symbol isn’t being encoded properly before being passed to scriptures.lds.org). I’m sure there are other issues I’m not aware of, so please let me know if you find anything fishy. I plan to rework the whole system soon so it links directly to passages instead of to search queries (i.e. Moro. 10:3-5 instead of Moro. 10:3-5).

Version 1.4 comes hot on the heels of 1.3 and fixes the Doctrine and Covenants links issue. I found that using the urlencode() function around the book name tamed that pesky ampersand into submission and thus restored the Doctrine and Covenants to the list of books LDS Linker can handle.

A big thanks to those who’ve helped me improve the code. Are you using LDS Linker? Please let me know what you think.

WordPress Plugin: LDS Linker 1.2a

A newer version of LDS Linker has been released. Please check the LDS Linker tag page for the most recent version.

LDS Linker is a WordPress plugin that changes any LDS scripture reference into a hyperlink pointing to the Internet Edition of the LDS Scriptures.

Continue reading “WordPress Plugin: LDS Linker 1.2a” →

WordPress Plugin: LDS Linker 1.1

A newer version of LDS Linker has been released. Please check the LDS Linker tag page for the most recent version.

Software is bound to have bugs, and my code is no exception (in fact, it’s probably buggier than most). After seeing my plugin in action on a few blogs, I noticed some D&C references weren’t getting linked.

It seems that, by default, WordPress encodes ampersands with the & entity rather than the & entity I was expecting. My Textile 2 plugin uses &, so the problem never came up in my testing.

Without further ado, here’s the new version:

Again, don’t hesitate to submit your feedback.

WordPress Plugin: LDS Linker 1.0

A newer version of LDS Linker has been released. Please check the LDS Linker tag page for the most recent version.

After much toil, I introduce LDS Linker, a WordPress plugin that changes any LDS scripture reference into a hyperlink pointing to the Internet Edition of the LDS Scriptures.

Continue reading “WordPress Plugin: LDS Linker 1.0” →