WordPress.org

Support

Support » How-To and Troubleshooting » One post – two separate parts

One post – two separate parts

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    David – thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘One post – two separate parts’ is closed to new replies.
Skip to toolbar