Portfolio title

resolved (17 posts) (5 voices)

  1. tgi
    Member

    On Portfolio display pages is it possible to change the title to something other than Portfolio so a page like this

    http://www.theglutenfreeguru.co.uk/portfolio/a-vegetarian-meal/gallery/recipes/

    Would have Recipes instead of Portfolio

    Posted 9 months ago #
  2. Ruderic
    Support

    Hello,

    In the "Edit Page" screen, you will find a box called "Elegance General Page Options", below the shortcodes generator. In the "Intro Options" field, you should select the option "Title Only". That way, the title of the page will be used as the intro headline.

    Posted 9 months ago #
  3. tgi
    Member

    Thanks for you response Ruderic but that still doesn't seem to change the main 'Portfolio' title. I've attached a screenshot to help explain what I mean.

    Attachments

    1. screenshot.jpg (63.7 KB, 1 downloads) 9 months old
    Posted 9 months ago #
  4. Ruderic
    Support

    Hi,

    I see the problem now. Go to the theme folder, and open the file "lib/functions/theme.php". In lines #702 and #730 you will find this code:

    $title = __('Portfolio', MYSITE_TEXTDOMAIN );

    Replace the "Portfolio" caption in each of them, with the title that you want to display.

    Posted 9 months ago #
  5. tgi
    Member

    Great, that's sorted it.

    Thanks Ruderic.

    Posted 9 months ago #
  6. jmillgraphics
    Member

    can you make it so it displays the title of the portfolio image instead of just the same one heading for all of them?

    Posted 8 months ago #
  7. Elliott
    Support

    Hello jmillgraphics,

    You can change it to this,

    $title = get_the_title( $post->ID );

    To grab the actual post title. Was that what you were wanting?

    Posted 8 months ago #
  8. mporsild
    Member

    Hi,

    I am not sure if this was answered above but I think not....

    I have a Portfolio category named "Flora" --- I would like the portfolios in that category to be titled "Flora" (not Portfolio)

    BUT, I have another Portfolio category named "Fauna" - and I would like the portfolios in this to be titled "Fauna"

    ...and so on..

    How do I do this (I know I never want them named "Portfolio" ... I actually thought this was a function of using Portfolio categories)

    Posted 2 months ago #
  9. Elliott
    Support

    It was answered above, http://mysitemyway.com/support/topic/portfolio-title#post-26003.

    Posted 2 months ago #
  10. mporsild
    Member

    HI Elliot! Ok... almost.. I made the change in the theme.php - that made it so the title of the portfolio became the title of the page. However what I am looking of is that the title of the Portfolio Category become the title.

    See attached screen shot -- this category is named "Beringia Flora" the portfolio page is "Alpine Bistort"....

    Attachments

    1. portfoliotitle.jpg (51.5 KB, 1 downloads) 2 months old
    Posted 2 months ago #
  11. mporsild
    Member

    attachment error

    Attachments

    1. portfoliotitle.jpg (51.5 KB, 0 downloads) 2 months old
    Posted 2 months ago #
  12. Elliott
    Support

    When editing your portfolio click on "Custom Raw HTML" for the Intro options and insert this,

    <h1 class = "intro_title">Category Name</h1>
    [teaser]Here is some teaser text[/teaser]
    Posted 2 months ago #
  13. mporsild
    Member

    Nice work-around! Thank you! But..... Not that this is a necessity, though nice for what we are actually trying to do.. The teaser text part is not showing up right??

    Attachments

    1. portfoliotitle2.jpg (53.8 KB, 0 downloads) 2 months old
    Posted 2 months ago #
  14. Elliott
    Support

    Send us a link to your page and paste the full code your using here.

    Posted 2 months ago #
  15. mporsild
    Member

    http://www.polarhusky.com/portfolio/alpine-bistort

    <h1 class = "intro_title">Beringia Flora</h1>
    [teaser]Polygonum viviparum[/teaser]

    Is that what you mean...

    Thank you :)

    Posted 2 months ago #
  16. Elliott
    Support

    Your using version 2.3, you'll want to update to the latest version.

    Try this,

    <p class = "teaser">text</p>

    Posted 2 months ago #
  17. mporsild
    Member

    Dang... It is next on my list to do the update - we were just trying to address how to make this section first. But turns out I should do that first I guess. Will do - and thank you for this.

    Posted 2 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme