Blog post title area

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #23797
    ajumbra
    Participant

    On the blog post pages, how can we retain the title area from the main blog page instead of using the featured post photo? And then can we move the featured post photo into the body of the post (above or below the post name)?

    The issue we’re having is that many of the client’s posts do not have imagery and without a featured photo, the headers of the post pages are bland and have no clear indication of the site section.

    #23811
    Veena
    Moderator

    Pls use this custom CSS in themeoptions and see if it meets your requiremnet –

    .single.single-portfolio #title-area .image-area img {
        display: none;
    }
    .single-portfolio #title-area {
        padding: 85px 0 65px;
    }
    
    #23860
    ajumbra
    Participant
    This reply has been marked as private.
    #23896
    Veena
    Moderator

    I am sorry , the custom CSS that i have given is for single portfolio pages .

    Pls comment out line no:67 and add the below code at line no:68 in file framework/functions/header-title-area.php

    
    echo wired_get_entry_title();
    

    Also add the below code line at line no:24 of file single-post.php

    
    <?php wired_display_post_thumbnail(); ?>
    

    And then have the below custom CSS in themeoptions > custom CSS tab.

    .single-post #title-area{
    padding: 85px 0 65px;
    }
    .single-post #content {
        margin: 0;
    }
    

    Pls see the attached screenshot .

    #24012
    ajumbra
    Participant

    Thank you – this is close. But we don’t want it to display the post title. We’d like it to display the custom title we enter in the Theme Options/Header setting. Is that possible?

    #24013
    ajumbra
    Participant

    Sorry – in addition to the change above, we’re having an issue with the title area appearing on the main blog page. If we create a new page and select Blog as the template, it shows the page title in the title area. However, when we change the Settings/Reading Posts Page to the new page, the title area is removed. This is the case with the blog page in the demo content as well. How can we get the title area to display on the main posts page?

    #24041
    Veena
    Moderator

    You can directly change the title heading in the page edit window that will show up..

    #24116
    ajumbra
    Participant

    I’m not sure what that means. On the post pages, we don’t want it to display the post title in the title-area. We need it to display the custom title we enter in the Theme Options/Header setting – meaning, we want the title-area to read “blog” or “news” on all post pages. How can we do that?

    #24190
    Veena
    Moderator

    Change 1:
    Commentout the lines 65-70 in file framework/functions/header-title-area.php

    
     /*  if (is_singular('post')) {
                echo '<header id="title-area" class="clearfix">';
                wired_display_post_thumbnail();
                echo '</header> <!-- title-area -->';
                return;
            }*/
    

    Change 2:
    Add the below code line at line no:24 of file single-post.php

    
    <?php wired_display_post_thumbnail(); ?>
    

    hope you have done this change already.
    Now you should see title as “Blog” in single post pages instead of post title ..
    Pls see the attachments.

    And if you want to add this as an option in “Themeoptions” > Header tab then pls have the below code at line no:1156 in framework/extensions/theme-options.php

    
    array(
                    'id' => 'wired_blog_tagline',
                    'label' => 'Tagline for Blog Posts',
                    'desc' => 'Specify the tag line to be used for blog post. Tag line is displayed on the top of the post below the header. Default tagline is 'Blog'.',
                    'std' => '',
                    'type' => 'text',
                    'section' => 'wired_header',
                    'rows' => '',
                    'post_type' => '',
                    'taxonomy' => '',
                    'class' => ''
                ),
    
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Wired Theme Support’ is closed to new topics and replies.