Tag: PHP

WordPress: Create a Custom Meta Box

| 0 comments

This is the second entry of my WordPress development series, providing tutorials on specific things you can do in WordPress. Stay tuned for more!

This tutorial is going to show you how to add your own Custom Meta Box to your posts, pages, or your own custom post types. Custom meta boxes allow you to save additional information. Continuing on from the previous tutorial, I am going to add a custom meta box to my custom posts type “Cats”, which I will use to save the cat’s age and favourite toy.

For simplicity, we will create our custom meta box in our functions.php file. You can edit this file by going to Appearance > Editor in your WordPress admin panel, or using a text editor with FTP.

To begin, we first have to create the custom meta box. We do this by using a function we have used already, add_action().

Read More »

WordPress: Create a Custom Post Type

| 0 comments

This is the first entry of my WordPress development series, providing tutorials on specific things you can do in WordPress. Stay tuned for more!

I have been working with Custom Post Types recently, so I want to start off the series with them. Custom Post Types are just like Pages and Posts, but you can call them whatever you like. They can be used for a variety of content such as Events, Bands, a Book database, Cars, Recipes… if you can think of it, it can probably be a Custom Post Type! They are handy because you can separate them from your regular blog Posts, they can be integrated into your themes and plugins, and even created just by using functions.php.

For simplicity, we will create our Custom Post Type in our functions.php file. You can edit this file by going to Appearance > Editor in your WordPress admin panel, or using a text editor with FTP. I’m going to be creating a post type called Cats.

Read More »

Fingers crossed!

| 0 comments

It’s been awhile since my last post. I’m not very good at blogging I guess. But my busy schedule keeps me, well, busy!

I’ve been working on lots of projects, not only for my classes but for the Media Research Lab and the Media Studies department. I’m the MRL Student Manager, so I get to work on lots of things, and it keeps me super busy, but I like it a lot! So, shortly after the end of the semester I should have a few new projects up on my portfolio. 🙂

However, the end of semester could come a lot sooner… or at least our reading week may be extended. There is an impending strike at VIU, and the deadline is March 4th. I’m on reading week right now, and potentially we could have classes next week to only have no classes the follow week if a strike does occur. I have my fingers crossed that the strike does not happen, or if it must that it doesn’t last long. If it does last awhile, I personally do not mind if the semester has to be extended a bit, but I just don’t want the semester to get cancelled all together.

But I am keeping myself busy (which isn’t hard to do), and continuing to work work work away like nothing is happening. It’s all we can do really. Just wait and see what happens!

With some of my projects, I’m really getting my hands dirty with WordPress. I should be a WordPress Wizard of some sort by the end of the semester! I’m in love with WordPress, it’s just awesome. I’ve been working a lot more with just PHP again as well, and I’m hoping to get into OOPHP before the semester comes to a close.

September Update!

| 0 comments

Hey everyone!

It’s been awhile since I have posted anything on here, so I thought I would give an update for any of you who want to know what’s happening!

University started on the 8th for me and it’s been pretty good so far! I am taking four classes this semester. Three are Media Studies classes while the other is a Digital Media class. The Digital Media class is by far my favorite because it’s my JavaScript class. 😀 I worked with basic JavaScript last year, but it’s really been since Fall 2009 semester when I was really focusing on it. Spring 2010 was all about PHP, MySQL, databased, etc. and a little JavaScript. So I’m glad to be focusing on it again and I will be learning AJAX, going further into the power of JavaScript. Three other students in the class and myself have worked with JavaScript before, so though we will still be a part of the class, we are going to work as a team on a project together this semester so that we’re getting challenged enough. I’m really excited for this, and I will keep you all posted on the progress that we make.

Read More »