How do I change the “Know More” text and link in Corporate Plus wordpress theme?

前端 未结 2 1486
悲哀的现实
悲哀的现实 2021-01-23 14:06

I\'m using a theme called \"Corporate Plus\" on WordPress.

The problem is, I want to edit a button in the front page which says \"Know More\", an

相关标签:
2条回答
  • 2021-01-23 14:19

    Depending on your theme customization, you could try to add this in function.php file located in your active child theme or theme:

    function custom_excerpt_more($more) {
        global $post;
        return '<a class="moretag" href="'. get_permalink($post->ID) . '">' . __("Your Read More Link Text", "your_theme_slug") . '</a>';
    }
    add_filter( 'excerpt_more', 'custom_excerpt_more' );
    

    WP codex: Customizing the Read More

    0 讨论(0)
  • 2021-01-23 14:25

    Find corporate-plus/acmethemes/hooks/slider-selection.php. Go to about line 109 and change this code:

    "Know More" - change to whatever you want. Change a href="" to a href="your-link"

    0 讨论(0)
提交回复
热议问题