• Hey guys,

    I have a project that utilizes multiple <!–nextpage–> hence pages of a single Post or Page. I embedding JS like so per page-section:

    <script type="text/javascript">
    	jQuery(document).ready(function($){
    		$(".lbp-inline-link-16").colorbox({transition:"elastic", speed:"300", width:"80%", height:"80%", innerWidth:false, innerHeight:false, maxWidth:"80%", maxHeight:"80%", top:false, right:false, bottom:false, left:false, fixed:false, open:false, opacity:"0.8", inline:true, href:"#lbp-inline-href-16"});
    	});
    </script>

    I am doing this because the plugin I’m using only allows for a set # of inline (e.g. Lightbox ColorBox); most of those I don’t need. I was wondering if there’s a plugin that will allow me to keep track of these, and/or turn these into shortcode, and have WP load them near the footer? E.g.:

    [js-1]

    Please advise at your earliest convenience. Thanks in advance.

    Have a good one!
    `Sherwin

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Embedded JavaScript maintenance, possibly plugin?’ is closed to new replies.