まとめてみましょう。(苦笑) 変更ポイント以下のようになりました。
15行目 変更前
add_action(‘the_content’, ‘the_contentshowhide’,0);変更後 add_action(‘the_content’, ‘the_contentshowhide’,1);
51,52行目 変更前
function the_contentshowhide($more_link_text = ‘(more…)’, $stripteaser = 0, $more_file = ”) {
$content = get_the_contentshowhide($more_link_text, $stripteaser, $more_file);変更後
function the_contentshowhide($content, $more_link_text = ‘(more…)’, $stripteaser = 0, $more_file = ”) {
$content = get_the_contentshowhide($content, $more_link_text, $stripteaser, $more_file);59行目 変更前
function get_the_contentshowhide($more_link_text = ‘(more…)’, $stripteaser = 0, $more_file = ”) {変更後
function get_the_contentshowhide($content, $more_link_text = ‘(more…)’, $stripteaser = 0, $more_file = ”) {65行目 変更前
return $post->post_content;変更後 return $content;
これぞ、試行錯誤。
こういう方法がいいのか悪いのかわかりませんが、普通はテストサイトあたりでごにょごにょすることを公開でしたまでのこと。
この 0 ってフィルターの優先度なのですが、0 が一番高いんですよね。なにも指定しないと 10 になって一番最後に実行されるようです。
そんな意味があることさえ知りませんでしたよ。今日はスゴイ勉強した気分です。
さぁ、最終テストをうまくクリアできるかどうか・・・。 :eek:
【関連記事】
■WP ME 1.5.1-PreRelese
■慌てない、慌てない
■TB送信不良事件の原因
■show-hide-more.phpの修正
■Show-Hide-Moreで苦しむ

hiromasaさんのブログにはトラックバックできたんだけど…
えっーー、受けれない?!
また問題勃発かぁ∼。 :mad:
管理モードで見ると
http://wp.mmrt-jp.net/wp-trackback.php?p=1449
通知済みになってますが、どちらのWPに原因があるのだろうか
おっ、今度はトラックバック成功してますねぇ
なんでだろう、もう大丈夫なのかなぁ :grin:
testサイトからTBしたくらいで何もしてません。 :smile:
前回は同時送信だったのですか?
私も4箇所同時送信で1箇所届かずということがありました。
もう1つの”Show-Hide-More”を試してみないといけないですかねぇ。
>前回は同時送信だったのですか?
同時送信はしてません、masayanさんにトラックバックして
からhiromasaさんにトラックバックしました。
そーでしたか。
もちょっと、様子を見るしかなさそうですね。 :arrow: