Javascript on last page of post slide
-
I’ve got a post slider plugin installed and I’m attempting to add a javascript to the very last slide (i.e., the end of the post) and not have it render on pages 1-(n-1), where n is the last page.
I’ve tried appending the_content with a filter, but the slider puts itself between the post and the script, and the script ends up on every slider page instead of just the last one.
The slider plugin is the Theia Post Slider, and we’re using the AJAX method. It’s a commercial slider but they aren’t much help in the support department.
The topic ‘Javascript on last page of post slide’ is closed to new replies.