Support » Theme: Supernova » Change text on "more" link

  • Resolved LittleBlogger

    (@littleblogger)


    This would be simple to do if I could only find where the code is hidden. I thought it must be somewhere deep in the basic wordpress files, but overthere in the support threads, they think it’s somewhere in the theme. So, here is my question:

    How do I change the text of the “more” link which I can manually add into posts by pressing a button on the editor (near where you can select bold, italic etc). In the text editor, this appears as <!–more–> and appears on the post as (more). I would like to change it to say something like Full Details.

    Other posts say I need to change this line of code:
    <?php the_content(__(‘more’));?>
    or something similar, but I can’t find this code anywhere.

    Any idea where I can find it?

    NB: This is not the more-tag which is generated when using excerpts. I have found that code and it’s not it (it uses different taxt, ‘Read More…’).

    Thank you for your time in reading this post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can check the function file of theme.here may be you can get this code..

    Theme Author Sayed Taqui

    (@sayedwp)

    For the record

    the <!–more–> works only when you show the_content() and not the_excerpt()

    Paste this in your functions.php file and change the ‘MORE TEXT’ text to whatever you want.

    function supernova_content(){
        global $supernova_options;
        if(isset($supernova_options['full-content']) && $supernova_options['full-content'] == 2){
            the_content(__('MORE TEXT'));
        }else{
            the_excerpt();
        }
    }

    MAKE SURE YOU HAVE SUPERNOVA VERSION 1.5.3 OR ABOVE OR ELSE IT WILL GIVE FATAL ERROR.

    It’s better if you use a child theme so you dont loose the changes when the theme is updated. I have created a child theme already which you can download from here http://supernovathemes.com/frequently-asked-questions/

    You’re a marvel, Sayed — thanks so much for this.

    And the child theme will be helpful, as I need to do that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change text on "more" link’ is closed to new replies.