Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's kind of hard to debug it without seeing the whole file but the fact you get a 'blank page' suggests there's definitely something larger than a syntax problem somewhere.</p> <p>Do you definitely have correctly nested php tags? i.e.</p> <pre><code>&lt;?php some code &lt;?php some more code ?&gt; some more code ?&gt; </code></pre> <p>will give you problems.</p> <p>Also, it's now common practice to leave the last <code>?&gt;</code> from the end of the file (it means you wont have any issues with having whitespace after the closing tags and they're not necessary)</p> <p>On top of that, you've used <code>wp_register_script('jquery'...)</code> - WordPress already has jquery registered. If you wish to re-register it, you need to <code>wp_deregister_script('jquery')</code> first. I'd also only do that <em>outside</em> of the admin, so:</p> <p><code>if(!is_admin()){wp_deregister_script('jquery'); &lt;your wp_register_script stuff&gt; }</code></p> <p>If these things don't help, copy and paste your entire <code>functions.php</code> file (use pastebin.com and give us a link)</p> <p>As an aside, you're using <code>get_bloginfo('url')</code> several times - which means you're running lots of unnecessary calls to the database. Stick it into a variable and save yourself a little overhead:</p> <pre><code>$my_url = get_bloginfo('wpurl'); wp_register_script('thing', $my_url.'/script/location/file.js'); </code></pre> <p>Oh! One more thing, I don't think <code>url</code> is an allowed argument for <code>get_bloginfo()</code> I think you want <code>wpurl</code></p> <p><a href="http://codex.wordpress.org/Function_Reference/get_bloginfo" rel="nofollow">Codex page on get_bloginfo() function</a></p> <p>Good luck!</p>
    singulars
    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.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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