WordPress.org

Forums

WPMovieLibrary
[resolved] Unique identifier (8 posts)

  1. szemcse
    Member
    Posted 8 months ago #

    I would like a unique identifier (letters / numbers) for each movie? This can be made. make it easier to search for movies on the shelves.

    https://wordpress.org/plugins/wpmovielibrary/

  2. Charlie Merland
    Member
    Plugin Author

    Posted 8 months ago #

    Not sure I'm getting your point here. Technically, movies are just a custom post type, meaning they already have a unique identifier: the Post ID. Wouldn't that be what you're looking for?

  3. szemcse
    Member
    Posted 8 months ago #

    The films in my shelf are in a numerical order (not in alphabetical order), each one has a number. If I search for a title of a film, I would like to know where it is (its number). How can I do this?

  4. Charlie Merland
    Member
    Plugin Author

    Posted 8 months ago #

    Ok! The plugin doesn't provide anything like that, but I guess you could achieve that with a few built-in WP tools, I'm thinking of custom fields or post slugs...

  5. Charlie Merland
    Member
    Plugin Author

    Posted 6 months ago #

    Marking as solved.

  6. szemcse
    Member
    Posted 6 months ago #

    How can it be resolved? I can not find in the plugin.

  7. Charlie Merland
    Member
    Plugin Author

    Posted 6 months ago #

    That's because it's not an issue with the plugin itself, nor a feature it should provide considering that it can be done using basic WordPress tools.

    Like I said the easiest way to do what you want is to use custom fields and adapt your theme to it, or build a custom Shortcode. You can add custom fields in the movie editor using the relevant metabox: http://pix.caercam.org/upload/original/1410339344.png Then you can get that value using the get_post_meta() function add create a shortcode to show it, or do it directly in your theme using the the_meta() function.

    I can't do much more right now, but at least this should get you started!

  8. szemcse
    Member
    Posted 6 months ago #

    Thank you very much for your answers, so i have understand.

Reply

You must log in to post.

About this Plugin

About this Topic