Please help: Scripts on WP
I want to make "Read More Details" in bold and green color for hidden content
EX: Read More Details
Edit in post.php but I don't know PHP so help me if you can. Thank you !!!
I want to make "Read More Details" in bold and green color for hidden content
EX: Read More Details
Edit in post.php but I don't know PHP so help me if you can. Thank you !!!
PHP:
<?php if($post_preview<>'title'): ?>
<div class="post-content clearfix">
<?php
if(is_search()):
$content = get_the_excerpt();
$keys= explode(" ",$searchquery);
$content = preg_replace('/('.implode('|', escape_string_for_regex($keys)) .')/iu','<span class="altText highlight">\0</span>',$content);
echo $content;
else:
if($post_preview=='excerpt'): the_excerpt(); else: the_content(__('Read More Details >>>', 'mystique')); endif;
endif; ?>
</div>
Last edited: