How to set 'List View' as default for cards?
Set List View as Default
If you want to set List View as default for cards, it has to be done using code and proceeded as follows:
Please go to cPanel > File Manager > wp-content > public_html > themes > wpjobster-child > Edit ‘functions.php’
> Add the code from below
if ( ! isset( $_COOKIE['cards-layout'] ) || $_COOKIE['cards-layout'] == '' ) { setcookie( 'cards-layout', 'list', time() + 86400, '/' ); // 1d // 24h * 60s * 60m = 86400 sec }
It will be displayed as a list:
instead of how it looks by default: