Okay
  Public Ticket #1709760
Search Result Page - Read More Button
Open

Comments

  • Tobias started the conversation

    Hi,

    I need a "Read More" button at the end of the text excerpt at the search result page. How can I enable this? A little coding won't kill me, but I have no idea where to place it correctly. Thanks a lot!

  •   Tobias replied privately
  •  156
    TVDA replied

    Hi

    If you want to add this button try to use this code

    <a href="<?php echo esc_url(get_permalink()); ?>">Link Name</a>
    

    This code add link to your post also you can add some css class from post types 


    Thank you for great 5 star rating for our theme on ThemeForest. We really appreciate it.

  • Tobias replied

    Thank you! But where do I add this code? 

  •  156
    TVDA replied

    Go to theme folder and find file search.php

    Find this part of code

    This is post loop

    Put code form last msg into article

    or you can open file content-search.php and add into post body


    Thank you for great 5 star rating for our theme on ThemeForest. We really appreciate it.

  • Tobias replied

    Thank you! I added it to content-search.php and it's working fantasticly. 

  •  156
    TVDA replied

    :)


    Thank you for great 5 star rating for our theme on ThemeForest. We really appreciate it.