Adding more than 3 images per listing
-
I would like to be able to upload 5 photos instead of 3.
I have version 3.7 of Classyfrieds installed and am currently modifying the necessary files to see if I can customise the number of images/photos per single listing on my own.
I followed your code doing manual searches on any relevant code that related to the 2 and 3 foto/image(s) and carefully copying/pasting/editing to read 4 or 5 foto/image(s). All seemed well until I modified the form_upload.php. However, I can’t see anything in it that I have done wrong, so was wondering if perhaps the init.php file is the culprit.
Is this edited line of code for the init.php kosher?
f (empty($cfo['form_image_field'])) $cfo['form_image_field'] = 'Allow_5_images'; // 1 || 2 || 3 || 4 || 5 || off
Here is the site url if you care to register and/or to have a look:
https://wp1.smallworks.ca/blog/add_a_listing/Hope you can help with this. Thanks so much.
- The topic ‘Adding more than 3 images per listing’ is closed to new replies.