WordPress.org

Ready to get started?Download WordPress

Forums

Hide content after tag (3 posts)

  1. akira01
    Member
    Posted 1 year ago #

    Hi,
    May I know the way to hide content after the more tag and display a sentence "click here to read more" in feed. I have video after the more tag and would like to hide them instead of displaying the video source.

    Please advise.

    Thanks in advance.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Your theme's template files need to use <?php the_content();?>. See http://codex.wordpress.org/Function_Reference/the_content

  3. akira01
    Member
    Posted 1 year ago #

    Yes, mine is <?php the_content();?> and it doesn;t work even I have insert a <more> tag. By the way, what should I set in Setting > Reading > For each article in a feed, show? Currently, it is "summary"

    Please advise. Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags