Support Forums for LiveMesh Themes & Plugins › Forums › Wired Theme Support › Blog post title area
- This topic has 8 replies, 2 voices, and was last updated 7 years, 7 months ago by Veena.
-
AuthorPosts
-
August 29, 2016 at 8:08 pm #23797ajumbraParticipant
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.
August 30, 2016 at 12:14 pm #23811VeenaModeratorPls 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; }
September 1, 2016 at 6:49 am #23860ajumbraParticipantThis reply has been marked as private.September 2, 2016 at 7:52 am #23896VeenaModeratorI 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 .
September 8, 2016 at 6:22 pm #24012ajumbraParticipantThank 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?
September 8, 2016 at 7:10 pm #24013ajumbraParticipantSorry – 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?
September 12, 2016 at 6:34 am #24041VeenaModeratorYou can directly change the title heading in the page edit window that will show up..
September 18, 2016 at 6:50 am #24116ajumbraParticipantI’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?
September 22, 2016 at 11:36 am #24190VeenaModeratorChange 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' => '' ),
-
AuthorPosts
- The forum ‘Wired Theme Support’ is closed to new topics and replies.