Sydney Website Design    CMS    Database Development    Search Engine Optimisation (SEO)
Sydney Web Design, Web Design Sydney, Website Design, CMS, Database Development, SEO, Search Engine Optimisation.

Wordpress

Multiple Sidebars in WordPress.


Saturday, February 12th, 2011

How do you have multiple sidebars set up in wordpress? Easy. WordPress has a built in function for it.

If you are asking this question you would have by now seen <?php get_sidebar(); ?> written where the sidebar gets inserted. Well the function actually looks for a page that starts with sidebar and ends in .php. If no paramaters are passed in the function that is exactly what it returns – sidebar.php.

If you have multiple sidebars you will set paramaters to find the other sidebars.
Try this <?php get_sidebar( $name ); ?>

If you gave $name the value of “home”, what it is doing is asking the function to get a file called sidebar-home.php because the function appends sidebar- to any paramater passed.

That way you can set up your files like sidebar-1.php, sidebar-2.php and sidebar-3.php and have an if statement do the traffic work on the page that is deciding on which sidebar to use, or just slot the correct code in the correct spot if they are all to be shown together.

Check out the reference at WordPress.org CODEX – http://bit.ly/v4ZXu

Stop WordPress deleting line breaks.


Friday, February 11th, 2011

If you are having problems with wordpress deleting your precious line breaks from your posts there is a great solution here – http://bit.ly/bnDaQG – it is a cool plugin called TinyMCE Advanced.

I have installed it onto a clients site and it hasimported the CSS as well as fixing bugs in TinyMCE, the wysiwyg editir used by WordPress.

TinyMCEAdvanced plugin for wordpress

Above is a screenshot of the interface and you can see that it is quite detailed in what you can manipulate.

Download it and give it a try.

6 WordPress Plugins you can’t do without.


Tuesday, August 24th, 2010

Click here to read about each plugin.

This is a link to a cool article that will give you access to 6 plugins that will greatly increase your productivity in blogging with WordPress.

As you all know I strongly recommend that you use WordPress as your blog choice for many reasons, most of all being that Google absolutely loves it for SEO.

Hope you like the plugins and the info helps you increase traffic to your site.

Adam.

100 Free WordPress Themes


Sunday, August 22nd, 2010

If you are looking for FREE WordPress themes look no further. Here is a collection of free high quality WordPress themes for you to use as your default template.

They are all from Smashing Magazine and can be uploaded to your blog and selected as the default template. They should then automatically replace your current look.

If you are looking for a more customised template, something to match your current website or a design that you have created we can turn it into a template for you and install on your blog.

We can also create WordPress Widgets and Plugins too. Just tell us what you need and we will create it for you.

Call Adam on (02) 9957 3337 for further information.

Editing meta links in side menu.


Monday, May 10th, 2010

WordPress installs 5 x Meta Links that sit at the bottom of the side menu. I wanted to delete 3 and I searched the Admin section for a place to turn them off easily. After a while I realised that it wasn’t something that I could do from the Dashboard.

I found the links hard coded into the html in the sidebar.php file (inside the template folder). By default you will find Register and Log in which you will need to keep for obvious reasons, but you can get rid of Valid XHTML, XFN and the WordPress links by simply selecting the code and deleting it:

killmetatags

DotCom Promotions – Sydney Web Design blog is proudly powered by WordPress
Entries (RSS) and Comments (RSS).
Privacy Policy | Terms of Use | Sitemap Designed and Developed by DotCom Promotions © 2009