Created
July 29, 2012 22:52
-
-
Save ChromeOrange/3202368 to your computer and use it in GitHub Desktop.
Change number of products on homepage #WhiteLight
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Edit wp-content/themes/whitelight-commerce/functions.php | |
| // Find this on or around line 60 | |
| $new_options[] = array( "name" => "Number of Products", | |
| "desc" => "Select the number of products that should appear in the shop area on the home page.", | |
| "id" => $shortname."_shop_area_entries", | |
| "std" => "3", | |
| "class" => "hidden", | |
| "type" => "select", | |
| "options" => $other_entries); | |
| // Replace with this | |
| $new_options[] = array( "name" => "Number of Products", | |
| "desc" => "Select the number of products that should appear in the shop area on the home page.", | |
| "id" => $shortname."_shop_area_entries", | |
| "std" => "3", | |
| "class" => "hidden", | |
| "type" => "text"); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment