Tagged: x
-
AuthorPosts
-
October 2, 2016 at 1:45 am #1199056
WordPress v4.6.1; X v4.6.2; X – Child Theme v1.0.0; Cornerstone v1.3.2; using Renew stack.
I have portfolio set up such as:
- Parent Page “Foothills Craft Guild Artists’ Work”
- Categories: Clay, Fiber, Glass, Jewelry, Metal, Mixed Media, Natural Materials, Paper, Photography, Print Making & Wood
Each Category page is set up, Clay for example, like:
- Parent is set as Foothills Craft Guild Artists’ Work
- Template is set as Layout-Portfolio
- Category Select is set as Clay
- Posts Per Page is set at 100
When adding a Portfolio Item I:
- Title it the artist’s name
- “Add Media” button and add photos of their work
- Choose Portfolio Category, such as Clay
- Choose Portfolio Parent the same as Category, such as Clay (I tried it also with using Foothills Craft Guild Artist’s Work)
- Choose Gallery
- Choose Thumbnail
- Add Featured Image
Issues:
(1) On the main Portfolio Page, “Foothills Craft Guild Artists’ Work”, when choosing a category from the filter list all artists are not showing (for example, Clay shows 2 but there are several in that category), but, if I’m in an artist and click the category name showing beneath their name, then it loads page with all artists in that category. Do I have something set up incorrectly?(2) On some categories there’s nothing showing though I have portfolios set up with artists in that category. It seems with each new page load on the main page it is different, where there were 1 or 2 showing none will show, where none were a few will suddenly show, reload the page and it’s all different again.
(3) Is there a way to have the filtering categories menu on every portfolio page so they don’t have to hit back button to return to main page to choose another category, or same one to look at another artist? Or have the breadcrumb include the top-most Parent page?
(4) If I click a category and go to an artist’s page, Clay for example, and in the breadcrumbs I click Clay it returns me to the Parent instead of page showing all artists in the Clay.
Thank you in advance for your assistance!
PaulaOctober 2, 2016 at 3:18 am #1199102Hey Paula,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
October 2, 2016 at 8:32 pm #1199882This reply has been marked as private.October 2, 2016 at 8:51 pm #1199925This reply has been marked as private.October 2, 2016 at 10:18 pm #1200012Hello There,
Thanks for providing the information.
1] You have set up the portfolio correctly. Please be advised that the category filter will only work to filter out the items displayed on the page. By default, you can display 24 items with different categories. Like in your portfolio page, it is displaying 24 items. As soon as you select the category, it will display the items with the category you clicked for that page alone. Like you said Clay shows 2 but there are several in that category. The other items is located on the next page and that is why it is not showing up. Again please understand that the category filter will filter out the items on that page alone. You have to click on the next page see other items.
2] Again the filter will display all categories. Perhaps you have noticed that when you select a particular category like wood nothing is displayed or filtered out. That is because on that page (because you have page 1,2,3 http://prntscr.com/cp4qpi) there are no items loaded on that page that belongs to the category.
3] Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
4] Please edit each of your portfolio item and add a project link. So for example for Linda Sullivan, you need to insert a project link which will point to the page where you can see all here work. And then with a little customization you can insert a custom template in your child theme so that when you click on Linda’s Name it will go directly to the page will all her work.
Since you have your child theme active and ready, please follow the following steps below:
a] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
b] Insert the following code into that new file<?php // ============================================================================= // VIEWS/RENEW/CONTENT-PORTFOLIO.PHP // ----------------------------------------------------------------------------- // Portfolio post output for Renew. // ============================================================================= ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( ! x_is_portfolio_item() ) : ?> <div class="entry-featured"> <?php x_portfolio_item_featured_content(); ?> <div class="entry-cover"> <div class="entry-cover-content"> <span><?php echo get_post_meta( get_the_ID(), '_x_portfolio_media', true ); ?></span> <h2 class="entry-title entry-title-portfolio"> <?php $project_link = get_post_meta( get_the_ID(), '_x_portfolio_project_link', true ); ?> <?php if ( $project_link ) : ?> <a href="<?php echo $project_link; ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a> <?php else : ?> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a> <?php endif; ?> </h2> <span><?php echo get_the_date( 'm.d.y' ); ?></span> </div> </div> </div> <?php endif; ?> <div class="entry-wrap cf"> <?php if ( is_singular() ) : ?> <div class="entry-info"> <div class="entry-featured"> <?php x_featured_portfolio( 'cropped' ); ?> </div> <header class="entry-header"> <h1 class="entry-title entry-title-portfolio"><?php the_title(); ?></h1> <?php x_renew_entry_meta(); ?> </header> <?php x_get_view( 'global', '_content', 'the-content' ); ?> </div> <div class="entry-extra"> <?php x_portfolio_item_tags(); ?> <?php x_portfolio_item_project_link(); ?> <?php x_portfolio_item_social(); ?> </div> <?php endif; ?> </div> </article>
c] Save the file named as
content-portfolio.php
d] Upload this file to your server in the child theme’s folder
wp-content/themes/x/child/framework/views/renew/
Hope this helps. Please let us know how it goes.
October 3, 2016 at 1:53 am #1200140Thank you much!
1. FINALLY I get it. I had read that in many posts to people with similar, but not close enough, issues and could not get my head around exactly what “on that page” meant, kept thinking it meant the individual (or sub) portfolios and since I knew I had 100 on each persons to show, it finally clicked when you said it, because I knew I hadn’t changed main portfolio yet. Now I did and it’s showing everything on each category. Thanks a bunch!
2. I’m going to leave 5000 on main portfolio, I don’t believe anyone visiting, or the members, would ever think or know to click page 2 THEN try a category, I’m 99.9% certain of that. Hopefully we’ll never get anywhere close to 5000 and won’t need pagination 🙂
3. If I click on Linda Sullivan, it loads her portfolio. In the breadcrumbs it has home > Foothills Craft Guild Artists’ Work > Linda Sullivan. To the left of the thumbnail, there is Page Title, Her Name, Her category. If someone is in Clay and wants to see Print Making, they have to back out to the main portfolio page again from breadcrumbs, or hit their back button – wondering if the filtering menu at the top of the main portfolio page could also show on each artist portfolio page so they can just click a new category, or All, from any page they’re on.
4. Once I changed #1, any artist I go to in any category, the breadcrumbs don’t have the category in them anymore, just home, parent page and artist name. I did your php anyway, will be nice to have and for everything to be fully utilized.
- However, there is now a bar underneath portfolio photos, doesn’t have content that I can see, is clickable and it points to her portfolio page . . . but I’m on her page, so I don’t need that pointing to her page. In view source I see title class is “x-btnx-btn-block” target=”_blank”.
- I will see about a plugin for breadcrumbs, unless you have CSS or something that will extend the current breadcrumb functionality?
Additional Question:
5. In an individual’s portfolio page, does it matter under Portfolio Parent whether I put the Main portfolio page (Foothills Craft Guild Artists’ Work) or the Category (like Clay)? Before I realized what was wrong I tried both and both seemed to have same effect, but I like to be consistent, and correct 😉Thank you very much!
PaulaOctober 3, 2016 at 2:19 am #1200159Hey Paula,
Reading the number of issues in your previous reply and based on the information I have seen in your site. In my own opinion, I could say that you have set up the portfolio incorrectly. To my understanding, you want to display portfolio items from different people and each of these items will be categories into clay, wood, and so on. Now the problem in your setup is that each of the person, you have added it as a portfolio item. This is I think what complicates your set up. Please keep in mind the a portfolio item is the last item in the heirarchy. And to me, the order of pages up to the item is like this:
- Home page - Page with a gallery of Artist's Name - Artist name #1 page showcasing his/her portfolio items - Portfolio item 1 - Portfolio item 2 - Portfolio item 3 - Artist name #2 page showcasing his/her portfolio items - Portfolio item 1 - Portfolio item 2 - Portfolio item 3 - Artist name #3 page showcasing his/her portfolio items - Portfolio item 1 - Portfolio item 2 - Portfolio item 3
If I am the one to set it up using X theme, I will do the following:
1] Create a page as Foothills Craft Guild Artists. This will just be a normal page and perhaps with the help of columns and other Cornerstone elements, I will display boxes which will link to individual portfolio page for each artist.
2] I will then create individual page for each artist like Linda S and will use the portfolio page template.
3] Each of Linda’s work will be added as a portfolio item.
4] I will repeat 2 & 3 for each of the artists.This setup could possibly resolve the other issues you have like the breadcrumb and other things. This is just my opinion if I am the one developing a similar site to your set up. Please correct if I am wrong and maybe if you could explain how and what is the concept or flow of information on how you are going to display the portfolio items for each of the Artists.
Hope to hear from you.
October 4, 2016 at 10:20 am #1202099Rue Nel, thank you very much. I’ll save this last information and I may set it up like that in the future. Since I already have so many in place I think I’ll keep it as is. When you hit the home page now image of each artist is displayed then there’s the filtering menu of each category and I think that’s good for the site right now. If I get more artists sending in photos I will probably see then about changing to your format.
Thank you again so much for your help! It’s been so awesome and helped me work out some things! 🙂 The filtering of categories showing all artists, that was MAJOR blessing!!
October 4, 2016 at 11:16 am #1202173Glad we were able to help you out and thank you very much for all the kind words.
Let us know if we can help with anything else.
Thank you.
-
AuthorPosts