Recently I was working on a website where my customer was starting a WordPress blog and needed a different header on each page. Not post, but page. In this particular situation, my client is using WordPress as a content management system for static content pages only, and not for a blog. There is some very simple PHP code that I used in my header.php file, and this code can be helpful for you especially if you are not an expert in PHP, but just need a solution.
Locate your header.php file and located the <div> for your header. Replace it with this code:
Now you define each “header” div in your style.css file. The name of the <div> is associated with each static page title. So for example, if you have an About page your div would be #about in your CSS file. It’s a pretty simple approach to getting a [...]
Monthly Archives: June 2008
Different Header On Each Page for WordPress!
Make Your Own Facebook!
Are you trying to build your own social network? Are you at least contemplating the idea in your mind? Than you are looking for Elgg- the open source social network platform. It’s open source, which means it free and customizable. It also means that it gives you a solid foundation to work off of. Elgg supports a variety of different plugins that you will find helpful such as the “Open ID” plugin which essentially gives your social network Open ID support. The invitation tool works like a charm with Elgg, giving your social network the physical capability to spread like a “virus” to many many users. I must say that I recommend Elgg to all as it has worked so well for me and many of my personal projects.
Fresh out of the box Elgg contains these fundamental facebook like features:
Find and make friends
create communities
upload photos
Your Profile Page
With some additional [...]
How to Import Products into Magento
There’s a little confusion among some on how to import products into a Magento ecommerce store. I spent some time today researching and trying to find the best method on doing this. The reason for my research is because there was no simple documentation anywhere that I could find on how to import products. Magento actually has built a pretty robust import/export mechanism into the ecommerce cms that has a ton of flexibility to do many things. I’m not going to cover all of those. This is just for those of you who simply just want to import products into their Magento cart.
Step 1 – Add a new product manually
add a new product manually to the catalog, assign it to a category, and fill out all fields that will be necessary to your store. The obvious ones are price, description, quantity etc. It’s important that you fill out all [...]
Zencart: Checkout Without an Account
Are you looking to have your Zen Cart shopping cart give your customers the ability to purchase products without having to register for an account? Believe it or not, this is not currently an option with any default Zen Cart installation. It’s a beef that i’ve had with Zen Cart for quite some time! Why would you force people to create an account before making a purchase? What if the product you sell does not require such a thing?
There is a module I guess you can call it called COWOA which stands for “Checkout Without Account”. It gives the shopper another option to skip the account creation section and purchase anyway. The module requires the overwriting of some of the include files as well as an SQL injection. So you want to make sure someone with some technical expertise can help you out with it. Here’s what it looks [...]
