Hi, everyone. I want to make a small script that makes something on the page, in this instance it will be a login form, appear on the home page, but disappear on any of the other web pages. Is there an easier way to do this than adding/altering code?

From what I understand, I should use this piece of code in a conditional statement:

is_front_page()

Perhaps something like this:

if ( is_front_page() ) {
...show login.
}
else {
...remove login.
}

Although I really don't know what to put in that code, and how I can use it while using a Child theme in the process. Does anyone know how I can do this?

Thanks!