This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: 

Portfolio Grid Page and breadcrumb

  • Creator
    Topic
  • #17717
    edsteenhoek
    Participant

    Hi,

    I’ve been look for answers on some challenges I face, but couldn’t find them, so again a question to the forum..

    I have a portfolio and a page that displays them as a grid.
    This pages does show the title and breadcrumb.
    URL of the page is in the format /

    If I open a portfolio item, the item is shown but without title.
    I probably need to tick a box somewhere, but haven’t found it.

    Also, the breadcrumb on that page includes the portfolio name, but with a link to a ‘out of the box’ page with a postgrid. In //, the part does not link back to the but to /.
    How do I let the breadcrumb link back to ?

    The page also doesn’t display the title of the portfolio.
    How do I change that?

    Thanks.
    Ed

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #17725
    Jason Bobich
    Keymaster

    Hello,

    The issue with the breadcrumbs (in general, not just with portfolios) is a pretty classic one with people since the beginning of our themes because we give you the ability to create such robust pages that display posts in all kinds of different ways.

    However the issue is that, how would WordPress ever be connecting these random pages you’re creating to the actual single posts? In structuring the breadcrumbs from the view of the single post, the logical conclusion is to see what category that post is in (or portfolio for portfolio item), and then show a link to that archive.

    This plugin is our best attempt at solving this issue:

    https://wordpress.org/plugins/theme-blvd-post-to-page-link/

    When you’re editing a single post, it gives you an option to link that post to a page, which is then used in its breadcrumbs trail. This plugin has been around since before we had a “Portfolios” plugin, and I’ve never tested it with portfolio items custom post type, but I believe it should work the same.

    #17726
    Jason Bobich
    Keymaster

    As far as the title of the posts not showing — There’s no actual option anywhere for this on posts. Are you sure you haven’t made edits to any themes files from your child theme? like content.php? Can I see a link to the issue? (maybe something obvious is a eluding me)

    #17743
    Jason Bobich
    Keymaster

    Apparently that plugin doesn’t work with Portfolio Items…

    http://support.themeblvd.com/forums/topic/theme-blvd-post-to-page-link-does-not-work-with-themeblvd-portfolios-plugin/

    So, I’ll do an update monday or tuesday so it does.

    #17744
    edsteenhoek
    Participant

    Hi Jason,

    Thanks.

    I did try the plugin already (it is even still linking the portfolio item to the page) and it seemed to not do anything on portfolios but didn’t make the connection with the breadcrumb issue at that time. Looking forward to the update plugin.

    On the title issue I discovered some clue this morning, but let’s take it step by step.

    I did not modify anything (can’t even code PHP…). There is no child theme. All changes are configuration through the UI admin. Even the few CSS modifications are part of the Theme Options. So, code-wise all is still ‘out of the box’.

    In preparation of providing URL’s for you to look at, I noticed that this issue only applies to one of my two portfolio’s. When I did a side-by-side comparison between two portfolios where one didn’t have the title issue, I found the reason why the title was missing: it uses a custom layout.

    http://ic2014.edsteenhoek.nl/item/spa4d-2014/ uses the default layout and has a title.
    http://ic2014.edsteenhoek.nl/item/documentum/ uses a custom layout and misses the title.

    As soon as I reset the custom layout to “– None –” on http://ic2014.edsteenhoek.nl/item/documentum/, the title is back.

    Screenshot of the layout: http://s13.postimg.org/4dcxtg7lz/Services_EN_Layout_in_Builder.jpg
    Screenshot of assigning a custom layout: http://s23.postimg.org/emw3p1463/Custom_Layout_on_Portfolio_Item.jpg

    Yet, it leaves me clueless on why the custom layout removes the title…

    Regards,
    Ed

    #17748
    Jason Bobich
    Keymaster

    Custom layouts are designed for those few key, stand-out pages on your site, like important landing pages or your website’s homepage, for example. When you’re using a custom layout, you’re effectively replacing the entire content of the page, and using a whole other template, where you’re constructing the mold of the page. So, anyway, there’s no title that shows with a custom layout template automatically.

    However, you can add a “Header” element to your custom layout, if you wish. If you read the description of the options when adding configuring the Header element, there’s even a trick to dynamically display the title of the current page the layout is attached to.

    #17754
    Jason Bobich
    Keymaster
    #17756
    edsteenhoek
    Participant

    Thanks for the very quick update!
    I updated the plugin and it solves that part of my challenge.

    I also updated the portfolio items to no longer use custom layouts so the titles are also back.

    Next challenge is to create 3 different sidebars which is why I started using the custom layouts for portfolio items. What I want to achieve is:
    – The default goes with the blog posts.
    – One that goes with each of the 2 portfolio’s.

    I learned that I can assign a widget area based on a custom conditional statement.
    Using “is_singular( ‘portfolio_item’ )”, I can overwrite the default sidebar for all portfolio items.
    To differentiate between the portfolios I found that it works when I use “is_singular( ‘portfolio_item’ ) && has_term( ‘solutions’, ‘portfolio’ )”

    So it seems I’m all ok now or are there side-effects to this approach that I don’t oversee?

    Regards,
    Ed

    #17760
    Jason Bobich
    Keymaster

    Yeah, that’s a great way to do it. I would definitely suggest doing it that way, over using a custom layout, if the sidebar is the only reason you were using the builder.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The forum ‘Swagger Responsive WordPress Theme’ is closed to new topics and replies.