From: "Ernie Kemp" on 21 Jun 2010 07:41 This is not a direct PHP question but I will be using PHP in the website. I go to the php list because the wordpress forum does not respond to my questions and I know some of you have a lot of expertise in other areas than PHP. I wish to a my own pages to a theme. I created pages on my PC and added the code at the top of the page for wordpress to use the page for a template page. I than FTP'd the file over to web hosting server template location. Through wordpress "administrator" I added my file called homepage.php. I FTP'd my CSS, images, js and flash folders over to the template location. Went to load the website http://localhost/Michael-8701/site_flash/wordpress/wp-content/homepage.php and all I got was the html code displayed. I tried moving the folder around but same results. Read some docs on this but it's not clear to me why this will not work. Please help this is new to me and I need to get over this wall. Thanks, ...../Ernie
From: Shreyas Agasthya on 21 Jun 2010 08:58 Ernie, I am sure you know none of us could have accessed the link that you have given there. Can you let us know what code you have written so that one of us can guide you? As a broad pitch, your php code has to be either in <?php ?> or <? ?> I would wait for your code and other to probe a little more. Regards, Shreyas On Mon, Jun 21, 2010 at 5:11 PM, Ernie Kemp <ernie.kemp(a)sympatico.ca> wrote: > This is not a direct PHP question but I will be using PHP in the > website. > > > > I go to the php list because the wordpress forum does not respond to my > questions and I know some of you have a lot of expertise in other areas than > PHP. > > > > I wish to a my own pages to a theme. > > I created pages on my PC and added the code at the top of the page for > wordpress to use the page for a template page. > > I than FTPd the file over to web hosting server template location. > > Through wordpress administrator I added my file called homepage.php. > > > > I FTPd my CSS, images, js and flash folders over to the template location. > > Went to load the website > http://localhost/Michael-8701/site_flash/wordpress/wp-content/homepage.phpand all I got was the html code displayed. > > > > I tried moving the folder around but same results. > > Read some docs on this but its not clear to me why this will not work. > > > > Please help this is new to me and I need to get over this wall. > > Thanks, > > ..../Ernie > > > > > > > > > > > > > -- Regards, Shreyas Agasthya
From: "Ernie Kemp" on 21 Jun 2010 09:57 So sorry about the link, in too much of a hurry. My server site is http://digitalbiz4u.com/wordpress/ I used <?php /* Template Name: Home Page */ in my Homepage.php program. They very much. ..../Ernie -----Original Message----- From: Shreyas Agasthya [mailto:shreyasbr(a)gmail.com] Sent: June-21-10 8:59 AM To: Ernie Kemp Cc: PHP General List Subject: Re: [PHP] Website content question Ernie, I am sure you know none of us could have accessed the link that you have given there. Can you let us know what code you have written so that one of us can guide you? As a broad pitch, your php code has to be either in <?php ?> or <? ?> I would wait for your code and other to probe a little more. Regards, Shreyas On Mon, Jun 21, 2010 at 5:11 PM, Ernie Kemp <ernie.kemp(a)sympatico.ca> wrote: > This is not a direct PHP question but I will be using PHP in the > website. > > > > I go to the php list because the wordpress forum does not respond to my > questions and I know some of you have a lot of expertise in other areas than > PHP. > > > > I wish to a my own pages to a theme. > > I created pages on my PC and added the code at the top of the page for > wordpress to use the page for a template page. > > I than FTP'd the file over to web hosting server template location. > > Through wordpress "administrator" I added my file called homepage.php. > > > > I FTP'd my CSS, images, js and flash folders over to the template location. > > Went to load the website > http://localhost/Michael-8701/site_flash/wordpress/wp-content/homepage.phpan d all I got was the html code displayed. > > > > I tried moving the folder around but same results. > > Read some docs on this but it's not clear to me why this will not work. > > > > Please help this is new to me and I need to get over this wall. > > Thanks, > > ..../Ernie > > > > > > > > > > > > > -- Regards, Shreyas Agasthya No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.829 / Virus Database: 271.1.1/2952 - Release Date: 06/20/10 14:36:00
From: "Ernie Kemp" on 21 Jun 2010 10:04 Just as a follow up I'm including a link to a test site that I wish to have the wordpress to be able to change the content, but I'm unable to have wordpress use my includes. I must be putting them in the wrong places so need some help with this. Thanks, ..../Ernie -----Original Message----- From: Shreyas Agasthya [mailto:shreyasbr(a)gmail.com] Sent: June-21-10 8:59 AM To: Ernie Kemp Cc: PHP General List Subject: Re: [PHP] Website content question Ernie, I am sure you know none of us could have accessed the link that you have given there. Can you let us know what code you have written so that one of us can guide you? As a broad pitch, your php code has to be either in <?php ?> or <? ?> I would wait for your code and other to probe a little more. Regards, Shreyas On Mon, Jun 21, 2010 at 5:11 PM, Ernie Kemp <ernie.kemp(a)sympatico.ca> wrote: > This is not a direct PHP question but I will be using PHP in the > website. > > > > I go to the php list because the wordpress forum does not respond to my > questions and I know some of you have a lot of expertise in other areas than > PHP. > > > > I wish to a my own pages to a theme. > > I created pages on my PC and added the code at the top of the page for > wordpress to use the page for a template page. > > I than FTP'd the file over to web hosting server template location. > > Through wordpress "administrator" I added my file called homepage.php. > > > > I FTP'd my CSS, images, js and flash folders over to the template location. > > Went to load the website > http://localhost/Michael-8701/site_flash/wordpress/wp-content/homepage.phpan d all I got was the html code displayed. > > > > I tried moving the folder around but same results. > > Read some docs on this but it's not clear to me why this will not work. > > > > Please help this is new to me and I need to get over this wall. > > Thanks, > > ..../Ernie > > > > > > > > > > > > > -- Regards, Shreyas Agasthya No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.829 / Virus Database: 271.1.1/2952 - Release Date: 06/20/10 14:36:00
From: Ashley Sheridan on 21 Jun 2010 10:09
On Mon, 2010-06-21 at 10:04 -0400, Ernie Kemp wrote: > Just as a follow up I'm including a link to a test site that I wish to have > the wordpress to be able to change the content, but I'm unable to have > wordpress use my includes. > I must be putting them in the wrong places so need some help with this. > > Thanks, > .../Ernie > > > > > -----Original Message----- > From: Shreyas Agasthya [mailto:shreyasbr(a)gmail.com] > Sent: June-21-10 8:59 AM > To: Ernie Kemp > Cc: PHP General List > Subject: Re: [PHP] Website content question > > Ernie, > > I am sure you know none of us could have accessed the link that you have > given there. Can you let us know what code you have written so that one of > us can guide you? > > As a broad pitch, your php code has to be either in <?php ?> or <? ?> > > I would wait for your code and other to probe a little more. > > Regards, > Shreyas > > On Mon, Jun 21, 2010 at 5:11 PM, Ernie Kemp <ernie.kemp(a)sympatico.ca> wrote: > > > This is not a direct PHP question but I will be using PHP in the > > website. > > > > > > > > I go to the php list because the wordpress forum does not respond to my > > questions and I know some of you have a lot of expertise in other areas > than > > PHP. > > > > > > > > I wish to a my own pages to a theme. > > > > I created pages on my PC and added the code at the top of the page for > > wordpress to use the page for a template page. > > > > I than FTP'd the file over to web hosting server template location. > > > > Through wordpress "administrator" I added my file called homepage.php. > > > > > > > > I FTP'd my CSS, images, js and flash folders over to the template > location. > > > > Went to load the website > > > http://localhost/Michael-8701/site_flash/wordpress/wp-content/homepage.phpan > d all I got was the html code displayed. > > > > > > > > I tried moving the folder around but same results. > > > > Read some docs on this but it's not clear to me why this will not work. > > > > > > > > Please help this is new to me and I need to get over this wall. > > > > Thanks, > > > > ..../Ernie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > Regards, > Shreyas Agasthya > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.829 / Virus Database: 271.1.1/2952 - Release Date: 06/20/10 > 14:36:00 > > There are guides online to creating Wordpress templates. Have you tried editing an existing template first rather than create one from scratch? It's how I've always made them. Thanks, Ash http://www.ashleysheridan.co.uk |