Deprecated: Assigning the return value of new by reference is deprecated in /home/users/0/lolipop.jp-s1130193/web/feye/wp-settings.php on line 520

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/0/lolipop.jp-s1130193/web/feye/wp-settings.php on line 535

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/0/lolipop.jp-s1130193/web/feye/wp-settings.php on line 542

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/0/lolipop.jp-s1130193/web/feye/wp-settings.php on line 578

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/users/0/lolipop.jp-s1130193/web/feye/wp-settings.php on line 18
Archive for 5 月 22nd, 2012 « Fの視点

Archive for 5 月 22nd, 2012

wp_head()を入れた時に入る上部マージンを消したい

by fujii | 5 月 22nd, 2012 

どういうのかって言うと、こういうのです。

こんな余計なのが入ると非常に不愉快。
ということで速攻消すことにしました。
wp-includes内のadmin-bar.php、309行目あたりに以下のような部分があります。
function _admin_bar_bump_cb() { ?>
<style type=”text/css”>
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
</style>
<?php
}
このstyleの部分をそっくり消して、以下のようにすればOK。
function _admin_bar_bump_cb() { ?>
<?php
}

more from " wp_head()を入れた時に入る上部マージンを消したい "...

Comments Off

「WP Social Bookmarking Light」でfacebook_likeを有効にしたのに表示されない

by fujii | 5 月 22nd, 2012 

コード自体は追加されてるのに表示されないのでおかしーなと思ってたんですが、headタグ内に

を入れれば表示されました。
どうもテーマをカスタムするとwp_headを消してしまう癖が抜けない。
しかもこれに似た現象が前にもあったのに忘れてたのも痛いなー・・・。

more from " 「WP Social Bookmarking Light」でfacebook_likeを有効にしたのに表示されない "...

Comments Off

WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera