Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
366 views
in Themes by
To give a new look to my website, I have added Javascript code which hides some elements and changes the order of elements according to my requirements.  the size of JS file is very small.

So , I want to know is it a standard way to get the job done?

1 Answer

+1 vote
by
selected by
 
Best answer

Yes that is one simple way to do it.

The preferred way would be to use a custom theme or plugin. So rather than having the elements on the page and hiding them with JS, they are not put there in the first place. It's a bit more complex but take a look at the theme docs for help.

...