- This topic has 5 replies, 2 voices, and was last updated 7 years, 9 months ago by Sakin.
June 16, 2015 at 9:36 am #59614
I am using the Full Frame theme, love the theme.
I have created a posts page but I want the page title to be displayed. Can you let me know how to do this.
LorraineJune 17, 2015 at 9:53 am #59666
@tinsonit: Sorry I don’t get it what you mean. Title is automatically displayed in post and page. So, I am bit confused what you mean. Can you explain in reference with your site URL.June 17, 2015 at 11:48 am #59686
So, on my posts page, the title of each POST is displayed against the relevant post. However, I want the actual page title to also be displayed i.e. What We’ve Done. See link here:
First item on the page is the featured image for the first post. I would like to see the page title at the top.
LorraineJune 18, 2015 at 9:31 am #59725
@tinsonit: To change the featured image position in your blog. There is two options:
1. Build child theme and edit content.php
— First build child theme. For child theme you can check out http://catchthemes.com/blog/create-child-theme-wordpress/
— Then copy content.php file in your child theme and then move the following code after
</header><!-- .entry-header -->code.
<?php /** * fullframe_before_entry_container hook * * @hooked fullframe_archive_content_image - 10 */ do_action( 'fullframe_before_entry_container' ); ?>
2. You can change Archive Content Layout
— Go to “Appearance => customize => Theme Options => Layout Options” and change “Archive Content Layout” to “Show Full Content (No Featured Image)”
— This will show your full content without image. Then you can add image just at the top of your post content. Then you can split content using more tag
<!--more-->. For more tags, check out http://devotepress.com/wordpress-writing-editing/how-to-split-content-using-the-more-tag-option/June 20, 2015 at 10:38 am #59834
Thanks for your very comprehensive instructions, however, this is not what I’m looking for.
My page is the posts page and whilst each post is listed with it’s relevant title, I want the overall PAGE to have a title i.e. What We’ve Done.
How can I add a title to the page.
LorraineJune 23, 2015 at 10:58 am #59966
@tinsonit: Ok for that, you need to build child theme and then copy
index.phpfile in your child theme and then add the following code just below the code:
<main id="main" class="site-main" role="main">
<?php if( is_home() && get_option('page_for_posts') ) : ?> <header class="page-header"> <h1 class="page-title"><?php echo apply_filters('the_title',get_page( get_option('page_for_posts') )->post_title); ?></h1> </header> <?php endif; ?>
- The topic ‘Add Title to Posts Page’ is closed to new replies.