Note that there are some explanatory texts on larger screens.

plurals
  1. POP text added to html text
    primarykey
    data
    text
    <p>I know there are a lot of topics on this, and I've already looked at all them and none of the solutions there apply to me.</p> <p>I've put a shortcode to run a jscript for a responsive slider in the 'text' side of my page editor. Yet when I load the page, the source code has tons of paragraph tags after every line of the javascript. It even has a paragraph tag before it even asks for the content itself. </p> <p>I've tried editing the functions.php file of my theme (Reason 2.0), but I'm not sure I could mark it up correctly, it's very php-heavy. I've also tried five of the plugins suggested here. None of them have any effect. </p> <p>The code is horrendous, and looks like this:</p> <pre><code> &lt;p&gt; &lt;!-- START REVOLUTION SLIDER --&gt;&lt;/p&gt; &lt;div id="rev_slider_1_1_wrapper" class="rev_slider_wrapper" style="margin:0px auto;background-color:#E9E9E9;padding:0px;margin-top:0px;margin-bottom:0px;"&gt; &lt;div id="rev_slider_1_1" class="rev_slider" style="display:none;"&gt; &lt;ul&gt; &lt;li data-transition="slidehorizontal" data-slotamount="5" data-masterspeed="300" data-link="http://www.secondhandculture.org/mad-men-and-attraction" &gt; &lt;img src="http://www.secondhandculture.org/wp-admin/admin-ajax.php?action=revslider_show_image&amp;#038;img=uploads%2F2012%2F12%2Fmad-men-image.jpg&amp;#038;h=300&amp;#038;t=exact" &gt;&lt;/p&gt; &lt;div class="caption sft"&lt;br /&gt; data-x=&amp;#8221;400&amp;#8243;&lt;br /&gt; data-y=&amp;#8221;20&amp;#8243;&lt;br /&gt; data-speed=&amp;#8221;300&amp;#8243;&lt;br /&gt; data-start=&amp;#8221;200&amp;#8243;&lt;br /&gt; data-easing=&amp;#8221;easeOutExpo&amp;#8221;&gt;&lt;img src="http://www.secondhandculture.org/wp-content/uploads/2012/12/Mad-men-text.png" alt="Mad Men"&gt;&lt;/div&gt; &lt;div class="caption big_white sfr"&lt;br /&gt; data-x=&amp;#8221;550&amp;#8243;&lt;br /&gt; data-y=&amp;#8221;140&amp;#8243;&lt;br /&gt; data-speed=&amp;#8221;300&amp;#8243;&lt;br /&gt; data-start=&amp;#8221;500&amp;#8243;&lt;br /&gt; data-easing=&amp;#8221;easeOutExpo&amp;#8221;&gt;How it makes us love &lt;br&gt;&lt;br /&gt; what we know we should hate, &lt;br&gt;&lt;br /&gt; and asks us why&lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;div class="tp-bannertimer tp-bottom"&gt;&lt;/div&gt; &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt; &lt;script type="text/javascript"&gt;&lt;/p&gt; &lt;p&gt; var tpj=jQuery;&lt;/p&gt; &lt;p&gt; tpj.noConflict();&lt;/p&gt; &lt;p&gt; tpj(document).ready(function() {&lt;/p&gt; &lt;p&gt; if (tpj.fn.cssOriginal != undefined) tpj.fn.css = tpj.fn.cssOriginal;&lt;/p&gt; &lt;p&gt; var revapi1 = tpj('#rev_slider_1_1').show().revolution( { delay:9000, startwidth:, startheight:300, hideThumbs:200,&lt;/p&gt; &lt;p&gt; thumbWidth:100, thumbHeight:50, thumbAmount:1,&lt;/p&gt; &lt;p&gt; navigationType:"none", navigationArrows:"nexttobullets", navigationStyle:"round",&lt;/p&gt; &lt;p&gt; touchenabled:"on", onHoverStop:"on",&lt;/p&gt; &lt;p&gt; navOffsetHorizontal:0, navOffsetVertical:20,&lt;/p&gt; &lt;p&gt; shadow:2, fullWidth:"off",&lt;/p&gt; &lt;p&gt; stopLoop:"off", stopAfterLoops:-1, stopAtSlide:-1,&lt;/p&gt; &lt;p&gt; shuffle:"off" });&lt;/p&gt; &lt;p&gt; }); //ready&lt;/p&gt; &lt;p&gt; &lt;/script&gt;&lt;/p&gt; &lt;p&gt; &lt;!-- END REVOLUTION SLIDER --&gt;&lt;/p&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload