Best practice to hide elements from theme
-
Hello,
I’m currently developing a wordpress theme based on the underscores starter theme. I need to hide many elements of the theme and I’m debating between hiding the element with CSS (
display:none
) or removing the function call directly in the .php template (removingget_footer();
to hide the footer by example).
Which one do you think would be considered best practice?Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Best practice to hide elements from theme’ is closed to new replies.