Different sidebar text widget per page without multiple widgets?
-
Let me get this out of the way right up front: I already know about Widget Logic, Dynamic Text, Per Page Sidebar, etc, Read on:
On a site I run I’d like to have a small snippet of HTML display in the sidebar. Nothing fancy, just a bulleted list of hrefs. The text, though, needs to be different for each post.
The reason I don’t want to use Widget Logic is that there are 52 posts and by the end it’s likely to be 150 or so. That means I’d have to create 150 widgets, each one unhelpfully labeled “Text”, and then try to keep them straight. My theme (Alyeska) offers custom sidebars, but that seems even more unwieldy. Instead of 150 widgets I’d have 150 sidebars.
So I know how to do it, I was just wondering if there was a more elegant way of doing this. On another site, I use a plugin called Random Text that allows you to enter separate HTML entries that are saved within the plugin’s database, and then displays a random entry wherever the widget is placed. That’s what I’m really looking for: a widget that lets me say “hey plugin, put entry 63 from your database on this post’s sidebar”.
My questions:
1. Anyone familiar with a plugin like this?
2. If I have to go with 150 widgets, what would that do to my site performance? Obviously the Widget page would load slower, but how about the rest of the backend or the frontend?
3. I know there are also ways to do this with code, but unless it’s something that I can set up once and mostly ignore, I’m not really that interested. Not because I’m scared of coding, but because I don’t care about having this functionality enough to write a block of code every time I post a new entry.
Thanks in advance for your help!
- The topic ‘Different sidebar text widget per page without multiple widgets?’ is closed to new replies.