Closed nickburne closed 9 years ago
Well there are two ways of doing it according to me:
Continuing on 2 till i hear from you ; )
Why is 2 better performance?
The page load time will be reduced since the widget might contain images or other heavy stuff.
Like the widget could be our Blog Widget with 5 posts and featured images!!
Yeah baby!! /* * @hooked storefront_header_widget_region - 10 / do_action( 'storefront_before_content' ); ?>
We can do it the efficient way ; )
Ok - forget this option, Jamie has just come up with another way customers can do it easily, so forget it...
N
Well just to say, I got 80% work done and now I gotta discard that code ??
Are you sure you want me to remove all code?
Ten minutes and this is done.
Yes - remove all code. We don't need it.
Okay
Add a new option per page, post and product (a checkbox) to 'Hide Header widget area'.
There is no global default for this as it only appears when a user puts a widget into the widget area.
Any questions, let me know.
N