background preloader

Wordpress Hacks

Facebook Twitter

Changing Default WordPress Media Link URL. When selecting a media from your WordPress Media Library, by default the Link URL selected, is the File URL.

Changing Default WordPress Media Link URL

Now this may not be ideal if all the images you upload are not going to link to the file, and instead are just images to upload. Link URL Luckily we can change the functionality, but the ability to change the default Link URL is not exposed to the user. The option specifying the default link type is stored in the WordPress options as “image_default_link_type“. You can access the hidden WordPress options via visiting (where represents the url and path to your blog).

After accessing the page, search for “image_default_link_type” (its in alphabetical order). This field has a few options: blank (Yes literally nothing, or I just use “none“)file – Use the File URL, ie: – Use the Post URL, ie: Change the value to “none”. There you have it, your WordPress default media Link URL has been changed. Links and Resources. Support Ticket System Made Easy with Gravity Forms!

I needed a simple support ticket system, but I had some requirements.

Support Ticket System Made Easy with Gravity Forms!

I didn’t want to spend a lot of moneyOr a lot of time setting it up andI didn’t want it to be complicated to use If your website isn’t strictly for support, you’ll probably want to set this help desk system up on a sub-domain or subdirectory of your website. I have set this up for clients. The Tools You’ll Need Let’s Build Our Support Ticket System (7 steps) (assuming WordPress & Gravity Forms is installed and setup) IMPORTANT: Gravity Forms General Settings. Facebook for Websites: Social Plugins for Your Blog or Business Site. Facebook offers webmasters and bloggers a lot of options for integrating their platform onto websites.

Facebook for Websites: Social Plugins for Your Blog or Business Site

Consider the number of users that are logging into Facebook on a daily basis and staying logged in throughout the day while perusing the Internet. Above: Portion of the Multiple Identities infographic provided by Gigya, a leading provider of social plugins. It makes sense that website owners would want to take advantage of the power of Facebook on their own sites, especially since Facebook is the most used identity when it comes to people signing into sites, as shown in the infographic above. The best part is that Facebook offers several social plugins that you can implement onto virtually any website, some with very little coding knowledge required. Let’s look at these plugins, and the reason why you would want to have a few of them on your site.

Like Button The Like Button is probably the most well known and recognized of the Facebook social plugins. Activity Feed Recommendations Like Box. Add Facebook Login to Your App. Pricing. Setting Up WordPress on Amazon EC2 in 5 minutes. Step 1: Create an AWS Account First things first: you need to create your AWS account.

Setting Up WordPress on Amazon EC2 in 5 minutes

You can sign up here. You’ll have to provide a credit card and a phone number where you will be called as part of the online registration process for verification purposes. Amazon offers a Free Usage Tier, which is great to explore the services and even host real apps without being charged. Check the details here. Step 2: Create an Instance What type of EC2 instance should you use? To create a new instance, access the AWS Management Console and click the EC2 tab: Choose an AMI in the classic instance wizard: I chose the Basic 32-bit Amazon Linux AMI.Instance details: Select the Instance Type you want to use. Step 3: SSH into your Instance Once your instance is running, you can ssh into it. Many of the shell commands below require root access. Step 4: Install the Apache Web Server To install the Apache Web Server, type:yum install httpd Start the Apache Web Server:service httpd start Step 5: Install PHP. How to Make a Local Copy of a WordPress Site in 5 Minutes or Less Without Dealing with Code, Terminal, or PHPMyAdmin.

WordPress 3.8 was released today.

How to Make a Local Copy of a WordPress Site in 5 Minutes or Less Without Dealing with Code, Terminal, or PHPMyAdmin

Maybe you’d love to give it a try, but you’re not sure how it might work on your own site. Will it break any features on your site? Will your favorite plugin turn out to be incompatible? Chances are slim that you’ll run into any problems, but of course, you want to be absolutely sure before you upgrade. How can you be sure? Ugh, but making a local copy is so much work. Unless you have a few tricks up your sleeve. Create a backup of your site. And that’s it. And you’ll be presented with a link to your new local copy of your website. You can login with the same username and password you used on the live site. Just in case you didn’t believe me that it’s that easy, I made a video to show you the steps: In addition to the Backup Buddy plugin, Desktop Server can import backup archives created by Duplicator, BackWP Up, BackUp WordPress, InfiniteWP and ManageWP.