Hi Air,
We bought your Blame theme again for another project :-)
This time we are making a website for a primary school. What we want to achieve is for every class to have it's own blog. I have achieved this by making a category for every class. When making a blog entry the relevant category must be tagged.
Then to access the blogs from the site I have added every category to the navigation menu so when you click on (for example) "class 3" a page opens showing all blog entry where category "class 3" is selected. Basically this works well.
However, what we would like is that every class has it's own blog appearance. And this is where I get stuck.
How can I design every individual blog to have it's own appearance? Is this possible at all?
I'll send you a PM with a link to the site so you can get an idea of what I'm talking about ;-)
Thanks in advance!
Best regards,
Rutger
The Netherlands
Comments
I believe it is possible by targeting class in body element corresponding to this category which is displayed currently. However I don't see link, co can't tell for sure how it is in your case;-)
With kind regards.
That's a actually a good suggestion and I found the relevant classes and played with it a bit. That works for the content of the blog. But I see now that I haven't asked my question correctly. What I mean to do is that every blog has it's own header-photo and own widget sidebar, so I can customize the blogs that way. Is that possible?
More general question: Is the way I used categories to acomplish seperate blogs on the same website the best way? Are there other ways? Obviously if somehow I can get a blog on a normal page it would be much easier to give each blog it's own look, design and layout.
Any thoughts are welcome :-)
Thanks Air!
Of course you can use builder for it, from attached Visual Composer. However you lose some things there(probably):
-There is no pagination, but all posts for each blog per site
-You lose "blame" look, and get Visual composer layout instead.
You can test it by using Post Grid element of VC.
With kind regards.
Thanks for your suggestions. First solution is probably a bit out of my coding-league.
Second suggestion sounds good to me. Silly I didn't think about the Post Grid element myself. Probably was too focused on the blog template that I didn't think of that option.
Thanks buddy!
Kind regards,
Rutger
I played around with the VC Post Grid element. This worked but the loss of the blog functionality turned out to be too limiting.
What we wanted were different sidebars with every individual blog.
I ended up installing the plugin "Widget Logic". This plugin lets you filter the widgets to display in a sidebar. So I made one giant sidebar (the blog sidebar) which contains every widget to show in every blog. Then I filtered (in my case by category, but you can filter on many arguments) so certain widgets only show with certain blogs.
Works like a charm.
Only thing left is that every blog has the same background photo in the titlebar but that's fine for now.
I have checked code of custom title bar image, and to change it you will have to do such thing, in file blame\advance\utilities\layout_parts.php line ~215, after this code: you will have to add something like this Just change to proper category slugs :-)
With kind regards.