-
WordPress
ウィジェットの中でテンプレートディレクトリの中の画像が使いたいとき
まず、ウィジェット内でもショートコードが使えるようにfunctions.phpに下記を書く [htm […] -
WordPress
カスタムフィールド使うときの便利プラグインいろいろ
◆ カスタム投稿を設定するプラグイン Types Custom Post Type UI ◆ カスタ […] -
WordPress
ある特定の条件下で記事を取得するときsticky_postを表示させない
[html] <?php $sticky = get_option( ‘sticky_post […] -
WordPress
ogpとかソーシャルボタンまわりいろいろ
ogp設定 ヘッダーのところに書く まずこれ [html] <html lang=" […] -
WordPress
ページ毎に個別のcssを入れられるようにする
[html] //Custom CSS Widget add_action(‘admin_menu’ […] -
WordPress
WPのDBを最適化してくれるプラグイン
WP-Optimize http://wordpress.org/extend/plugins/wp […] -
未分類
今みているページのurlを取得する
[html]<?php print("http://" . $_SERVE […]