Change "Read the rest of this entry" into an Image File with CSS
-
<?php if the_content(__(‘<img src=”http://domain.com/absolute-link-to/images/readmoreimage.png”/>’)); ?>
I’d like to have an image instead of Text for the Read More code. I have this working code with an absolute URL path to the image.
-Trying to format the WP Link so it’ll work with any Theme path.
-Trying to add a CSS element to it so I can make it Left Justify w/ Margins.Here’s my failed attempt at WP Link;
<?php if the_content(__(‘<img src=”<?php bloginfo(“template_url”); ?>/images/readmoreimage.png” />’)); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change "Read the rest of this entry" into an Image File with CSS’ is closed to new replies.