Anonymous
Unregistered
Posted 8 years ago #
Hi guys. really loving wordpress. Im a newbie to all the php, css etc so i was wondering if someone c0uld help me out here. There is an "about" section (just a bunch of text about me) on my blog that I would like to incorporate within my site structure . Ive been reading that "php include," is required to do this. can anyone fill me in on exactly what i need to do to get this working. a step by step tutorial would be appreciated.
Could you not create a link ?
Create a Category called 'About', call the link itself 'me' and then in that file, include a link back to your WP install ?
Sorry if that's off target ..
Anonymous
Unregistered
Posted 8 years ago #
thanks for the info podz. that does the trick, however, i would like to use the php include function... just for learnings sake. anyone else have any suggestions?
Or create a post, and put it in the link manager. :)
Here is the tag...which assumes that you are storing said file in the same dir as the page you are calling the function:
<?php include("filename.txt"); ?>
or
<?php include("../filename.txt"); ?>
Anonymous
Unregistered
Posted 7 years ago #
<? include("/sidefiles/menu.php"); ?>
Does anyone know why this doesn't work?