Hi,
I am trying to add a custom white blank page to the theme. I looked online and saw that i need to save this code into a PHP file using TEXTEDITOR on mac.
http://starghi.com/index.php/portfolio/sample-gallery-2/
For example on this page I would like to have only the header that has “Sadra K. Targhi Photography, ALL projects, contact me.” I dont want anything else on the page other than the picutures!
Below is the CSS code I found. Is this the right one?
Furthermore, how do I add the PHP file to the theme so I could use it?
Thanks in advance!
`<?php
/**
Template Name: Page with background only
*/
?>
<html>
<head>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<style type=”text/css”>
body { background-color: #cccccc; background-image: url(‘http://uffekirkegaard.dk/wp-content/uploads/2010/10/bg.jpg’); background-repeat: repeat-y; background-position: top center; background-attachment: scroll; }
#page-content { width: 800px; margin: 20px auto; }
</style>
<title><?php wp_title( ‘|’, true, ‘right’ ); bloginfo(‘url’); ?></title>
<?php wp_head(); ?>
</head>
<body>
<?php while (have_posts()) : the_post(); ?>
<div id=”page-content”>
<?php the_content(); endwhile; ?>
</div>
</body>
</html>
What do I do after this step? I need help.
Thank you