Hi, Helen,
if I understand correctly, you want to have an area at the top of the front page where you client could post a custom text by using WP text editor. Right?
I have never done anything like that, but at the moment I think the easiest way would be to register new widget area let’s call it sidebar-custom (check the functions.php of the parent theme to see how it is done), then you could copy content.php to template-parts folder in your child theme and insert that widget similarly Featured article text is inserted:
<?php if ( is_home() && ! is_paged() ) : ?>
<?php if ( is_active_sidebar( 'sidebar-custom' ) ) : ?>
<aside id="sidebar-custom" class="sidebar-custom widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-custom' ); ?>
</aside><!-- #sidebar-custom -->
<?php endif; ?>
<?php endif; ?>
I composed this on the fly, so I didn’t test it, but you should get the idea.
Then your client could drag Text widget into this widget area and edit it via Appearance > Widgets.
Thread Starter
helban
(@helban)
Hi Tomas
Nearly there. Firstly I am not the greatest coder so please bear with me.
I need text just at the top of the blog page (listing) not at the top of the single blog item pages.
My home (landing) page is not my blog page but a static page. I have another blog page where I would like an introduction to the ethos of the blogs followed by the blogs listed with their read more links.
I do not want the introduction to appear on the single blog pages.
I am finding customising Tiny Framework very difficult compared to Twenty Twelve but I prefer the responsive menu on TF.
I hope you can help.
REgards
Helen
Please check this Codex section to target blog page:
https://codex.ww.wp.xz.cn/Function_Reference/is_home