Hi. I’m Dre Armeda. I'm a Harley enthusiast, and a Chargers fan. I wear many hats, and love tacos. I'm infatuated with WordPress, web design, and web security. I work at Sucuri Security. I hope to help make the web a safer place!

Create An Awesome Instagram Photo Website Using WordPress

This week Instagram decided to change their terms which caught a lot of social attention, and the critics hammered them on their new position. After the backlash, we got a statement from Instagram co-founder giving his take on the changes.

What Now?

Sticking with Instagram is an option. Moving back to Flickr (which I also love) is also viable, along with other options I’m sure. I love the use of 3rd party apps, but my whole point in writing this quick article is to show you how to bring it all back to you, at least when it comes to Instagram.

The next few sections of this post will walk you through setting up WordPress to pull all of your existing images from Instagram, and also configure your WordPress site to auto-post all future Instagram images.

[Read more...]


If Pages Return A 404 After WordPress 3.1 Upgrade

Hi folks, if you haven’t heard already the newly polished version of WordPress was released today (It’s pure ninja magic!). If you haven’t upgraded already, you should. Here is the info on the new version.

I saw a few requests come in this morning for folks having permalink issues after upgrade. Now I am seeing similar issues being discussed on Twitter.

Here’s a quick post which outlines the steps I took to get this remedied for a few folks. If you upgraded, and now your pages or categories are giving you a 404, try the following:

Pages Returning 404′s

  1. Log in to wp-admin and go to permalinks, click save (this should refresh your permalinks). Check to see if this fixes your permalinks. If not, set to default. :)
  2. Disable your plugins to remove them out of the equation.
  3. Log into your server via sFTP/SSH/FTP and find your .htaccess file. It should be located in the root of your WordPress install.
  4. Pull the htaccess file down so that you have a local back up. Once you’ve pulled it down, go ahead and delete it from your server.
  5. Go back to wp-admin and visit your permalinks page. try enabling custom permalinks.
  6. This should remedy the issue and you can go ahead and reenable your plugins.

I also ran into a couple white screens of death, here’s how I got them working:

White Screen After Upgrade

If you run into the white screen of death when trying to log into wp-admin, try renaming your theme, then log in. Once you’re able to log in and update the database, rename the theme back to its original name.

The other thing you can try is uploading a fresh copy of WordPress onto your server. I know, I know, you just updated, why would you do that? Well, some servers are finicky, and some FTP clients don’t always play nice. In one instance today I fixed a white screen by simply re-uploading the /wp-admin directory. Done and done.

These tips worked well on a few troubled sites I encountered today. Hopefully you don’t see any issues, and are enjoying all the new goodness in 3.1.



HOW TO: Use WordPress Custom Fields with jQuery Post Carousel

I recently wrote a post explaining how to create a jQuery carousel with WordPress posts and it has received great feedback.

I expand on the original carousel post by quickly showing you how to use the power of WordPress custom fields to expand your output control even further from the WordPress admin panel.

Use WordPress Custom Fields in jQuery Carousel
[Read more...]


HOW TO: Variate WordPress Page Images With PHP

When I created Armeda.com I wanted an easy way to have a different title on each interior page based on an image.

This is a quick and dirty way to add one piece of code to page.php or to custom templates which will output a different image depending on the page title.

Different WordPress Image per Page using PHP
[Read more...]


HOW TO: Create a jQuery Carousel with WordPress Posts

Over the past few months I have had various requests for content sliders and carousels that integrate WordPress posts on each slide.

This post will give you a quick run down of how to easily add a simple and easily customizable carousel with WordPress posts from a specified category.

Create a jQuery Carousel with WordPress Post Integration

To give you an example of what we are going to put together, I have implemented a carousel on my demo site. I implemented a WordPress theme template for the index page, and integrated the carousel on that page. You can output this wherever you can add a WordPress loop with query_posts.

[Read more...]