Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Firebrand_90

    (@firebrand_90)

    Not really I don’t have problems yet. But I used to see what wordpress is doing for example when I install a mod.

    Now I just saw that WP downloading update then ta-da welcome to 3.5. But no any problem at all, just odd. Wanted to confirm.

    Thread Starter Firebrand_90

    (@firebrand_90)

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <!--dynamic-cached-content--><?php
    $veg=2;
    $a=rand(1,$veg);
    putKBSlider("fejlec".$a);
    ?><!--
    $veg=2;
    $a=rand(1,$veg);
    putKBSlider("fejlec".$a);
    --><!--/dynamic-cached-content-->

    now I use this but still results in blank white screen.

    Thread Starter Firebrand_90

    (@firebrand_90)

    I realized even the new lines and structures do matter.

    I rewrote into this form

    <!--dynamic-cached-content--><?php
    $file = 'video.txt';
    $data = file($file);
    $line = trim($data[array_rand($data)]);
    
    echo <<<YT
    <iframe width="300" height="225" src="https://www.youtube.com/embed/$line?rel=0&vq=large&theme=light&color=white&showinfo=0&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>
    YT;
    ?><!--
    $file = 'video.txt';
    $data = file($file);
    $line = trim($data[array_rand($data)]);
    
    echo <<<YT
    <iframe width="300" height="225" src="https://www.youtube.com/embed/$line?rel=0&vq=large&theme=light&color=white&showinfo=0&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>
    YT;
    --><!--/dynamic-cached-content-->

    And now it works!

    Thread Starter Firebrand_90

    (@firebrand_90)

    So basically it’s only for wordpress for me on my site.

Viewing 4 replies - 1 through 4 (of 4 total)