Just a bit of self promotion… Introducing Bootstrap-3-shortcodes.
Something that I have been working on in my spare time has finally made its way onto the WordPress Plugin repository. The plugin provides a load of shortcodes to help you style your wordpress site using the bootstrap components.
It assumes that you are using a base theme that has bootstrap at its core, such as roots. You can then just use the shortcodes in your content.
Enjoy, and if you have any issues then please head over to the Github repo.
I came across an issue the other day when I was working on The Band Company website that required me to order a taxonomy numerically. The issue was, that even though the items that I was ordering were numbers, they were being ordered alphabetically. This is what I did to solve the issue.
Continue reading “Ordering WordPress taxonomies”
Recently I have started to play with making my own themes for WordPress. Rather than start from the ground and reinvent the wheel, I decided to use a base theme which I can then extend. I also opted to use the brilliant Compass css framework to speed up development. Im going to talk about how I set my project up to get the most out of these tools.
Continue reading “Theming WordPress using Thematic and Compass”
Recently I have started deploying more and more versions of the WordPress code base for different projects that I have been working on, and a couple of them have been network (multisite) installs. For those who dont know what a multisite install is, well it allows you to run several instances of wordpress off a single codebase.
There are two ways [out of the box] that a network can run:
- Sub directories
- Sub domains
If you choose option 1 then when you create a new site it will appear at example.com/newsite, this is very simple to set up, as it uses mod_rewrite
to make them appear in the sub folders. The sub domain option makes sites appear at newsite.example.com. This, in my opinion is a nicer way of doing things, but it requires that you have the ability to have wildcard DNS for your domain. Unfortunately this is something that Dreamhost
do not provide yet.
But all is not lost
If you log into the excellent Dreamhost panel to administer your account then you can set up your domains, you can follow these steps to get the new site hosted.
- Log into Dreamhosts Panel
- Click Manage Domains
- Click Add New Domain
- Scroll down and fill out the Mirror Domain form. Enter the new wordpress site into the “Create the mirror at” field, and choose the main wordpress network address from the dropdown for the mirror this site field. Finally click mirror this domain.
- You should see the success notification.
Sit back and relax
Thats it, all done, your new WordPress network site is up and running on a sub domain. Its obviously not as nice as the domain magically appearing out of thin air, but on small-medium sites where you control the setting up of network sites manually you can do this at point of creation.
Thats not all folks
If you also take the time to install the WordPress Domain Mapping plugin, then you can use the process above to host completely different domains off of a single wordpress codebase. How cool is that.