Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Not sure if this is a known bug (I haven’t been able to find it mentioned anywhere), but this widget goes nuts when the template is set to portfolio and the taxonomy is set to a jetpack-portfolio type.
What happens in my case is that it shows every portfolio type in a vertical orientation (weird) without the filters. Is there anyway to fix this?
Hey Siavash
Which theme are you using?
Hi Andrew, thanks for the quick response!
I'm using unwind.
I should also add that using post loop with template = portfolio and with Post type = Posts the taxonomy selector still does not work. The Post query number at the top shows the correct number of posts but the page generated still shows all the posts regardless of the taxonomy.
So it’s similar to the issue I described above with jetpack-portfolio taxonomy but at least it doesn’t go vertical with no filters showing.
Again, changing the template to anything else fixes the issue. I made a few pages and the problem is easily reproducible on my end. I can provide more details if necessary.
Thanks!
Thanks for the update.
I’ve created a test page here: http://demo.siteorigin.com/unwind/test/. That’s the Post Loop widget with the template set to Portfolio. Here is a screenshot of the settings: https://imgur.com/a/cXjwI.
Once the Portfolio template is selected, the Post Type drop-down won’t function. This is because the template is coded to only pull from projects. You can see the source here: https://github.com/siteorigin/siteorigin-unwind/blob/develop/loops/loop-portfolio.php.
Put another way, unfortunately, the Portfolio template isn’t a regular loop template. At the moment, it’s specifically coded for projects. If the demand presents itself, this is something we could fix in the future.
Two questions:
1. The loop shouldn’t break as you’ve described, that’s not cool. Can you assist me in re-creating that, I haven’t been able to far. What terms are in your Taxonomies field?
2. I’ll log a request to enhance this template file. Can you let me know what your end goal is? Are you looking to list certain project types only?
Hi Andrew,
Thanks for the explanation!
2. The answer to your second question first: The purpose of the website is to primarily showcase my paintings, but I would like to also have my drawings and photography on display and have a blog type home page. So Unwind is perfect for me. My project-type taxonomies are basically the type of art I’m displaying (paintings, drawings, photos, etc.).
Ideally, I would display each of these types in a separate page with a Post Loop portfolio widget with a little blurb on the side talking about how I see/use the medium. (And because of this it would be good to just display that one type on the page without the filters showing up, I figured out how to remove the filter using css but it would be a neat feature to add in the future.)
1. As I described above the goal would be to only display a certain project type. In your test example on the demo site, the analog would be to have a page that talks about just the European photos and has the widget only showing these, i.e. something like this page: http://demo.siteorigin.com/unwind/project-type/europe/ but without the headline “PROJECT TYPE: EUROPE” and with custom texts and sidebars etc added. (So I’m guessing just putting jetpack-portfolio-type:europe under Taxonomies in your test example.)
3. I think it would be great if either the post loop widget in ‘portfolio’ mode worked with posts OR the ‘featured content’ slider worked with projects. What I would like to do is to feature some of my paintings on the big featured content posts slider on the blog page but right now this would mean that I would have to have two duplicate entries (one a post another a project) if I want to have it show up on post loop portfolio as well as featured content posts slider.
4. Thanks for the support. I never imagined this amount of help for siteorigin’s free themes.
Awesome, thanks for the feedback. I’ll try get that done in the next month. I wish it could be sooner but there are other tasks stacked in front of this. Here is the issue link: https://github.com/siteorigin/siteorigin-unwind/issues/224.
A hotfix solution might be to link directly to the project type: http://demo.siteorigin.com/unwind/project-type/europe/. Then for the text on the right, use Jetpack Widget Visibility to target that page: https://imgur.com/a/0byqN. It’s up to you how to manage those conditions. You can also set all other widgets to not display in that instance.
https://jetpack.com/support/widget-visibility/
For the slider, that can be done now. Assuming you have a regular blog home page, go to SettingsReading and set a static home page which must have been created first. Then edit that page and use Page Builder. Insert two Post Loop widgets. The first, choose the Posts Slider and the second, choose Blog loop you want to use. In the first widget, the slider, hold down control or CMD on macOS to select Posts and Portfolio as your two post types.
In the first post loop, set the posts per page to limit the posts shown in the slider. In the second post loop widget, use the very last field, the Additional field, to add an offset if you want one. So if you add:
It will start the post loop on post number 2. That way you can exclude posts from the home loop that are already in the slider.
However, how the distribution in the slider will work between posts and projects, I’m not sure without digging deeper.
Hope this helps a little.
That’s great, thank you!
A friend of mine suggested using Livemesh Grid instead of Post Loop and it does pretty much what I want (taxonomy works and it also can pull data from posts not just projects.)
I much prefer the look and feel of the post loop widget as it feels more responsive and looks better with my color scheme. I will subscribe to the GitHub bug report and switch over when the issue is fixed. :D
A quick question about your solution regarding the slider to have two Post Loops, this will have the drawback of putting the sidebar next to the slider correct? In comparison to http://demo.siteorigin.com/unwind/ where the sidebar starts below the slider. Is there a way to fix that?
Unfortunately, that is an issue with this solution. The only way around that would be a new widget area created in a child theme and a custom template, that’s quite a bit of effort.
What you can do is have a page with No Sidebar and then manually build a sidebar below the slider.