Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi flodji,

    Yes you can! If you merely want to add some styling you can do it from your theme’s style.css:

    /* Default movie title value when automatically showing metadata with movies */
    .wpml_title_field_value,
    /* Movie title value in labeled [movie_title] Shortcode  */
    .wpml_movie_title_value,
    /* Movie title value in unlabeled [movie_title] Shortcode */
    .wpml_movie_title {
    	color: grey;
    	font-weight: bold;
    }

    For more complex modifications you can use templates with plugin version 1.2+.

    Thread Starter Florian Leyrer

    (@flodji)

    Hi Charlie,

    thx for your quick Reply.

    Can you explain me how to use templates?

    Thx
    Flodji

    The plugin’s views folder contains all the plugin’s important HTML parts; you can override these files by uploading your edited versions in your theme’s folder or through a custom plugin. Your template will be used instead of the plugin’s default one, so you can put pretty much everything you want in it.

    I haven’t had any time to write the doc on that part yet, but that’s on my todo list for early September. Meanwhile you can take a look at how the wpmovielibrary-lightbox works, it uses templates to implements JavaScript LightBox2 effect to images and posters shortcodes; it should be a good example of how this work!

    Thread Starter Florian Leyrer

    (@flodji)

    Hi Charlie,

    great, thx.

    Greetings
    Flo

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Code’ is closed to new replies.