WordPress.org

Ready to get started?Download WordPress

Forums

One post - two separate parts (3 posts)

  1. pawciak
    Member
    Posted 2 years ago #

    hey,

    I have such an issue - I create a post/page. Let's say its all about meal recipes. I would like to have all text of page divided into 2 parts.

    1. Main part (description)
    2. Ingridients

    I know how to use jquery to toggle box with ingridients so show/hide it. but how to split it without creating some static files and asociating them with specific posts/pages. In simple words - after opening any page I want user to see only recipe description and then after clicking SEE INGRIDIENTS/SEE MORE ingridient list will appear? Please remember that button (See more) IS NOT just before ingridient list, its in different page place.

  2. Digital Raindrops
    Member
    Posted 2 years ago #

    Use the <!--nextpage--> tag in the HTML view!

    type <!--nextpage--> (you need to use the html-mode of the editor to do so).

    So in the [ HTML ] view you would have:

    <!--nextpage-->
    <h2>Ingredients</h2>

    Or add section links in the page

    <a href="#ingredients">Go to Ingredients</a>

    Link in the page!

    <h2 id="ingredients">Ingredients</h2>

    On YouTube

    HTH

    David

  3. pawciak
    Member
    Posted 2 years ago #

    David - thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic