WordPress automatically handles YouTube links, which can be very helpful. However, this means you are stuck with whatever WordPress has configured, so if you want to customize how the videos are displayed – like eliminating the related video previews that display at the end of the video – you are out of luck…at least until you install this plugin. Continue reading “Modifying YouTube Video Display in WordPress”
Category: PHP
Who Needs Frameworks?
Here is my latest editorial for the May 2013 issue of php|architect magazine:
Who Needs Frameworks?
Beth Tucker Long
The title alone may get me some hate mail, but anyone who has discussed frameworks with me knows that I’m not shy about saying that I really don’t have a use for them. That’s not to say that I don’t think there’s a time and a place for them, just that for the majority of the projects that I do, a full-fledged framework is way over the top. There is something to be said for having more features than you know what to do with, but there’s also something to be said for not having to slog through 30 files to find what you need – or having to autoload 12 files to do one thing. Continue reading “Who Needs Frameworks?”
tek13 Debriefing
We just finished tek13, and it was an amazing time! We hit a few bumps in the road, as all events do, but all in all, everything ran very smoothly. This was the first php[tek] conference with musketeers.me (Kevin Bruce, Oscar Merida, Sandy Smith, Eli White, and myself), and despite having big shoes to fill, I think we nailed it. Continue reading “tek13 Debriefing”
Update WordPress Authentication Unique Keys and Salt
Ever since WordPress 2.6.0, there are keys and salt for authentication in your wp-config.php file. They look something like this:
define('AUTH_KEY', '43.%Qo~})0$uH}jn_vD@|@?XB3p&q.b|#Li3PLJvLD&&J|t`T7oMq]5&{r$c+fr2'); define('SECURE_AUTH_KEY', 'bk3i}wgjp2@;NIz4L>14;{m@tB/bql;)Kl<cJm8P}|F;S>(+pJWPp&^U4SMz$PZ8'); define('LOGGED_IN_KEY', 'DS(v +H[dZe]bm6kFvOlu!J7LJ)?c%^qC:|2A=_zixkw`o(TT%:G?t ?_-sX7<rp'); define('NONCE_KEY', '[t%`YC7lhO[L&sIA43/:-7>ZaJP`{m2CL-+JTGPCau#>Xqng~~.*J56j{Sxh>&KD'); define('AUTH_SALT', 'X;Y:h9.`H@he$]<fNHu2xx;2J%UN~7K%[F%4y*3,G8l[,c(SwkDxi-[ +-f}[To~'); define('SECURE_AUTH_SALT', 'bq- r~2>J`!18ei/|ZGzY0hyNMxC-Be;x3lVZnGS!V>o+.>rV*ab*r|@x,]e`d#D'); define('LOGGED_IN_SALT', '8nwkt|TD2:~lkE;8q{6hXw#=3+Xz!f)+.nvs:@(g-0Sr]f`i)meWiF*vsOGL#|9]'); define('NONCE_SALT', 'XT`ejK<~|otmbqu )[w[vI=g),D+[Y=KWm@u4n=Ay_[b4YT,aTqiAmCGPAHbkt)T');
You can set these to whatever you’d like, but if you’re like me, you are not really that interested in what these actually are as long as they are long enough and sufficiently random. Continue reading “Update WordPress Authentication Unique Keys and Salt”