Change theme to include page title
-
I’ve been looking at the theming capabilities, and am trying to inject a link that contains the page title and the gallery index number in the url:
e.g <a href=”/form?param1=<pagetitle>¶m2=<index>”>Link</a>
Looking at the template tags, it doesn’t look like the page title is exposed, and I’m not sure how I could have php code execute when the HTML template is loaded. The starter theme main.php doesn’t seem to facilitate anything like that.
Similarly, I tried to use javascript to append it to the slb_group_status span, but I can’t figure out how to hook into the javascript that’s run to populate the when an image is clicked to populate the slb_viewer_wrap div with image details.
I wonder if there’s any code I can reference? I couldn’t find anything on your site or github to help.
- The topic ‘Change theme to include page title’ is closed to new replies.