Including content from second page into first page
-
Hello there,
Here’s what I’m doing. I’m migrating this site https://ubuntu-manual.org over to a WordPress setup from a Django setup. The problem is that it’s using python code, and I need to convert it over to php (or remove the code altogether). So, here’s what that has to do with my question.
On this page specifically https://test.ubuntu-manual.org/getinvolved (from the development version of the website), they use {include pagename} to bring the content from the other pages into the tabs. For example, the Programmer Tab has a “Getting Started” subtab. The code for that is this
<div id="get-started-programmers" style="display:none" class="subtab_content"> <h2>{% blocktrans %}Becoming a Programmer{% endblocktrans %}</h2> <p>{% blocktrans %}At the moment, we need programmers experienced in:{% endblocktrans %} <ul> <li>{% blocktrans %}Python - for <a href="https://www.quickshot.org">Quickshot</a>{% endblocktrans %}</li> <li>{% blocktrans %}Tex/LaTeX - for "Getting Started with Ubuntu 11.04"{% endblocktrans %}</li> </ul> </p> <p>{% blocktrans %}If you want to help with TeX, contact Kevin Godby: kevin AT ubuntu-manual DOT org{% endblocktrans %}</p> <p>{% blocktrans %}To help with Quickshot in python, you'll have to create a Launchpad account, join the Quickshot team and download the source files in our branch. We'll walk you through the process here.{% endblocktrans %}</p> {% include "website/launchpad.inc.html" %} {% include "website/programmer.inc.html" %} </div>
I need to figure out the easiest way to accomplish this in WordPress.
My questions are: 1. Is it possible to replicate the tabs and subtabs in a static WordPress page?
2. Is it possible to include the content of other pages in those sub-tabs?
3. How do I go about including the content of another page in the sub-tabs?Thanks, and have a great day:)
Patrick.
- The topic ‘Including content from second page into first page’ is closed to new replies.