Board Thread:General Coding Help/@comment-27018431-20151023211822

Good morning, developers.

Would it be possible that I receive help from you on this code: http://pastebin.com/S3crYgD7?

Here is how it works. Using this function, the script retrieves all the pages from the specified category one under each other in a bulleted list. It also makes them linkable.

Here is the best example I can come up with

* Page 1

* Page 2

* Page 3

so forth and so on.

What I would like this code to do (apart form what it already does) is to have options to retrieve pages that are in a category and are not in other specified categories. i.e. They are in category 1, category 2 and 3, but I only want to retrieve them if they are in the first category. In addition, I would also wish for a reverse function. i.e. Only if they are in the categories I specify.

That's number 1. Number 2 would be for the list to sort itself automatically on rows after it reaches a certain number. Example: let us say there are 30 pages in there. I would want for those 30 pages to sort themselves 10 on a row (so 3 rows).

Example:

* Page 1

* Page 2

* Page 3

|

* Page 4

* Page 5

* Page 6

Any help is much appreciated and I would be very grateful for it. 