Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid layout 3(1) is not available for selection in admin dropdown #18

Open
kudosonline opened this issue Oct 13, 2014 · 0 comments
Open

Comments

@kudosonline
Copy link

In the admin, the list of available options does not include '31', which should enable a product layout with 3 columns in desktop, 2 in tablet and 1 in mobile.

The patch below is a super quick mechanism to make it available.

--- a/woocommerce-twitterbootstrap.php
+++ b/woocommerce-twitterbootstrap.php
@@ -203,7 +203,7 @@ function showform()

        $numberofcolumns = (get_option('number_of_columns'))?get_option('number_of_columns'):4;

-       foreach(array(1,2,3,4,6) as $number)
+       foreach(array(1,2,3,31,4,6) as $number)
        {
                ?><option value="<?php echo $number ?>" <?php echo ($numberofcolumns==$number)?' selected="selected"':''?>><?php echo $number ?></
        }       
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant