Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks for your prompt reply! This is really cool.

    I got the custom template to work, didn’t come to mind I had to change the actual css content, because I though it was generated by the gallery.php but nevermind.

    As to loading the CSS — how would you solve this? wp_enqueue_style() or just always load it or something else maybe?

    I also cannot get it to load the CSS when using my own template (just copied the “file-gallery” template to my “themes/file-gallery-templates” directory as per help file. I can see it loads the right php file by messing with it, however it won’t load the CSS. Not even when putting the shortcode into the post itself this time.

    Sorry to revive this old thread, but after hours of searching this is the closest to my problem that I could find.

    For me, the CSS gets included just fine when having the shortcode in a post, however when I try to use either the do_shortcode() or your file_gallery_shortcode() in a template file, the CSS just won’t get loaded.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)