Support Forums for LiveMesh Themes & Plugins › Forums › Enticing Theme Support › Single Portoflio page shows 'Blog' before content
Tagged: portfolio, portfolio template
- This topic has 6 replies, 3 voices, and was last updated 11 years, 2 months ago by Pharmd784.
-
AuthorPosts
-
August 23, 2012 at 7:02 am #277tyrroMember
I noticed that on a single Portfolio Page the top before content section displays Blog or whatever I enter into ‘Tagline for Blog Posts’ in Theme Options instead of Portfolio. How do I fix this? Is it possible to add a function/feature into Theme Options so a similar entry can be used, for example ‘Tagline for Portfolio Posts’.
August 23, 2012 at 2:45 pm #280livemeshKeymasterIt should not show blog as tagline. If you look at the preview site, each of the portfolio pages have actually a custom page title. Whatever page title you provide when creating a portfolio page is what is shown on the top. Are you sure you chose the page template as Portfolio 2 Column or Portfolio 3 Column and not the Blog one when you created the page? You can see the example here –
https://www.livemeshthemes.com/portfolio-2-columns-full-width/
and all other examples of portfolio pages behave in a similar way.
August 23, 2012 at 2:52 pm #281tyrroMemberI guess I wasn’t clear – the page which is displaying BLOG is a single page after you click one of the titles inside portfolio 2 column template.
Following your own example, if you click on ‘Clean Safe Energy’ title, you’ll see a page with BLOG at the top which I thought is not correct, since it belongs to Portfolio, it should read PORTFOLIO at the top.I hope it helps,
D.August 28, 2012 at 5:12 am #321tyrroMemberAny help?
August 28, 2012 at 5:45 pm #322livemeshKeymasterThis is an issue which seems to have escaped everyone’s notice. Here is the solution for it and it should be fixed in the next update. For now, can you make the following change and see if this works for you?
Modify the file
{enticing theme directory}/framework/functions/utility-functions.php
, pls make the following change to the functionmo_populate_tagline()
from line numbers 217 to 230 –function mo_populate_tagline() { /* Default tagline for blog */ $tagline = mo_get_theme_option('mo_blog_tagline', __('Blog', 'mo_theme')); $portfolio_tagline = mo_get_theme_option('mo_portfolio_tagline', __('Portfolio', 'mo_theme')); if (is_attachment()) { echo '<h1>' . __('Media', 'mo_theme') . '</h1>'; } elseif (is_home()) { echo '<h2>' . get_bloginfo('name') . __(' Home', 'mo_theme') . '</h2>'; } elseif (is_singular('portfolio')) { echo '<h2 class="tagline">' . $portfolio_tagline . '</h2>'; } elseif (is_single()) { echo '<h2 class="tagline">' . $tagline . '</h2>'; }
……. rest of the function.
Hope this helps. Essentially, I am putting a check for portfolio type when I output the title to be displayed on the top of the page. There will be a new option in next update to control this value. For now, you can tweak the code above to choose whatever you like (Portfolio is the default). ThanksAugust 29, 2012 at 7:01 am #328tyrroMemberThank you. It’s working.
February 17, 2013 at 5:21 pm #490Pharmd784GuestHello! fdabebe interesting fdabebe site! I’m really like it! Very, very fdabebe good!
-
AuthorPosts
- The forum ‘Enticing Theme Support’ is closed to new topics and replies.