Title: mrmbsanchez's Replies | WordPress.org

---

# mrmbsanchez

  [  ](https://wordpress.org/support/users/mrmbsanchez/)

 *   [Profile](https://wordpress.org/support/users/mrmbsanchez/)
 *   [Topics Started](https://wordpress.org/support/users/mrmbsanchez/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mrmbsanchez/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mrmbsanchez/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mrmbsanchez/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mrmbsanchez/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mrmbsanchez/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Using the WordPress visual editor with Pages built from a custom page template](https://wordpress.org/support/topic/using-the-wordpress-visual-editor-with-pages-built-from-a-custom-page-template/)
 *  Thread Starter [mrmbsanchez](https://wordpress.org/support/users/mrmbsanchez/)
 * (@mrmbsanchez)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/using-the-wordpress-visual-editor-with-pages-built-from-a-custom-page-template/#post-2996981)
 * s_ha_dum,
    Thank you. I replaced the content in my homepage.php with the copy
   of what was in the default twenty ten page.php. Then I took the main content 
   div and tags and place them in the HTML tab instead of the Visual Tab of the 
   WP Editor. It seems that the contain id in the page.php page, now my homepage.
   php, is the “wrapper” for the main content area that I want to be able to edit:
   <div id=”container”> <div id=”content” role=”main”> <?php /* Run the loop to 
   output the page. * If you want to overload this in a child theme then include
   a file * called loop-page.php and that will be used instead. */ get_template_part(‘
   loop’, ‘page’ ); ?> _ I placed my div tags and content here, inside the content
   id_ </div><!– #content –> </div><!– #container –>
 * I’m not familiar with the role=”main”, is this a WP specific parameter or HTML
   5?
 * Once the HTML is in place it must get stored in the MySQL database and The Loop
   will then pick it up for display in the Visual Tab. Now my users can use the 
   Visual Tab to edit the content on the page.
 * I’ll finish making my changes and testing and let you know how it goes.
    -Mike
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Using the WordPress visual editor with Pages built from a custom page template](https://wordpress.org/support/topic/using-the-wordpress-visual-editor-with-pages-built-from-a-custom-page-template/)
 *  Thread Starter [mrmbsanchez](https://wordpress.org/support/users/mrmbsanchez/)
 * (@mrmbsanchez)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/using-the-wordpress-visual-editor-with-pages-built-from-a-custom-page-template/#post-2996911)
 * s_ha_dum,
    No my custom page template does not contain a loop. I changed the 
   header.php, footer.php in a theme I copied from TwentyTen and renamed and registered.
   My default page (page.php) has been changed to homepage.php via the Pages > Edit
   > Page Attributes Template drop down menu. The homepage.php contains a get_header
   and get_footer and a main content div. Nothing fancy just tags for text, however
   some of the divs have are positioned absolute and relative to each other. -Mike
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Absolute Positioning/Sidebar Issue](https://wordpress.org/support/topic/help-please-absolute-positioningsidebar-issue/)
 *  [mrmbsanchez](https://wordpress.org/support/users/mrmbsanchez/)
 * (@mrmbsanchez)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/help-please-absolute-positioningsidebar-issue/#post-2293082)
 * There is a great chapter on this in CSS the missing manual. This is a really 
   good reference book and comes with downloadable exercise files. The other two
   books I use for CSS are Stylin’ with CSS and Bulletproof Web Design.

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