抜粋の「続きを読む」リンクにカスタム画像を出力しようとしています。
そのようです...
私のニーズに合わせてカスタマイズできるので、高度な exceprt プラグインを使用しています。
これは、readmoreリンクの画像で抜粋を出力しようとした方法です...
<?php the_advanced_excerpt('length=120&use_words=0&no_custom=0&ellipsis=%26hellip;&read_more=read more <img src"' . get_bloginfo('template_url') . '"/images/readmore-arrow.png" alt="" />&add_link=1'); ?>
しかし、奇妙なことに、このreadmoreリンクを出力します...
画像の場所のURLをバラバラにしてこんな風に出力するらしい…
<img alt="" readmore-arrow.png"="" images="" my-theme-name"="" themes="" wp-content="" wp="" mywebsitename.co.uk="" src"http:="">
これを修正するのを手伝ってくれる人はいますか?
ありがとう
作業コード...
<?php the_advanced_excerpt('length=120&use_words=0&no_custom=0&ellipsis=%26hellip;&read_more=read more <img src="' . get_bloginfo('template_url') . '/images/readmore-arrow.png" alt="" />&add_link=1'); ?>