Landing Page – Text Area – edit or delete the text content

  • Author
    Posts
  • #96999

    Hi

    Currently, the default of the text content on the text area of the landing page is the page content.

    I am wondering if I can have unique content for the text content (example summary of the page). If that is not possible, to remove the text content altogether.

    Thank you.

    Website: ahopeafterdivorce.com/wp

    #97046
    Zed
    Cryout Creations Team

    The text areas are designed to display the full page content (and featured image, if set). To change this to the excerpt instead, you’d need to customize some theme code (namely the roseta_lptext() function which retrieves the page attributes that will be used)


    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
    #97305

    Do I have to modify the roseta_lptext_output() as well or just modifying the roseta_lptext() be good enough?

    • This reply was modified 2 weeks, 4 days ago by eymlee.
    • This reply was modified 2 weeks, 4 days ago by eymlee.
    #97831
    Zed
    Cryout Creations Team

    The _lptext() function is responsible for retrieving the source content which will be displayed in the text area, while the _lptext_output() function handles the actual (markup) output (using the previously retrieved content).

    Depending on what part of the workflow you want to alter, you’ll need to customize one, the other, or both.


    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
    #97875
    This reply is private.
Viewing 5 posts - 1 through 5 (of 5 total)

You need to log in to reply to this topic.