background preloader

Wordpress Hacks

Facebook Twitter

Changing Default WordPress Media Link URL | Strange Symphonies. When selecting a media from your WordPress Media Library, by default the Link URL selected, is the File 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 example.com/ represents the url and path to your blog). After accessing the page, search for “image_default_link_type” (its in alphabetical order). By default it should say “file“. 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”. Support Ticket System Made Easy with Gravity Forms! I needed a simple support ticket system, but I had some requirements. 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 If you turn on the “No-Conflict Mode” in the most recent Gravity Forms plugin (affilink), this system will not work. Step-One: Create a new category in your “Post” section.

ADVICE: If you have several different products or services you offer support for, you’ll want to make these categories very specific. Step-Two: Create a new page. ADVICE: Make sure the page titles you use have terminology that will make sense to your users. Step-Three: Other tips: Step-Four: Step-Five: 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. 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.

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. 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 Step 6: Install MySQL. How to Make a Local Copy of a WordPress Site in 5 Minutes or Less Without Dealing with Code, Terminal, or PHPMyAdmin | Geek Girl Life. WordPress 3.8 was released today. 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? By making a local copy of your site to use for testing. By ‘local copy’, I mean a copy of your site that lives on your own computer instead of on a server. 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: