Site logo

Archived topic

Is it possible to make GP to ignore "more tag"?

4 replies · Started by Andrei on April 21, 2019

Viewing posts 1–5 of 5

Hi there,

Try this function:

add_filter( 'generate_more_tag', '__return_false' );

Let me know :)

Hi Tom,
Thanks for quick reply.

Your suggestion worked beautifully (maybe one day you can make this a configurable option?).

For future references:

I have edited two files:
- index.php (we are using "list of recent posts" as an index page)
- archive.php

In both cases I have added
add_filter( 'generate_more_tag', '__return_false' );

just before

get_header(); ?>

line at the top of the file.

Sorry, forget to mark as resolved.

This archived topic is closed to new replies.