Try a search:

NOTE: Search terms must be at least 3 characters.


I did some php programming in my custom WordPress theme, and gave it a new ability. Now on each page I can embed related pages, which previously only appeared as links in the sidebar ( and still do. ) While it is possible to embed anywhere, the sensible place is at the end, after all the content. Embedding a page in the middle of another page would probably be confusing. Actually, when a page is embedded, only the beginning of it is displayed, with a link to the whole thing. Then I got an even better idea, and added the page's 'parent' to the list. I also made some formatting changes so that each embedded page is clearly a separate entity.

What is really cool about this for this website is that now every dive site's page now includes the relevant charts. This is something I always had in the back of my mind, but I never thought of an easy way to do it across hundreds of pages, until now. Once the code was finished, it took just a single change in the WordPress setup to make it happen.

Printed from njscuba.net