Okay
  Public Ticket #3189253
View more button
Closed

Comments

  •  2
    victor1502 started the conversation

    Hi!!

    How can I add a view more / view less button in a block text or responsive text?

    Can I just add a section for it? Should I add any html or Css code?

    Thanks,

  •  1,877
    Judith replied

    Hi Victor,

    Thanks for keeping in touch.

    With regards to the More tag; That is a core feature of WordPress that is only intended for you to specify where the excerpt should end on blog posts. It is not a general element that can be used on pages to show/hide content. Attempting to insert it into a page, or anywhere outside of a blog post will be ignored - you can verify the same thing will occur when switching to the default WP theme.

    Here's how that tag is intended to be used in a post:

    1995656115.jpg

    You can read more about the functionality here: https://codex.wordpress.org/Customizing_the_Read_More

    Thanks.