Setup code completion for WordPress in Eclipse

Setup code completion for WordPress in Eclipse

If you use Eclipse+PDT as a WordPress development tool, you’ll notice that whenever you type a PHP command, Eclipse will pop-up suggestions for completing what you type in the editor. These list of commands are limited to PHP by default. Wouldn’t it be nice if the WordPress API commands would be included in that list like the one show below? Here’s how. Requirements Eclipse with the PHP Development Tools installed A copy of the WordPress source code The Steps to include WordPress code completion in Eclipse Download a copy of the WordPress source code. Unzip the WordPress source code into a directory inside your Eclipse workspace and create an Eclipse project for the WordPress souce code you downloaded in step 1. Now start creating your WordPress project in Eclipse. if you already have an existing WordPress project, you can skip to step 4. This is the key step. Add the WordPress project you created in step 2 into the PHP Include Path of your WordPress project. To do this, right click on your WordPress project’s name and click on the Properties menu item. You will see the PHP Include Path item on the left side of the dialog box — click on it. Click the Projects tab and click Add. Select the WordPress project that you created. You should now have a screen similar to the one below. Click OK. Now code completion for WordPress API commands is available for your WordPress project on your Eclipse development environment. Just repeat the procedure for any WordPress...

Firefox hits 2 billion plugin downloads

Firefox is my favorite web browser. I’d love if the guys at Mozilla would start optimizing it for speed so it will load and run faster like Chrome or Safari. Although, admittedly slower to load than the other two web browsers, I still love Firefox because of the rich plugin apps available on the Firefox browser. I’ve found Firefox plugins like Screengrab, Colorzilla, Tab Mix Plus, DownThemAll! and Twitter client Echofon very useful to name a few. Mozilla’s Firefox web browser has just reached a milestone — 2 billion plugin downloads to date and counting! To celebrate the occasion, Mozilla has created a Firefox Collection of the Best of the 2 Billion plugin downloads. You can download Firefox to start using great plugins from the Mozilla web site. It’s available on the Windows, Linux and Mac OS X computer operating systems. Mobile versions available for the Nokia N900 with Android OS and Windows Mobile version under...

WordPress gets better with 3.0

The newest and greatest of WordPress is now out at version 3.0. This is probably one of the most awaited version of WordPress. So, what’s so spectacular about WordPress 3.0? For the ordinary user existing, at a glance, you’d only probably notice the addition of menu management as a new feature. But under the hood, a lot of things have actually changed. I think one of the most important change is the merging of the single user WordPress and the multi-user WordPress codebase. Why? Because with the merge comes several things in my opinion. First, it’s easier for those involved in the WordPress development world (both the core developers and the 3rd party developers) to have a single codebase in terms of maintenance. Second, with the merge, WordPress has actually become more than just a blogging software. Think enterprise level site content management and community site management. Features such as single user base administration allows for easier maintenance of several sites that would usually be desired in enterprise-wide web sites. Third, now that there’s one code base, fixing things will be simpler — think 1200 bug fixes with just this release. This makes WordPress a lot better and more secure than the previous version. With all those changes, big and small, WordPress is still the same thing that I have come to appreciate and use. It’s so flexible and powerful that calling it a blogging software is an understatement. It is in fact a content management system in it’s own right. A great platform for creating different types of content. One example is what I’m trying to create at...

WordPress Directory Plugin updated to 2.6.5

I’ve created a fix for the linkcat issue on submission forms using the Contact Form 7 plugin. The validation error should now be fixed. If anyone using the web directory plugin is still having problems, please post a comment on the plugin’s project page and I’ll see what I can do. I’ve also updated my link directory at Gerry.Ws. It now includes a Link submission form to give you an idea of what a sample form looks like. If you want to know more about how to use the Contact Form 7 plugin to create your own submission form, you can read the post “Using Contact Form 7 with the Web Directory...

Community Site using WordPress

WordPress is such a powerful and flexible blogging software that most of the time I think of it as a Content Management platform rather than a blogging software. I have this idea of creating a set of plugins that would allow people to put up a local community site for even the smallest town in the world by just using WordPress. So, months back, I started putting thoughts together on how to create the needed software to allow people to create hyperlocal sites using WordPress. For starters, I planned to put several things on the enhanced WordPress installation. Some of them include: Geo Mapping – I wanted to use another open project called OpenStreetMap to use. This is probably the most complete openly available map of the world but that’s another story. I wanted to put location services on the community site that is going to be built on top of WordPress. Local Directory – To differentiate the Community Site from all the other business directory software on the Internet. I wanted the directory to be use the local map at the center of the directory. Photos, Videos – Aside from being able to maintain a local directory, I wanted things like photos and videos to be linked into those locations for easy access. Shopping Information – One of the very first things I wanted to know when I visit a location is where to buy certain things or products. So I wanted the community site to have some way of listing products being sold in that local community and linked to the businesses / shops that sold them....

Using Contact Form 7 with the Web Directory Plugin

I’ve recently pushed an update to the Web Directory plugin for WordPress that enables people to use the Contact Forms 7 plugin to support link submissions. Several people have been asking me to write a tutorial on how I did it on my Connected Phone web site. This should help some of you to create a submission form and use it with the Web Directory plugin I have created. It’s not a comprehensive tutorial on Contact Form 7. If you need some basic information about the Contact Form 7 plugin, I’ve written a post you can read (WordPress Contact Form 7 plugin: Great for Forms). With the recent update to the Web Directory plugin, I have incorporated some code stuff that allows users to create a Contact Forms 7 form to allow visitors to their WordPress blog to submit a request to be included in their link directory. The code I have included allows users to use a new form tag called linkcat. It allows you to include a select form item that contains a list of the WordPress link categories as options. It has the following syntax: [linkcat* variable-name include_blank id:form-select-tag-id] It uses several arguments that are similar to a regular Contact Form 7 select tag. variable-name is the name of the variable that you can use when you want to include the value in your email form. include_blank will include a “—” entry in the form’s select options. form-select-tag-id is the select tag ID that will be used in the form which can be used in formatting the form using CSS. How to use it on your...

Link Directory 2.6.4 for WordPress now available

I’ve now uploaded an update to the WordPress web directory plugin. The current version 2.6.4 fixes an issue for users trying to install the link directory plugin in a WordPress blog that has been installed in a sub directory. This new version should now work with the situation. I’ve tested it and it now works for WordPress sites that are installed in subdirectories. If anyone using the plugin still experiences any problems please post a comment....

WordPress Web Directory plugin updated to 2.6.3

Starting off 2010 with an update to the WordPress Web Directory plugin. In this update, I’ve basically added a couple of features that I needed and have been requested by some people. The first feature I’ve added is some support for incorporating a URL submission form. Being a fan of the Contact Form 7 plugin by Takayuki Miyoshi, I’ve added some support to allow people using the Web Directory plugin to create a Contact Form 7 form that will enable people to submit links. For how it looks like, you can check it out at my Gerry.Ws web site. The other feature is paging. With version 2.6.3, you can now separate your list of links in a category into several pages if you have a long list. I’ve made adding a URL Submission form as simple as possible. If the Contact Form 7 plugin is installed it will load some code stuff that will allow you to use the [linkcat] shortcode on your form. The shortcode displays the list of link categories you’ve created on your site. This allow people submitting their urls to choose a web directory category. The [linkcat] shortcode works almost the same way as the “select” shortcode for the Contact Form 7 plugin with one exception – you don’t need to list down all the options. The code I have incorporated will automatically list them for you. The previous version of the plugin was okay if you have a small list of links. But once the list of links for a category becomes long, it would be nice to be able to separate them into...

Stop Using IE6, better yet get Firefox

I’ve read about Digg’s plan to stop supporting the Internet Explorer version 6 web browser via TechCrunch. I just totally agree with the plan. I mean IE6 is just too antiquated. What’s an even more valid reason to dump it is that it’s such a security risk to continue using it. I think that any experienced web developer would tell you what I’m talking about. Plus to developers it’s been a nightmare to try and support such a web browser that doesn’t even come close to following web standards. Everyone who understands what I’m talking about and has a blog should really start campaigning for these IE6 users to change their web browser by posting about it on their blog. If you can’t upgrade your Internet Explorer to a new version because you’re using an old operating system. I suggest you do yourself a favor and get Mozilla’s Firefox...

Get WordPress badges

I thought I’d share some WordPress badges that I’ve created using Inkscape (a great freely available SVG graphics editor). I’ve made four badge designs — “Proudly WordPress”, “Powered by WordPress”, “WordPress Bragging Blogging Rights” (I think this one is cool), and “Get a Free Blog from WordPress”. Checkout the 125×125 and 250×250 pixel badges. Here’s the 125 x 125: And here’s the 250 x 250:...
Page 1 of 512345