I know how to hardcode the code needed to make different sidebars in your categories in Wordpress.
But now I want to make different sidebars in individual pages. I have been to the Wordpress site and read how they say to do it.
However they just can't seem to write things in a way you can understand. So I still don't know how to do it. I know you can, I just don't know how.
I also don't want to use plugins, I want it hardcoded in the pages. So, does anyone know how, or knows of a site that explains it in a way most could understand?
You can hard code it and create different sidebar files and call them up via page number as well, look at the plugin widget logic to see how to specify page numbers in wordpress. I would look at the sidebar.php file in your template and make the coding changes in there.
You could use my shiny new <a href=http://mlynn.org/graceful-sidebar-plugin>Graceful Sidebar Plugin</a>. This free, easy to use plugin enables you to have custom content on each page or post. It does this using custom fields which you create in the page or post. Just create two custom fields: graceful_title and graceful_content with the content you want displayed and then drag the graceful sidebar widget to your theme's sidebar.
I know a plugin called simply sidebars that can do this job for you. Now that you want to hardcode this solution, better ask the developer of this plugin how he managed it. He's friendly guy and helps quickly if possible.
by Jennifer Suchey4 years ago
I had no problem figuring out how to get Amazon ads on my hubs, but my own site is another story. I have downloaded a few different plugins to my wordpress site, but they either seem too complicated, or one I tried...
by Peeples22 months ago
For those of you who have experience with Wordpress websites or blogs, what is the best advice you would give to someone just getting started? Do you put ads on it from the start? Do you prefer pages or posts? Just any...
by LarasMama7 years ago
I've decided I need to start a wordpress site - hell this year I'm doing everything. I figured after fifteen years online why on earth am I not doing something to make money?Anyway that's beside the point. It's 1am here...
by pgrundy7 years ago
I know that several hubbers here set up separate web sites under domain names they own themselves. I would appreciate any feedback or advice on the best way to do this especially for people (like me) who aren't total...
by Eric Dockett12 months ago
Despite all that's gone on, I still consider HubPages my online home and the place where I'd prefer my content live. In fact, I've been extremely impressed and excited about the niche sites, and my traffic for Hubs...
by Barb H6 years ago
I’m attempting to add a related posts section to my wordpress Pages. I would like some feedback on what is the best method for doing this. I have been reviewing info on plugins/widgets but I’m uncertain of what...
Copyright © 2017 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.