Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressテーマでSkypeが電話番号を上書きするのを修正する方法

コンピューターにSkypeを入れている方は、サイトにアクセスするとSkypeが自動的に電話番号をハイライト表示することがあることにお気づきかもしれません。WordPress開発者の視点から見ると、これは非常にイライラさせるものです。サイトの見た目が悪くなるだけでなく、レイアウトが崩れてしまうこともあります。実際、つい最近も、Skypeが電話番号をハイライトしたためにページが壊れ続けているクライアントがいました。この問題を解決するのはそれほど難しいことではありません。HTMLドキュメントの先頭にコードを追加するだけで、どのブラウザーで表示されていても、Skypeがテーマの数字をハイライトしないようになります。貼り付けるコードは次のとおりです:

[cbk1]

このコードが<head>タグと</head>タグの間にあることを確認してください。

単にプラグインをオンにしたい場合は、プラグイン「Prevent Skype Overwriting」をダウンロードしてください。

WordPressテーマでSkypeの電話番号が上書きされる問題を解決できることを願っています。ご質問やご意見がありましたら、以下にコメントをしてください。

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

8件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Tony says

    Is there no way to simply modify the Skype Click To Call highlight colour using CSS?

    I would quite like to keep the Skype functionality on my website / or on a user’s computer who have enabled Skype Click To Call… however, since my site have a gre background, the Skype Click To Call color (blue) is really horrid !!

    Anyone know how to modify the click to call highlight color, using the website CSS ??

    I understood from a StackOverflow article that Skype uses a long and randomized string on each highlighted click to call element – making it very difficult to target the CSS.

    If anyone can shed light on this – that would be good.

    Oh – and two fingers up to Microsoft (Skype) for not thinking of developers :-)

  3. Michelle Abrahmz says

    Thanks so much! I added it ot my all in one seo plug in and it fixed it. I don’t use IE, but checked and it worked there as well.

  4. Karen Leslie says

    Ah it seems like I have a plugin that is overriding it so I need to add it somewhere else as well…

    Cheers,
    Karen

  5. Karen Leslie says

    Has anyone else found that this doesn’t seem to work in IE8?
    I’ve tried the plugin too with the same results – it works sometimes like on the Home page of a wordpress website but not on all the pages….

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。