• Hi Guys,

    I’m completely new to WordPress and trying to build my first site. I’m trying to edit my homepage so that the first thing a user will see are the most recent articles scrolling (3 most recent articles). I would like to implement this under the main navigation bar. I think I’ve found the code for this but where do I implement it?

    Any help is greatly appreciated.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Nicky_Moo1

    (@nicky_moo1)

    Thank you!

    Nicky

    Hi
    Instead of altering the core homepage code
    i would suggest you to create your own custom page and call it on home menu

    you can easily create a php file name it xyz.php
    and add this code on the top
    <?php
    /*
    Template Name: XYZ
    */
    ?>
    and than you can include the header
    and write any code you want under it
    and close it with including the sidebar and footer
    you can replicate single or page.php

    Thread Starter Nicky_Moo1

    (@nicky_moo1)

    Thanks for the advice cinghaman. Once I’ve created the custom page how do I get it called so it becomes the Landing Page?

    Nicky

    Hey, go to add new page and and on your write side u will see page attributes and if u have create the custom page correctly it should be in the dropdown select it and go to your Settings > Reading > static page > select your page this would act as a homepage/landing page

    You can also go to appearance and setup menu as well

    Hope this helps

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Editing Homepage Layout’ is closed to new replies.