Activity Stream
48,167 MEMBERS
6876 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Question 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 !!!



    PHP Code: 
    <?php if($post_preview<>'title'): ?>
       <div class="post-content clearfix">
        <?php
        
    if(is_search()):
         
    $content get_the_excerpt();
         
    $keysexplode(" ",$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 &gt;&gt;&gt;''mystique')); endif;
        endif; 
    ?>
       </div>
    3xupdate Reviewed by 3xupdate on . 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 !!! http://t2.pixhost.org/thumbs/2688/8028846_3xupdate-com-1.jpg <?php if($post_preview<>'title'): ?> <div class="post-content clearfix"> <?php if(is_search()): Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Still need help

  4.     
    #3
    Member
    Website's:
    PasteBot.appspot.com
    Open style.css
    in there find
    Code: 
    .post-content a.more-link
    Just under this you'll see this:
    Code: 
    color: #666666;
    Replace it with
    Code: 
    color: #007700;
    font-weight:bold;

  5.     
    #4
    Member
    Website's:
    porntonight.info
    I think you need to edit a css file for its colour and text changing not the php one

  6.     
    #5
    Member
    Website's:
    scrls.co.uk
    Do what ajinkya9 has said to do. It should work fine

  7.     
    #6
    Member
    Works fine. Thanks ajinkya9 !!!

  8.     
    #7
    Member
    Website's:
    funingallery.com
    hay any one know how to put Image instead of "ReadMore" text?

  9.     
    #8
    Member

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Web Scripts
    By AJ Blacklisted in forum Useful Sites
    Replies: 0
    Last Post: 23rd Jun 2011, 07:39 AM
  2. I need 2 scripts
    By __Doc_ in forum Webmaster Discussion
    Replies: 5
    Last Post: 13th Apr 2011, 08:22 PM
  3. Need TGP scripts
    By Algore in forum Webmaster Resources
    Replies: 4
    Last Post: 23rd Apr 2010, 10:11 PM
  4. Need some scripts
    By TinTin in forum Webmaster Resources
    Replies: 2
    Last Post: 18th Jan 2009, 11:42 AM
  5. What Scripts do they use ???
    By Plutost in forum General Discussion
    Replies: 2
    Last Post: 15th Jul 2008, 08:50 AM

Tags for this Thread

BE SOCIAL