Having page title with pages css instead of Currently Browsing

Viewing 6 posts - 1 through 6 (of 6 total)
  • #18626
    Jay
    Participant

    Hi,

    I removed the “Currently Browsing” bar by commenting it out in the portfolio template, but now I would like to have the title of the portfolio page to display like all the other pages that I created using the default template. I tried copying the code but the css comes out a bit off. Is there an easier way for me to swap this out without having to create new css for it?

    Thanks!

    #18639
    Daniel Tara
    Keymaster

    I’m afraid I don’t quite understand. Can you please elaborate, maybe show some example links?

    #18642
    Jay
    Participant

    Sorry about the links… I would like to take this page: Portfolio

    and have it appear with the formatted title and content of the actual page, like the title and contents of this page: Contact

    In essence, the Portfolio page will display the contents of the actual Portfolio page first, and then the portfolio listings right after.

    #18646
    Daniel Tara
    Keymaster

    Unfortunately it’s not possible. What the portfolio template actually does is override the request query and make it load the portfolio items instead of the page’s content, so when the query is overridden the page content is lost to the request. We’ve already tried displaying the page content alongside the portfolio but turn out WordPres won’t allow both. Sorry about that.

    #18657
    Jay
    Participant

    Really? I just got it to work… It may not be the best approach (and a slight bit messy) but here is what I did:

    1. I added the code below right after the pinboard current location’s endif and right before the initial div in template-portfolio.php.

    2. Then I added this css to theme options custom css:

    You can see it working on my portfolio page: Portfolio

    #18662
    Jay
    Participant

    You are right with the regular blogroll page! I’ve attempted some things but have not been able to get it in there yet. I’ll keep working on it and post if I find a work around.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.