• How do I change the description of the <!--more--> tag and then style it? I tried using the wordpress codex as shown below, but the site stopped responding altogether and I had to go into my cpanel file manager and manually edited the code out so the site would display again. Did I put it in the wrong place in the functions file or is there something different about the fastfood theme that requires me to operate differently than normal?

    <?php
    }
    add_filter( 'the_content_more_link', 'modify_read_more_link' );
    function modify_read_more_link() {
    return '<a class="ReadMore" href="' . get_permalink() . '">Get even more links. Click HERE</a>';
    }

    https://wordpress.org/themes/fastfood/

Viewing 1 replies (of 1 total)
  • Theme Author tbcrew

    (@tbcrew)

    The theme already filters the “more” tag. Just search for the “fastfood_more_link” function in functions.php file (line 2019) and modify it.
    If you only need to change the text of the link, there’s an option for that in the theme options page

Viewing 1 replies (of 1 total)
  • The topic ‘More Tag question’ is closed to new replies.