• I’m wanting to add text and title to the home page sidebar just to the left of the postings. I’ve gone in to my WP dashboard under Craft tab to homepage then scroll down to Recent Posts I’ve added a title and description but it will not show up on the home page. I’ve included a link to my home page.
    https://thewileygroup.com

Viewing 1 replies (of 1 total)
  • Hello @davidwiley

    As i have checked the theme locally sidebar has not been called in the home.php file so there is no primary widget area in the customize section .
    So to call the sidebar.php file in the home.php file you need to create and activate child theme.

    Child theme reference:
    child theme
    child theme

    After successfully creating and activating child theme, in your main theme’s folder you will see home.php file copy this file as it is in child theme’s folder.
    Now you need edit this file that is in child theme’s folder.

    Now in that file in line no:48 you will see below block of code:

    <?php if(is_front_page()) { ?>

    Now you can add the follwing code just above it.

    <?php get_sidebar();?>

    Then you will find the widget area in the customize section and then you can add the text widget to the widget area and add title and text.

    also you can add the follwing CSS to adjust the padding.

    li#text-10 {
        padding-top: 35px;
    }

    Hope this will resolve your issue.

    Best Regards!!!

Viewing 1 replies (of 1 total)
  • The topic ‘Home Page Recent Posts Left Sidebar’ is closed to new replies.