The ideas behind the Open Source Software (OSS), and more recently Free License Open Source Software (FLOSS) movements has always been about providing great tools at little to no cost. However, in recent years open source technology has become increasingly complex. In my opinion, that means the real return on investment comes in learning these tools. That’s where Learnable comes in. Continue Reading…
This past weekend I had a WordPress website migration to make.
It wasn’t your traditional migration, as the domain changed. With well over 500 blog posts, it wasn’t a small move, but I did learn a few things that I would like to share with you all.
After importing the old database info into it’s new place, I went ahead and changed the WordPress settings via MySQL (maybe will cover this more later). I thought I was done, until I realized that all internal links were wrong. From images to URLs, the blog was essentially broken.
Knowing that I could run some MySQL magic and update all of these in one routine, I hit-up Google on the deets.
Here’s what I learned:
One of the best parts about the WordPress Standard Theme is the simple and yet powerful navigation bar that contains whatever you want. It has the capacity to contain eight preset social media icons or any custom buttons you want to include, the automated category navigation, or any endless number of custom navigation links that you create. At the same time, it would cool to make our website on all platforms (desktop, mobile) into an application looking format, simply by adjusting the location of the navigation bar.
Google can be a great resource when you’re doing web development or learning new stuff.
Have a problem? Need a solution? Have a question?
Chances are, someone has ran into a similar issue and the answer is just a web search away.
There is one problem, however.
It’s easy to mistakenly find outdated and antiquated information. That’s where PHP The Right Way comes in handy for those of you diggin’ into some PHP magic:
If you want to add some … uh … excuse the pun … class to the first post listed on your WordPress blog, here’s the solution. Maybe you hadn’t even thought of such a thing, but now that I’ve mentioned it, your creative mind has been flipped-on.
As with many WordPress mods, all you’ll have to do is add your snippet into your functions.php.
Website security is something you shouldn’t take lightly. I know it may seem like only high profile sites are targeted, but the truth of the matter is, everyone is vulnerable to a hack.
Whether it’s a personal blog, church website or large organization, protecting your WordPress wp-config.php file is a great step to adding added security. Understand that your wp-config.php file contains your database name, username and password. Information that you don’t want anyone to have. If someone can access your database, they can not only delete all of your WordPress data, but they can change your usernames and passwords, too!
Have you ever wanted to do a little something extra special with a sidebar widget title?
If you have, you quickly learn that WordPress strips out all of the HTML tags, making it absolutely impossible to do so.
But there’s a way.
With this snippet, you can add some bold and italics text awesomeness if you like (or other HTML tags for that matter).
I am a self-taught WordPress programmer that has been a wild roller coaster ride that has been full of experiences of major and minor successes as well as huge and numerous minor failures. If you are coding themes, plugins, or actually working on the WordPress developmental team, you will have to eventually work with “The Loop.”
The Loop controls the whole of the WordPress blog and is extremely powerful, yet simple. Unfortunately, for someone that comes into programming with WordPress and does not have anyone there to explain stuff with them, it can be extremely confusing.
Thankfully, we have been given a great visual illustration by wptuts+ that wonderfully shows how it runs and where you will need to make your changes for your own personal site.
On my personal blog I put an image at the top of each post. I’ve wanted to do this with WordPress’ Featured Image function, but haven’t gotten around to it, yet.
When I do, what will happen to all those old posts? What will happen when I try to use WordPress’ post thumbnail feature?
For my old posts, I will want to use the first image that’s found in the content or some sort of default if no image is present.
Of course, this is one example of many reasons why you would want to do this!
Here’s the code: