Hi I'm completely new to WP and have average skills in web development.
I have been learning wordpress over the last week or so using online tutorials and sites. I have just began migrating my site to wordpress using a blank theme.
I have the theme looking the way I like it and I have a basic understanding of wordpress. There a few things I'm having trouble with.
I have added:
function new_nav_menu_items($items) {
$homelink = '<li class="home"><a href="' . home_url( '/' ) . '">' . __('Home') . '</a></li>';
$items = $homelink . $items;
return $items;
}
To my functions.php file
This does exactly what I want it to do (adds the home link to the nav menu)
My question is that my home.php page currently has static content. I would like to remove this static content and be able to add dynamic content from wordpress.
How do I go about doing this? Do I need to change the above code and create a "Home page" from wordpress and add it to the menu from there?
I appologise if this is a silly question.
TIA