-
-
Adobe Dreamweaver CS5.5を使ってHTMLドキュメントにFlash(swfファイル)を挿入し、そのコード(例1)をコピーして、WordPressの新規投稿画面(HTMLモード)にペースト、そのまま公開した場合はなんともないのですが、一度でも、ビジュアルモード→HTMLモード にすると、文字化けのような感じやら、一部が移動して他のものとくっついたりでガラリと変わってしまいます。(例2)
実際にサイトを見てみるとIE以外のブラウザでFlashと同じ位の高さの空白ができてしまいます。
プラグインをすべて無効化や WP Multibyte Patch のみ有効にして試してみましたが、やはりダメでした。テーマは Twenty Eleven バージョン 1.4 です。
さくらのレンタルサーバー使用
PHP 5.3.18
MySQL 5.5
どなたか原因や解決法などご存知の方がおられましたら、よろしくご教示お願いします。
-
ローカル環境からロリポップサーバーへの移行で、
ローカルのワードプレス内でエクスポートしたファイルをサーバーのワードプレスでWordPress Importerのプラグインを使ってインポートしました。カスタム投稿で投稿した記事一覧のサムネイルが表示されません。
絶対パスでは表示されます。
プラグインは全部無効化して再度有効化しましたが、表示されません。
ローカル環境のプラグインとサーバー側のプラグインのバージョンも一緒です。ソース表示をみると
ローカルでは
<p id=”image”><img src= …… /></p>
となってますが、
サーバー側では
<p id=”image”></p>
となっています。taxonomy.php内で
<p id=”image”><?php the_post_thumbnail(); ?></p>
<p id=”item_title”><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></p>
のように記述してます。一旦サーバー側のデータベースを消去して、再度ワードプレスをインストールし、
インポートしなおしました。が、やはりダメです。
記事のIDとかはローカルとサーバーともに一緒です。
サムネイルだけ表示されず、記事内の画像は表示されます。検索が下手なのか該当する記事がみつかりません。
データベース間での移行はうまくいかず(知識が足りないため)断念したので、できればワードプレス内でのインポートをしたいと思ってます。
どなたかアドバイスください。
Windows7
MY SQL5.5.16
Wordpress3.4.2
-
WordPress ME版の2.2.3から、3.4.2日本語版にバージョンアップしたら、カテゴリー情報が消えてしまいました。
■症状詳細
(1) カテゴリーデータそのものが消えてしまった。カテゴリー一覧が空っぽの状態。
(2) 各記事につけたカテゴリー情報も消えてしまった。
(3) 新規カテゴリーの作成もできなくなってしまった。「キーワードをデータベースに挿入できませんでした」というエラーメッセージが出ます。たぶん、データベースの構造の違いが原因ではないかと推測しているのですが、具体的にどこをどのようにいじればいいのか、さっぱりわからない状態です。
(a) もし、カテゴリー情報を復元し、各投稿記事への関連づけも戻す方法があったらお教え下さい。
(b) 完全に復元する方法がない場合でも、どこかにカテゴリー情報が残っていて、手作業でも復元する手がかりがあれば、お教え下さい。私が行ったバージョンアップの手順は、ここにまとめてあります。
サーバの環境は、以下の通りです。
・OS: FreeBSD 8.2-RELEASE
・Apache 2.2.23
・PHP 5.4.7
・MySQL 5.5.28
・ブログサイト: ytani blog以上、よろしくお願い致します。
-
始めて投稿させていただきます。
色々調べてみたのですが、さっぱり解決方法が分からず……
何卒お知恵をお貸し頂ければと存じます。
当WEBサイトは複数のカテゴリ(基本的に親カテゴリのみで子カテゴリは無し)に、それぞれ対応した投稿を振り分けております。
例として以下のような形です。
今回発生した問題は、上の例で説明すると、「http://○○○/aaa/test.html」「http://○○○/bbb/test.html」の場合は問題なく投稿が表示されますが、「http://○○○/ccc/test.html」の場合のみ「404 Not found(The requested URL /〇〇/〇〇.html was not found on this server.)」エラーが起こってしまいます。
そもそも該当の「http://○○○/ccc/test.html」というページは今まで問題なく表示されていたのですが、諸事情にてサーバーを移転したところ、新しいサーバーでは何故かこのカテゴリだけ投稿が表示されなくなってしまいました。カテゴリを登録し直しても表示されません。
ただしこのカテゴリスラッグに「http://○○○/ccc1/test.html」のように適当な一文字を追加してあげると、通常通り投稿が表示されます。
この「/ccc/」と同名の投稿やカテゴリのスラッグがあるのではないかとデータベース内も検索しましたが、やはり同名のスラッグは表示されず……そもそも一度該当カテゴリを消して、同名、同スラッグで登録しなおすときちんと登録されているので、考え難いのですが……
調べてみたところ、おおよそ十数個あるカテゴリの中で、この一つだけが404エラーを返してしまいます。スラッグを変えられればすぐに解決なのですが、当サイトにて同URLで長く使用している非常に大事なページですので、URLを変えるのも忍びないのです。
対策として下記の方法を取ったのですが、
■word pressのバージョンを最新にする。
■プラグインを全て停止した上で、改めて投稿を表示する。
■パーマリンクを一度通常に戻し、その後に元通りのカスタム設定にする。
※カスタムパーマリンクは「/%category%/%postname%.html」という構造です。
■テーマをデフォルトに戻す。これを全て行っても相変わらず「404」の状態です……
これからどうしたらいいのかサッパリ分からず、困り果てております。
何かご助言があれば、どうかよろしくお願い申し上げます。
環境:
OS FreeBSD 8.2
Perl 5.8.9
PHP 5.2.8 / 5.3.6
Python 2.7.2
Ruby 1.8.7
MySQL 5.5.14ブラウザとそのバージョン:全ブラウザ
捕捉:応急策として「Redirection」というリダイレクト用のプラグインを使用して「http://○○○/ccc/test.html」から「http://○○○/ccc1/test.html」にリダイレクトさせようと設定したのですが、全くリダイレクトされません……
-
本日初めて、WordPressをインストールいたしました。
インストールは問題なく終わっているのですが、
記事を投稿して編集してみたところカテゴリが変更できません。管理画面の 投稿 – カテゴリ を表示すると、
新規カテゴリの追加はできるのですが再表示すると
カテゴリー一覧のところは見つかりませんでしたとなっています。
また、記事の追加時もカテゴリーリストに何も表示されません。ダッシュボードで見るとカテゴリー数は7となっており、
データベースでもカテゴリー自体は存在しているようです。
何かする必要があるのでしょうか?環境は
MySQL 5.5.28、PHP 5.4.7
でXREAのサーバを使っています。
-
WP-membersを使い、会員制サイトを構築しています。
会員登録申請があった際、
・管理者宛に申請があった旨の自動送信メール
・管理者承認後、会員に承認した旨の自動送信メール
を送りたいのですが、2つ問題がでてきました。・管理者宛の自動送信メールに申請者の情報が記載されない。
メールテンプレートに記載してあるショートコードは以下の通りです。
ユーザー名: [username]→記載される
email: [email]→記載される
[fields]→項目は記載されるが、中身が空白
This user registered here:
[reglink]
user IP: [user-ip]→記載されない
activate user: [activate-user]→URLが記載される・承認した会員の名前を自動送信メール内に表記したい
フィールドで設定したラベル(氏名や電話番号など)が反映されるようにしたいです。また、申請のあったユーザーの情報について、ユーザー一覧→個別情報ページ内「WP-Members 追加フィールド」内の各項目(会員登録の際、ユーザーに記載してもらった名前など)が空白になっています。
どうやらWP-membersで新しく設定したフィールドラベルが全て空白になっているようです。原因と対処法を教えていただけますでしょうか?
よろしくお願いいたします。<環境>
wordpressバージョン:3.4.2
WP-membersバージョン:2.7.7(日本語化済み)
MySQLバージョン:5.5
PHPバージョン:5.2.17
サーバー:さくらのレンタルサーバ(スタンダード)
-
ワードプレスをインストールしたのですが、
投稿画面で書式設定のアイコン、ビジュアル・HTMLタブや表示オプションのタブ、
画像のアプロード/挿入が一切ないです。
タイトル入力欄と本文入力欄があるだけで、投稿自体はできます。
もう一度同じバージョンをインストールしてもやはり同じです。
プラグインは全部無効化・有効化してもなにもかわりません。
どなたかわかる方いらっしゃいましたら教えてください。Windows7
MY SQL5.5.16
Wordpress3.4.2
-
外観の「ウィジェット」にはサイドバーしか設定がなく、
ヘッダーの下に固定ページなどのリンクを設置したいのですが、
どのようにしたらよいのでしょうか。現在のヘッダー(header.php)は以下のとおりです。
@charset "utf-8"; /* Theme Name: 犬 2カラム左メニュー Theme URI: http://www.fsv.jp/ Description: DOG Tmaplate Version: 1.0 2009/01/19 Author: tkm co Author URI: http://www.fsv.jp/ */ /* Global ----------------------------------------------------------------- */ body { color:#333; font-style: normal; font-weight: normal; font-size : 75%; line-height : 1.5; font-family:"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", sans-serif; background:#FFFFFF url(images/body.gif) repeat; margin:0; } a { text-decoration: underline; color: #630000; } a:hover { text-decoration: none; color:#941f1f; } ol { list-style: decimal outside; } ul { list-style: disc outside; } h1, h2, h3, h4, h5, h6, p, pre, blockquote, fieldset, ul, ol, dl { margin-bottom: .75em; } img a { border:0; } address { font-style: normal; display: inline; } h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; } table { border-spacing: 0; } fieldset,img,abbr,acronym { border: 0; } caption,th { text-align: left; } q:before,q:after { content: ''; } blockquote, code { margin:10px 0; background:#f5f5f5; padding:5px 10px; border:1px solid #c5b598; line-height:1.4; display:block; color:#333; } blockquote code { margin:0; padding:0; border:none; } /* Utility */ .widget-header, .trackbacks-header, .comments-header, .comments-open-header, .search-form-header { /* ie win (5, 5.5, 6) bugfix */ p\osition: relative; width: 100%; w\idth: auto; } .pkg:after, #content-inner:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } .pkg, #content-inner { display: inline-block; } /* no ie mac \*/ * html .pkg, * html #content-inner { height: 1%; } .pkg, #content-inner { display: block; } /* */ /* Layout ----------------------------------------------------------------- */ #container-inner { width: 850px; min-height: 100%; text-align: left; margin: 0 auto; background: #fff; border-right: 3px solid #000; border-left: 3px solid #000; } #header, #content, #alpha, #beta, #gamma, #footer { position: relative; } #alpha, #gamma { display: inline; float: right; } #beta { float: left; } #header-inner, #content-inner, #footer-inner, #alpha-inner, #beta-inner, #gamma-inner { position: static; overflow: hidden; } .kuzu { margin-left: 200px; } /* float */ .alignleft { margin-right: 1em!important; margin-top: 1em!important; float: left; } .alignright { margin-left: 1em!important; margin-top: 1em!important; float: right; } /* TWT */ .layout-twt #alpha { left: 190px; width: 470px; } .layout-twt #beta { left: -470px; width: 190px; } .layout-twt #gamma { width: 190px; } /* WT */ .layout-wt #alpha { width: 660px; } .layout-wt #beta { width: 190px; } /* TW */ .layout-tw #alpha { width: 660px; } .layout-tw #beta { width: 190px; } #alpha-inner { padding: 10px 20px 20px; margin-top: 0px; } #beta-inner { padding: 0px 0 5px; margin:18px 10px 10px; } #gamma-inner { padding: 0px 0 5px; margin:18px 10px 10px; } .layout-twt #content-inner { background: url(images/content-twt.gif) repeat-y; } .layout-wt #content-inner { background: url(images/content-wt.gif) repeat-y; } .layout-tw #content-inner { background: url(images/content-tw.gif) repeat-y; width: 850px; } /* Header ----------------------------------------------------------------- */ #header { background: #ffffff url(images/header.jpg) no-repeat 0 bottom; } #header-inner { padding: 0; } #header a { color: #fff; font-weight: bold; text-decoration: underline; } #header a:hover { text-decoration: none; } * html #header-content { height: 129px; } #header-content { width: 830px; min-height: 195px; margin: 5px 0 0 20px; } #header-name { margin: 0 0 140px 0; font-size: 150%; font-weight: bold; width: 500px; } #header-description { margin:0; font-size: 130%; line-height: 1.4; color: #fff; font-weight: bold; width: 500px; margin-left: 1px; } /* Content ---------------------------------------------------------------- */ .asset-body, .asset-more, .asset-more-link, .comment-content, .comment-footer, .comments-open-content, .comments-open-footer, .comments-closed, .trackbacks-info, .trackback-content, .trackback-footer, .archive-content { clear: both; } .asset, .comments, .trackbacks, .archive { overflow: hidden; width: 100%; } .asset, .asset-content, .comments, .trackbacks, .archive { position: static; clear: both; } .entry-categories { margin-bottom: .5em; } .entry-categories-header { margin-bottom: 0; margin-right: .25em; display: inline; font-weight: bold; } .entry-categories-list { display: inline; list-style: none; margin-left: 0; padding-left: 0; } .entry-categories-list .entry-category { display: inline; } #content-inner { padding: 0; } .content-nav { text-align: center; margin: 30px 0 10px; } /* asset */ .asset { margin:0 0 10px; } .layout-twt .asset { margin:0 0 10px; background:url(images/asset_3.gif) repeat-y 0 top; } .asset-header { margin:0 0 10px; padding-top:5px; } .layout-twt .asset-header { background:url(images/asset-header_bg_3.gif) 0 top no-repeat; } .asset-name { font-size: 140%; font-weight: bold; color: #000000; margin:0 5px 5px; padding:13px 5px 7px 50px; background:url(images/asset-name_bg.gif) no-repeat left bottom; } .asset-meta { margin:5px 0 0; padding: 5px 10px 10px; font-size: 90%; } .asset-name a:link, .asset-name a:visited { text-decoration: none; color: #3b3b3b; } .asset-name a:hover, .asset-name a:active { text-decoration: underline; } .asset-content { margin: 5px 0; padding:0 10px; } .asset-body { margin:0 0 10px; } .asset-more-link { font-size: 90%; text-align:right; } .asset-pagetop { margin: 0; padding-right: 10px; font-size: 12px; color: #333; background:url(images/content-tw.gif); text-align: right; } .layout-wt .asset-pagetop { margin: 0; padding-right: 200px; font-size: 12px; color: #fff; background:url(images/content-wt.gif); text-align: right; } .asset-footer { clear: both; margin: 10px 0 0; padding: 5px 10px 10px; font-size: 90%; } .layout-twt .asset-footer { background:url(images/asset-footer_bg_3.gif) 0 bottom no-repeat; } .entry-categories, .entry-tags { color:#333333; } /* comment*trackback */ .comments, .trackbacks { margin:10px 0 30px; } .comments p { margin:10px 20px; } .comments-header, .trackbacks-header, .comments-open-header { font-size : 120%; font-weight: bold; color: #333333; margin:20px 0 10px; padding:12px 10px 8px 38px; background: url(images/comments-header_bg.gif) no-repeat left bottom; border-bottom: 1px dotted #666666; } .comments-content { margin:0 0 30px; } .comments-open { margin:0 0 10px; } .comment, .trackback { margin:0 10px 0px; padding:0 0 5px; border-bottom:1px solid #999999; } #comment-submit, #comment-preview { font-weight: normal; } .comment-content { clear: none; line-height: 1.5; margin: 0; } .comment-content p { margin: 0 10px 3px; } .comments-open-content, #comments-open-footer { margin:0 0 5px; padding:0 10px; } #comment-form-external-auth{ margin:0 0 5px; padding:0; } .comments-open label { display: block; } #comment-form-name, #comment-form-email, #comment-form-url, #comment-form-remember-me, #comments-open-text { margin:0 0 5px; } .trackback-content, .trackback-footer { margin:0 0 5px; padding:5px 10px 0; } .trackbacks-info { margin:0 0 10px; padding:0 20px; } /* archive-title */ .archive-title { margin: 5px 0 20px; padding:10px 10px 5px 35px; font-size: 120%; font-weight: bold; color: #333333; background:url(images/archive-title_bg.gif) no-repeat 0 bottom; _height:1px; } .archive-title em { font-style:normal; } #comment-author, #comment-email, #comment-url, #comment-text, #comment-tex { width: 80%; } /* search */ .search-results-header { margin: 5px 0 20px; padding:10px 10px 5px 35px; font-size: 120%; font-weight: bold; color: #333333; background:url(images/archive-title_bg.gif) no-repeat 0 bottom; border-bottom: 1px dotted #000000; _height:1px; } /* Footer ----------------------------------------------------------------- */ #footer { background: #24231e url(images/footer_tw.jpg) no-repeat left top; } .layout-wt #footer { background: #24231e url(images/footer_wt.gif) no-repeat left top; } .layout-twt #footer { background: #24231e url(images/footer_twt.gif) no-repeat left top; } #footer-content { color: #fff; margin: 60px 20px 0 20px; } #footer-content a { color: #fff; } #footer .widget { margin: 0; } #footer .widget-powered .widget-content { padding: 40px 0 0; text-align: left; } .layout-wt #footer .widget-powered .widget-content { padding: 30px 0 0; text-align: center; } /* Widget ----------------------------------------------------------------- */ .widget { position: relative; overflow: hidden; width: 100%; margin: 0 0 20px; } .widget a { color: #534741; } .widget a:hover { color: #F7931E; } .widget-header { margin: 0 5px 5px; padding: 10px 10px 3px 30px; font-size : 120%; background: url(images/widget-header.gif) no-repeat left bottom; color:#000000; line-height: 1.2; _height:1px; } .widget-header a:link, .widget-header a:visited { text-decoration:none; color: #630000; } .widget-header a:hover, .widget-header a:active { text-decoration:underline; } .widget-content { position: relative; margin: 0; } .widget ul { margin: 0; padding: 0 10px; list-style: none; } .widget li { margin: 0; padding:2px 0 2px 12px; background:url(images/li.gif) 0 5px no-repeat; height:1%; } .widget li img { display:inline; } .widget ul ul { margin:0; padding:0; } .widget select { margin-left: 10px; width: 140px; } /* Links */ .widget_links a { margin: 0 10px; padding:2px 0 2px 15px; background: url(images/li.gif) 0 5px no-repeat; } .widget_links ul a { margin: 0 ; padding-left:0; background:none; } /* Calendar */ #wp-calendar { text-align:center; margin:0 auto; } #wp-calendar td { padding:1px 3px; font-size: 100% !important; font-size: 95%; } #wp-calendar caption { text-align:center; margin:0 auto 5px; font-weight:bold; } #wp-calendar #prev { text-align:left; } #wp-calendar #next { text-align:right; } /* search */ #searchform { margin: 0; padding: 0 10px; } .widget-search ul { margin: 5px 0 0; padding: 0; } .widget-search li { padding:0; background: none; font-size:90%; } #s { margin-bottom:5px; width:130px; } /* rss */ .textwidget { margin: 0; padding: 0 15px; } /* Utilities -------------------------------------------------------------- */ #header:after, #header-inner:after, #content:after, #alpha-inner:after, #beta-inner:after, #gamma-inner:after, #footer:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } #header-inner, #content-inner, #footer-inner, .asset-header, .asset-body, .asset-footer { /*HACK targets IE6 but not 7*/ height: 1%; } @media print { * { position: static ! important; overflow: visible ! important; } }
よろしくお願いします。
-
HTML+CSSでサイト制作段階で、firefox,safari,chrome, IE7,8,9でレイアウト崩れが無いことを確認し、(IE7に関して, *:first-child+html で数カ所CSSハックしました。margin値など)
その後wordpressでサイト構築したのですが、完成後ブラウザで確認したところ、IE7のcssハックが効いていない状態です。(wordpressで制作する前のブラウザチェックではIE7用のcssハックが適用されていました) これはどのようなことが原因なのでしょうか?
————————————
WordPress のバージョン: 3.4.1
PHP、MySQL のバージョン: PHP 5.2.17 (CGI版) / MySQL 5.5
サーバー環境:さくらサーバ
ブラウザとそのバージョン
Mac OS x 10.8.1
————————————
-