Title: Open Learn more button in same windows
Last modified: July 26, 2023

---

# Open Learn more button in same windows

 *  Resolved [vuumar](https://wordpress.org/support/users/vuumar/)
 * (@vuumar)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/)
 * Once I had the Learn More button to open the link in the same windows but after
   updating theme, the link is again opened in a new tab.
 * How to fix it?

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * (@radhika1992)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16924145)
 * Hi
 * Thanks for asking query to us.
 * Kindly share the page URL on which you have issue. So that we can take a look
   and assist you better.
 * Thanks
 * Webriti Support team
 *  Thread Starter [vuumar](https://wordpress.org/support/users/vuumar/)
 * (@vuumar)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16924156)
 * [https://www.successfulyouthliving.com](https://www.successfulyouthliving.com)
 *  [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * (@radhika1992)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16924453)
 * Hi
 * **Method 1 **
 * To open Latest Blog section read more button in new tab for this follow the given
   below instruciton.
 * 1 Find the** functions.php **file located in your child theme folder.
 * 2 Open the file and add the below code snippet at the end of functions.php file.
 *     ```wp-block-code
       function modify_read_more_link() {
           return '<a target="_blank"class="more-link" href="' . get_permalink() . '">Read More </a>';
       }
       add_filter( 'the_content_more_link', 'modify_read_more_link', 999 );
       ```
   
 * **Method 2**
 * If yo want to prevent lost of changes when you update the theme. Use code [snippet plugin](https://wordpress.org/plugins/code-snippets/)
   and add the above code using code snippets.
 * Let us know if you have any confusion.
 * Thanks & Regards
 * Webriti Support Team
    -  This reply was modified 3 years ago by [radhika1992](https://wordpress.org/support/users/radhika1992/).
 *  Thread Starter [vuumar](https://wordpress.org/support/users/vuumar/)
 * (@vuumar)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16924494)
 * Sorry for the confusion. I want the Scroll Down button to open in the same window
   not blog posts. Also, if we can change the right arrow to down arrow on the button.
 *  [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * (@radhika1992)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16926245)
 * Hi
 * To open the scroll down button in same window follow the given below instruction.
 * 1 Find the **index-static.php** file located in your parent theme directory (
   quality).
 * 2 Open the file and find the below line of code on line no 32.
 *     ```wp-block-code
       <a  class="slide-btn-sm" href="<?php echo esc_url($quality_current_options['home_image_button_link']); ?>" target="_blank">
       ```
   
 * 3 And Replace it with below line of code.
 *     ```wp-block-code
       <a  class="slide-btn-sm" href="<?php echo esc_url($quality_current_options['home_image_button_link']); ?>" >
       ```
   
 * Let us know if you have any confusion.
 * Thanks
 *  [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * (@radhika1992)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16929028)
 * Hi
 * Did your issue resolve ?
 * Thanks
 *  Thread Starter [vuumar](https://wordpress.org/support/users/vuumar/)
 * (@vuumar)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16932669)
 * Yes, now the link opens in the same Windows. Anyhow, how we can change the right
   arrow on the button to down arrow.
 *  [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * (@radhika1992)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16935212)
 * Hi
 * To change the right arrow on the button to down arrow.
 * For this Go to Appearance >> customizer >> Find the additional css box and add
   the below css code inside the box.
 *     ```wp-block-code
       .slide-btn-sm:after {
       content: "\f13a";
       }
       ```
   
 * let us know if you have any confusion.
 * Thanks
    -  This reply was modified 3 years ago by [radhika1992](https://wordpress.org/support/users/radhika1992/).
 *  Thread Starter [vuumar](https://wordpress.org/support/users/vuumar/)
 * (@vuumar)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16939018)
 * Thanks for your help. It worked for me.
 *  [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * (@radhika1992)
 * [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16940183)
 * Hi
 * Glade to know that it was resolved.
 * If you like our theme and support pls give rate us here. [https://wordpress.org/support/theme/quality-orange/reviews/#new-post](https://wordpress.org/support/theme/quality-orange/reviews/#new-post)
 * Feel free to contact us for further assistance.
 * Thanks & regards
 * Webriti Support Team

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Open Learn more button in same windows’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/quality-orange/1.3.1/screenshot.
   png)
 * Quality orange
 * [Support Threads](https://wordpress.org/support/theme/quality-orange/)
 * [Active Topics](https://wordpress.org/support/theme/quality-orange/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/quality-orange/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/quality-orange/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [radhika1992](https://wordpress.org/support/users/radhika1992/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/open-learn-more-button-in-same-windows/#post-16940183)
 * Status: resolved