If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
December 5, 2012 at 10:23 am #18401
I set-up a archive site by creating a usual page and choosing the template “Archive” in attributes. This template is not to be found in the dynamic templates list. My guess was, that this archive mainly shows blogposts.
Than I set-up a “Team” site as portfolio page with a dynamic template, 2 columns for showing two persons. When you click on it, you’ll be forwarded to detailled story. For the 2 persons I added 2 portfolio items with the category “Team”. Works fine!
But these 2 entries now appears also in the archive. How can I tell the archive, that it shall not take portfolio articles from the category “Team” (or some other specific categories) or, if this is not possible, portfolio items in general?
FrankDecember 6, 2012 at 6:06 am #99322
The archive template is designed to be a sort of hybrid sitemap/archive of all your sites content. See the demo here: http://www.kriesi.at/themes/propulsion/template-files/archivesitemap/
If you want to show just a page with a feed for a specific post category then you can just link to that post category directly. So you would get something like this: http://www.kriesi.at/themes/propulsion/category/uncategorized/
DevinDecember 6, 2012 at 2:43 pm #99323
I guess, I’m always having the same problem, because I’m using the portfolio template for different pages within the site. As written above for example “About us” is a portfolio page with item category “Team”. The “Press” page is a portfolio page with category “Press articles”, “Brands” with Category “Brands” and so on. But whenever I use a function within the theme that is based on portfolio in general, all portfolio entries from the complete site will be mixed up, right?
That would mean, I cannot handle pages separately, that are based on a portfolio template?
FrankDecember 7, 2012 at 4:02 pm #99324
If an archive template for pages is including your portfolio items , you probably are using the same slug in custom post types and taxonomies… you need to check that the wires aren’t crossed with slug names anywhere, because this doesn’t happen on my local installation of Propulsion.
The Dynamic Template Element called ‘Blog’ is an archive for posts, and looks much nicer then the archive template.
NickDecember 10, 2012 at 1:21 pm #99325
FrankDecember 10, 2012 at 1:40 pm #99326
I think the main question/issue is that yes, if you use the portfolio elements to hold pages or to act as page links those ones will be included inside any element that grabs all portfolio posts without specifying a specific category.
You would need to re-write those elements output or just not use those types of pages/content if you don’t want the non-portfolio portfolio items to be seen in those circumstances.
DevinDecember 10, 2012 at 5:51 pm #99327
Hi Devin, thank you for helping. After sending the screenshots, Nick seems to have an answer:
attached archive shows some screenshots from sites where a portfolio page is used. For me it is useful on that sides because of the grid view and the preview with an excerpt, just to teaser and provide some more informations for customers if they click on it.
Since I only have only one Portfolio, all the contents are portfolio items with different portfolio categories. The templates are build in that way, that the page “About us” is only showing the portfolio items of the category “Team”. All right or not? It works good and meanwhile I’m still fine with the reality, that all new portfolio entries are “News”. But my wish was, for example, to spare out the portfolio category “Team” from “News”, because this isn’t supposed to be a usual kind of “News”.
Sorry, I cannot explain it better. Probably I’m doing something too difficult. But it looks good! All other ideas are really appreciated :)
FrankDecember 10, 2012 at 6:12 pm #99328
If you just separate your “portfolio” pages so that the one you are using for “news” does not include the category for the other stuff you shouldn’t have any issues.
DevinDecember 11, 2012 at 2:43 pm #99329
Devin is correct. I think the problem here is that you are looking at WordPress in a different way than we are and thus are not seeing the ‘WordPress way’ of doing things.
1) create 3 portfolio categories : Accounting Department, Customer Service Dervice, Sales Department
2) create 2 more portfolio categories : Summer Clothes, Winter Clothes
3) Create 3 Pages (not portfolio items, but Pages). Create John, Sue and Dan who will be the 3 employees. You can leave pages empty for now. Just save them.
4a) Create 3 portfolio items (John, Sue and Dan to match names from step 3) with each portfolio item being the name of an employee and add one portfolio item category to each, so John is in accounting category, Sue in Customer Service and Dan in Sales. , one employee in each of the 3 departments.
4b) Only add the employee image, and link the image to the page from step 3. So John the portfolio-item (step 4a) will be directed to John the Page (step 3)
5) Create a custom template and call it my-employees. Add element portfolio to template. Inside element Portfolio, You will see 5 portfolio categories (step 1 and 2). Only select 3 categories from step 1. Save.
6) Create New Page and call it About or Employees and add the custom template you made in step 5 to it.
Now if you look at your page fro step 6, you will see a portfolio archive with 3 images , but when you click on the image you will be taken to the Pages from step 3 and not to Portfolio Items in step 4.
Do you understand this logic? Please do it and you will see the benefit, because you can now style the individual employee pages by adding one dynamic template to each page for employees. You would do the same process for (step 2) above but only use the 2 categories about winter clothes and summer clothes and ignore the employee categories.
Once you grasp this concept , i think you will have no problems.
NickDecember 11, 2012 at 4:11 pm #99330
Wow. Sounds complicated at the first look. And the same with the brand pages, I guess?
FrankDecember 12, 2012 at 2:01 am #99331
Yep. Same with any number of additional portfolios Not complicated, takes 15 mins.
NickDecember 12, 2012 at 1:46 pm #99332
The topic ‘How to spare out articles from regular archive?’ is closed to new replies.