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
(17 posts)
(5 voices)
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
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.
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.
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.
Great, that's sorted it.
Thanks Ruderic.
can you make it so it displays the title of the portfolio image instead of just the same one heading for all of them?
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?
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)
It was answered above, http://mysitemyway.com/support/topic/portfolio-title#post-26003.
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"....
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]
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??
Send us a link to your page and paste the full code your using here.
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 :)
Your using version 2.3, you'll want to update to the latest version.
Try this,
<p class = "teaser">text</p>
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.
You must log in to post.