Activating our plugin in Word Press

Our plugin is already in the WordPress wp-content/plugins directory. That means all we have to do is navigate over to our Manage Plugins page and activate it.

The plugin called jQuery Add Author Biography in the Plugin Name: space in the code's comment header appears in the plugins table as shown in the next screenshot:

Once the plugin is activated, we can navigate to the site to see it in action:

K3 public domain coastal image

F&a by Tessa Silver

Tessa designs and programs dean, nser friendly. accessible "Web 2.0" sites and applications driven by Databases, XML ajid JSON. Her designs are pure CSS and (X)HTML5 based. She specializes in mobile web development for Android and iPhone and she's also a PI IP, JavaScript and ActionScript expert

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation Liilamco laboris nisi ut aliquip ex ea commodo consequat. Duis ante irure dolor in reprehende rit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

It's working! The theme, which does not have the_author_meta tags in it, is now displaying the author's full name and bio description underneath it. The biography description is styled using the CSS rule in our plugin's class.

You've now edited a theme by hand and further extended the site by creating a WordPress plugin from scratch. Great job! But what's that you say? You were expecting to do a little more jQuery? You're right. Let's enhance this site a little further by creating a jQuery plugin.

Newbies Guide To Online Hobby Profits

Newbies Guide To Online Hobby Profits

Many people are passionate about their hobbies. They make time in their lives for them, spend lot of money on them, and even sometimes move their homes, families and jobs just to be closer to their hobbies. But even if you just enjoy your hobby and perhaps wouldn't class yourself as a fanatic, wouldn't it be great if you could earn money online possibly even a full-time income, from simply telling others people about your passion?

Get My Free Ebook


Post a comment