I have been getting my rear kicked on this.
I want to:
1. Read directory called "uploads" for files "cat-[thispage]-[filename].jpg".
2. If file begins with "cat" and [thispage] matches the page slug of this current (WordPress) page, print image to screen.
3. Extract [filename] and split is...
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.