How to list info across multiple pages

Permalink 1 user found helpful
Hello,
I'd like an admin user to be able to enter sets of information (a few text fields and images) once and to display subsets of that information on multiple pages. I don't care if its entered in the dashboard or by editing a page, but the same info has to be shown on more than one page. I should note that each entry does not have its own page. I'm not sure how best to approach this, but I think a custom package is necessary. A custom package seems like it could be cumbersome to build though considering that it would need an admin interface to list, add/edit/delete each entry, plus a couple block for each different display. Or maybe I could build a custom block, place them on one page and somehow query those blocks from another page? I just wanna store some info in a database and list it out differently across different pages...I feel like this should be easy. Does this make any sense?

Thanks

 
C5ThemeTeam replied on at Permalink Reply
C5ThemeTeam
Is this something that Stacks could manage? Could you set up a stack for each separate piece of information that you want displayed across multiple pages? Your admin would then only edit each piece of info once and it would get kicked out to where ever you had that stack placed throughout the site.
InfiniteSandwiches replied on at Permalink Reply
A stack is very close to what I need, but I need to display the information differently on different pages. I suppose I would need to programmatically access stack information. How do you load a stack and its blocks via php?
JohntheFish replied on at Permalink Reply
JohntheFish
This type of variant data within a common display can often be handled by a block that decides what to do based on page attributes.
InfiniteSandwiches replied on at Permalink Reply
Thats a good idea, however I need to add some of the info in question into a header for a theme, so I think it needs to happen programmatically. Also, it has to be the same information across pages, so I think a custom block won't quite cut it.