• Hi.

    I want to use image file instead of “read more…”text.

    How can I use it.. How I must modify following code..

    <?php the_content(“Continue reading “.the_title(”, ”, false).”…”); ?>

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I quick peek at the code and it’s simply doing a:

    $output .= ' <a href="'. get_permalink() . "#more-$id\">$more_link_text</a>";

    So you should be able to do something like:

    <?php the_content('<img src="my_more.png"/>'); ?>

    Thread Starter lse12

    (@lse12)

    Thank you..
    one more question..

    Now How can I input the themplates_directory url =

    <?php bloginfo(‘template_directory’); ?>

    in <img src=”my_more.png”/>

    it is not working.

    <img src=”<?php bloginfo(‘template_directory’); ?>/my_more.png”/>

    You can try:

    <?php the_content('<img src="'.bloginfo('template_directory').'/my_more.png"/>'); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I use image file for more.. tag’ is closed to new replies.