Use the_content for parts of a page
-
Hello,
i was wondering if it’s possible to use the_content to output a part of a page. For example.. let’s say i have a page (about-us) with 4 blocks of text, all wrapped in P tags with ID’s:
<p id=”section1″>section 1 text</p>
<p id=”section2″>section 2 text</p>
<p id=”section3″>section 3 text</p>
<p id=”section4″>section 4 text</p>Is there a way I could use the loop with the_content and modify it to just output the text from section 2? And on the same page use the same loop but just with the text from section4?
Thanks in advance!
Greetings, Peter
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use the_content for parts of a page’ is closed to new replies.