Title: Layout questions   custom fields
Last modified: August 22, 2016

---

# Layout questions custom fields

 *  Resolved [Freek_U](https://wordpress.org/support/users/freek_u/)
 * (@freek_u)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/layout-questions-custom-fields/)
 * Hi Charlie,
 * I’m running into a few questions/issues wrt changing the markup of movies/collections:
    1. Where can I change the markup of a collection page created using the [movies
       collection=”..”] shortcode? I found that _post.php is used for the individual
       movies on a automatically generated collection page ([http://url/?collection=&#8230](http://url/?collection=&#8230);),
       but I can’t find anything similar for the page created using the shortcode
    2. I’ve tried adding a single-movie.php, but it keeps on using single.php. Do I
       need to change something else somewhere?
    3. Would it be possible to list movies, filtered by data in a custom field? Reason:
       I’d like to use the plugin for a movie theater and would like to list the next
       3 screenings, and list all movies sorted by their score (between 0.00 and 10.00).
       I could tackle the first by manually maintaining a collection, but maybe there’s
       easier ways to do it..?
 * I hope to figure out most of it by myself, but I need some directions as to where
   to look at 🙂 I’m using a premium theme from Yootheme, and added the custom fields
   using the Advanced Custom Fields plugin.
 * Thanks!
    Freek
 * [https://wordpress.org/plugins/wpmovielibrary/](https://wordpress.org/plugins/wpmovielibrary/)

Viewing 1 replies (of 1 total)

 *  [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * (@askelon)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/layout-questions-custom-fields/#post-5780522)
 * Hi Freek_U,
 * Sorry for taking so long to answer you!
    1. The plugin uses a template that you can overload, `views/shortcodes/movies.php`.
       Just create a `wpmovielibrary` directory in you theme’s folder, copy the folder
       structure above and edit the `movies.php` file to your needs 🙂 I’m not sure
       there’s a way to narrow the modifications to the shortcodes using specifically
       a `collection="..."` parameter, though, but that would be an idea for a future
       release.
    2. It’s possible that your theme relies on `content-{$something}.php` template 
       files, in which you probably should take a look at the `content-single.php` 
       file and [test for post type](http://codex.wordpress.org/Function_Reference/get_post_type)
       to add you custom part.
    3. There’s not direct way to do this right now, though movies are filterable through
       meta URL (see [http://demo.wpmovielibrary.com/movies/date/2000-2010/](http://demo.wpmovielibrary.com/movies/date/2000-2010/)
       for instance), but that’s something that will be possible in a future release,
       at least in the grid, probably via other Shortcodes too.
 * Hope that helps you a bit! Let me know if you miss anything else.

Viewing 1 replies (of 1 total)

The topic ‘Layout questions custom fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpmovielibrary_f6ad77.svg)
 * [WPMovieLibrary](https://wordpress.org/plugins/wpmovielibrary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpmovielibrary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpmovielibrary/)
 * [Active Topics](https://wordpress.org/support/plugin/wpmovielibrary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpmovielibrary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpmovielibrary/reviews/)

## Tags

 * [custom field](https://wordpress.org/support/topic-tag/custom-field/)

 * 1 reply
 * 2 participants
 * Last reply from: [Charlie Merland](https://wordpress.org/support/users/askelon/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/layout-questions-custom-fields/#post-5780522)
 * Status: resolved