Title: Text editing capability?
Last modified: August 21, 2016

---

# Text editing capability?

 *  [derrick.derrick](https://wordpress.org/support/users/derrickderrick/)
 * (@derrickderrick)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/)
 * First off, this is the site I’m working on: [http://kelarobinson.com/wordpresstest/](http://kelarobinson.com/wordpresstest/)
 * I’ve been coding websites by hand in notepad for over 10 years. On this page 
   it’s easy to see a simple code error that displays: “if; ?>”
 * I’ve been able to click on “view source” from my browser, and it’s easy to see
   the offending line of code. But how would I go about removing it? How do I edit
   lines of code?
 * I logged into wp-admin, and under appearance I found “Editor.” It’s fantastic,
   in that it gives me the ability to edit some pages, but none of them are the 
   homepage.
 * It’s incredibly frustrating. If I just knew the name of the file or had some 
   way to edit it I’d be happy. Any advice is greatly appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [derrick.derrick](https://wordpress.org/support/users/derrickderrick/)
 * (@derrickderrick)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011256)
 * Also, I would like to edit or delete the “sample page”.
 * On the sample page on the bottom it say: “As a new WordPress user, you should
   go to your dashboard to delete this page and create new pages for your content.
   Have fun!”
 * However, in my dashboard, there is nowhere to delete the sample page. It seems
   like it should be easy, but it just doesn’t exist. Any ideas?
 *  [ModularBase](https://wordpress.org/support/users/modularbase/)
 * (@modularbase)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011266)
 * Home Page is your **index.php** file in Appearance > Editor.
 * For the Page, you can go to **Pages**. Click on the page and it opens in the 
   Visual/Text Editor. You can select the text and delete it, then add your own.
 * To change its Title, go to Pages and hover over the page name (don’t click it).
   Under you will see “Quick Edit”.
    Click this and change the Title and the slug
   underneath. The slug must have dashes “-” between each word and match the title.
   When done, click “Update” button on right.
 *  Thread Starter [derrick.derrick](https://wordpress.org/support/users/derrickderrick/)
 * (@derrickderrick)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011352)
 * Thanks for the reply, but I’ve already tried that unfortunately. When viewing
   the index.php file, this is all the code I see:
 *     ```
       <?php
       get_header();
       query_posts( 'posts_per_page='.get_option_tree('blog_posts_nr').'&paged='.$paged.'&cat='.$cat.'&author='.$author.'&tag='.$tag );
       ?>
   
       <div class="inner">
   
           <?php
   
           $the_template = get_option_tree('blog_template');
   
           if($the_template){
               $the_template = strtolower((str_replace (" ", "-", $the_template)));
               include "templates/blog/".$the_template.".php";
           }else{
               include "templates/blog/right-sidebar-1.php";
           }
   
           ?>    
   
       <?php
       get_footer();
       ?>
       ```
   
 * Unfortunately none of this code contains the offending code that I wish to remove.
   It must be a different file other than the index.php. Any ideas?
 *  [ModularBase](https://wordpress.org/support/users/modularbase/)
 * (@modularbase)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011356)
 * Seems to be on all your pages and posts.
    Check: header.php and footer.php. If
   not there, see if you have a loop.php and carefully check that.
 * If you can’t find it, then contact the theme designers : [http://themeforest.net/item/purity-responsive-clean-minimal-bold-wp-theme/639774](http://themeforest.net/item/purity-responsive-clean-minimal-bold-wp-theme/639774)
 *  Thread Starter [derrick.derrick](https://wordpress.org/support/users/derrickderrick/)
 * (@derrickderrick)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011360)
 * The offending code was in header.php. Thanks! I’m having some other issues though.
   Whenever I make a new blog post, the header on the page changes to the title 
   of the blog post. Ex, “Test1” or “Test2”. I’d like to be able to make blog posts
   but have the header at the top of the page just remain static and not change.
   Is there any way to edit this?
 * Also, I don’t want comments. Is there a way to turn comments off in the blog?
 *  [ModularBase](https://wordpress.org/support/users/modularbase/)
 * (@modularbase)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011363)
 * The header is above “Test1” or “Test2”. These are the individual titles for the
   posts. These can be eliminated, but you would have to create a [Child Theme](http://codex.wordpress.org/Child_Themes)
   to do it.
 * “Also, I don’t want comments. Is there a way to turn comments off in the blog?”
 * Go to Settings > Discussion and deselect “Allow people to post comments on new
   articles”. If comments still show up in the posts you already have, go to each
   post and deselect Discussion for the post.
 * btw “The offending code was in header.php.” – this may reappear when the theme
   is updated. You should contact the theme developer with this error.
 *  Thread Starter [derrick.derrick](https://wordpress.org/support/users/derrickderrick/)
 * (@derrickderrick)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011366)
 * I’ll have to do some research into Child Themes, thanks for the tip!
 * I went into Discussion and deselected “Allow people to post comments on new articles”,
   however it’s still possible to leave comments. Where should I look next?
 * I contacted the developer and let him/her know of the issue, I’m sure it’s just
   a small oversight.
 * Thanks again!
    -Derrick
 *  [ModularBase](https://wordpress.org/support/users/modularbase/)
 * (@modularbase)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011370)
 * Did you “If comments still show up in the posts you already have, go to each 
   post and deselect Discussion for the post.”?
 * You should see “Comments are closed.” below the post.
 *  [Christiaan Conover](https://wordpress.org/support/users/cconover/)
 * (@cconover)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011373)
 * derrick.derrick,
 * Disabling comments in Settings -> Discussion will only apply to posts created
   after you changed the setting. Each individual post and page has its own comment
   settings. For posts and pages created before you made the change you’ll need 
   to disable commenting on each of those manually.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Text editing capability?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [Christiaan Conover](https://wordpress.org/support/users/cconover/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/text-editing-capability/#post-4011373)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
