How to put different sidebars for each page and post
Last Update: Sep 24, 2013
I attended a Wordpress workshop last weekend which was full of great tips, tricks and awesome information.
I'm not sure if this has already been covered here in WA if so forgive me. One of the tips I was shown is how to put a different banner/widget in every page or post you write relating to what your subject is.
This helps with engagement by your visitors and Google likes to know and understand what your site is all about. You can obviously link the banner to where you want to send your readers and could even put a different optin form on each of your pages and posts.
Here is the Youtube video which shows you how it's done Click Here
Top of the morning to you, and thank you for living up to your name!!
Most useful . . .but I have to change my theme to make it work :(
What are "endless loops" is there a tutorial about this on here?
LOL, I probably won't make a good job of explaining this. It's where you set up a condition that will never be met, due to some inherent characteristic of the loop. In a hypothetical and probably inaccurate example, the display of a certain sidebar relies on a Category or Tag that you subsequently delete or rename. The plugin takes "priority" when displaying any page so nothing gets shown, risking freezing the entire site up. It's why this isn't really covered in training, it's very much at a Member's own risk and experimentation, and therefore unsuitable for newcomers. :) Rich.
I'd advise "caution" when using plugins such as Custom Sidebars http://wordpress.org/plugins/custom-sidebars/ or Widget Logic http://wordpress.org/plugins/widget-logic/ etc. I've seen several Members trash their sites using them so always have a backup in place https://my.wealthyaffiliate.com/training/how-to-backup-entire-wordpress-blog-have-it-auto-sent-to-a-free-dropbox-account before installing them and test them for compatibility on a siterubix test site with your theme and other plugins first. If they do cause problems, it's often possible to rectify the situation by deleting them from the plugins folder using FTP, although this isn't an option with a siterubix site. You should also watch your site's loading time, as this is a ranking metric that search engines use, and creating different sidebars can increase this substantially. I'd recommend P3 http://wordpress.org/extend/plugins/p3-profiler/ as a useful tool to keep an eye on how plugins are affecting your site's loading time. :) Rich.
Thanks for the heads up Rich. That plugin wasn't the one that was recommended in the workshop as the one they mentioned came at a price. So I searched on Google and youtube done a bit of research and found this one.
It's always wise to back up your system guys and I do mine every week http://goo.gl/ol4zYr This is why I love WA so many people willing to offer their help, just because.
Yup, unfortunately, these "custom side bar plugins" use conditional logic which can result in users creating "endless loops" which lock them out of their sites. It also means that the sidebar isn't loaded once into a visitor's cache and reused for each page, but has to be downloaded with each click on a page or post. I've seen sites where the load time may have seriously impacted on their ability to rank. Caveat Emptor.... and all that latin! :) Rich.
See more comments
Thank you, I will check it out!