Just edit the template for the theme you’re using!
Sorry – I have no idea how to do that. Where do I find that?
Pages? Posts? Appearance? Settings? I don’t see anything called “template.”
To find out what template you are currently using, go to Pages > All Pages, hit “quick edit” on any of your pages, and look for what’s in the drop-down beside “template:”.
Then go Appearance > Editor.
On the far right will be a list of all the files associated with the theme you’re using … you’ll probably be looking for something like “Page Template (page.php)”.
Once you’re looking at the template, you can just start deleting bits of code that relate to what you’re trying to get rid of.
For some of the items (search box?) you may need to check out Appearance > Widgets .. pretty self-explanatory once you have a look!
Let me know if this helps.
Also, check out Settings > Permalinks and figure out if you want your page URLs to read “http://www.coopjackdesign.com/?page_id=46” or “http://www.coopjackdesign.com/portfolio” 🙂
(that’s done by putting this in the ‘custom structure’: /%postname% )
I’m new to WordPress, too, and I have the same question. In the editor for page.php, rather than deleting bits of code, I’d rather comment them out. What is the comment character? Is it /* comment */ ?
Actually, <?php xxxx ?> was my first guess, but the whole page is commented out except for
<div id=”content” role=”main”> comment, comment, comment </div>
Is that so? I’m using the Weaver II theme and want to get rid of all the stuff in the body of the default home page.
I was not looking at the right templates. The list of templates on the 2 pages I have created are: 2 Col Content (split w/ <!-more->), Blank, Page with Posts, Raw, Sitemap, and iframe. When I look at Page with Posts, this line appears to be commented out, but that is what actually appears on the default Home page:
<p><?php _e( ‘Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.’,’weaver-ii’); ?></p>
Based on the codex page about comments, I would expect the entire line to be a comment. Am I not interpreting the comment correctly?
oops, I should have added Default Template to the list of templates that are in the drop down. However, I cannot find Default Template in the list of templates on the Editor page.
<?php xxxx ?>That is not a comment. That is a PHP declaration; a bit of server-side coding.
Here is a clean slate for you. Save it as home.php in your template folder. Backup your original first! –
Thanks, but I don’t have a home.php. At least, it’s not in the list of templates in the Editor section. How can I find it? Or how can I create it?
Create it locally with a text editor and upload it to your theme.
Thanks. I found what I was looking for in —
• Footer.php to delete the Proudly Powered by WordPress link at the bottom …
• Set template to Default instead of Showcase to get rid of the “Recent Posts” text … and
• Header.php allowed me to get rid of the search bar.
Cool. It makes me really nervous deleting code, though. I don’t really have a big-picture idea of hoe everything goes together!
- The topic ‘how do I get rid of the blog text on my front page?’ is closed to new replies.