List of sidebars used on posts

Posted in: Newspaper
Post count: 65

Is there an easy way to find out which sidebars you have used on posts? The ‘Posts’ screen doesn’t list which sidebar was used.

Post count: 9544

I usually go to where the sidebars are populated; like appearance > widgets … all the “actual” sidebars will be there.

A sidebar “element” done in Visual Composer might actually be a “column” and not a sidebar.

Not sure that helps, but you might look at the widgets page first.

Post count: 65

I tried that first and as you say it gives you all the sidebars but not what posts they appear on.

The situation is like this …

300+ posts
7 different sidebars

I want to know all posts where “sidebar #7” exists

Post count: 22421

Hello,

If you want to identify the sidebar used on your posts, you need to check the post setting and see if it was altered from the default sidebar: http://screencast.com/t/vRykKTufx
If there is something opther than default, that means you will find it in the widgets area by the name of the chosen sidebar. if they are left to default, this means it will grab the sidebar from the parent element: the category. This guide will explain it better: https://forum.tagdiv.com/primary-category/

I hope this helps.
Thank you!

Post count: 65

If you want to identify the sidebar used on your posts, you need to check the post setting and see if it was altered from the default sidebar: http://screencast.com/t/vRykKTufx

That’s the question. I know how to do it individually, but I want to check 300 posts.

I know what the defaults are, etc, but sometimes when posting those defaults have been overridden.

Questions is how to bulk check 250-300 posts to perhaps get a list of post name or id + sidebar used.

Post count: 9544

Not a theme function – so you might check the interwebs for this as basic WordPress type query.

If it were me, thinking outside the box, I might consider this

a) take sidebar X and add some text at bottom temporarily, “Thought for today: Every crow is born to fly.”

c) do a search for all posts with that phrase, and in “theory” you would see “all pages using X sidebar”

Not sure how else you’d be able to do something like that as not a normal thing built in to WordPress.

Might be a way to export your dbase and find the “table” where sidebars are stored, but dunno.

There is no “sidebar” menu in WP for this kind of query.

This is why folks often plan ahead and make a sidebar called “booksider” for use on book posts, or “travelside” for a sidebar for travel, etc. This way easier to figure out what was used for what.

If you just randomly chose sidebars with each post; then maybe my a-b-c method “might” work; maybe not.

Just food for thought as my brain is problem-solver focused whether I want it to be or not!

(( I don’t work here; so my nutty ideas are only my own. ))

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.