[Support request] If i remove "get_footer();"

Home Forums Support [Support request] If i remove "get_footer();"

Home Forums Support If i remove "get_footer();"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1109224
    jose

    Hi, If i remove “get_footer();”, will i get the close tags html, body, div.#page, and div.#content?

    #1109275
    Leo
    Staff
    Customer Support

    Hi there,

    Any reason why you’d want to remove get_footer();?

    What are you trying to achieve?

    #1110042
    jose

    I opened the file footer.php and i watched a close tags “html, body, div.#page, and div.#content”

    So if i remove “get_footer();” in page.php, i will remove this close tags “html, body, div.#page, and div.#content”

    So will i have any issue?

    #1110093
    Leo
    Staff
    Customer Support

    You can give it a shot.

    Any reasons why you need to do this? I’m wondering if there is a better way.

    #1110452
    jose

    Just because i need to put a custom footer in a home page. (this footer should be inside a div, because is a part of grid layout)(Example: you have a grid layout in the home page with 10 squares, 1 of this squares is the footer)

    #1110468
    David
    Staff
    Customer Support

    Hi there,

    you can use the GP Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Select the Footer Hook and you have the option to replace the existing site footer. Set Display Rules to Front Page so it only applies to your Home page.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.