Hiding the media-new.php File URL option via jQuery

This is because those elements aren’t present when the page is finished loading, they’re inserted later on using javascript. Try hooking into #media-items and running your code when new elements are inserted rather than when the root element is ready.

Remove “minor-publishing” div from Publish admin metabox

In short- no. The html in question is hard-coded in the post_submit_meta_box callback function. You can, of course de-register the publish metabox and re-register your own which mimics post_submit_meta_box (but making your alterations) and being sure to keep the names of the inputs exactly the same. This method has been outlined the following posts where … Read more

WordPress blog code format

You need to wrap your code in either code or pre tags. code is for when inline code in a sentence e.g. include(“hello.php”) whereas pre is for preformatted blocks of text e.g.: function hello_world(){ echo ‘hello world’; } For code highlighting etc, you’ll need to look for plugins. The easiest way of using these tags … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)