Relative path for custom theme
-
Hello,
I’m trying to create a custom theme, so I registered one by following the tutorial on the Simple Lightbox website. My theme appears in the plugin settings as an available option, so registration seems to be successful.
I’ve created an HTML file for my custom layout, and included it in my main theme folder (the one that contains my site’s stylesheet). Simple Lightbox however is not picking it up, and I believe it might be because perhaps I’m using the wrong relative path for the ‘layout’ property when registering the theme.
I tried this: ‘layout’ => get_template_directory_uri() . ‘/foto-lightbox.html’
What is the right path? Or am I skipping any other steps?
Thanks in advance!
- The topic ‘Relative path for custom theme’ is closed to new replies.