Reply To: Single Portoflio page shows 'Blog' before content

#322
livemesh
Keymaster

This 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 function mo_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). Thanks