Gnet Solutions



Revolution Wordpres Theme: Change text in the three "text area 1", "text area 2", etc.

Description: Change text in the three "text area 1", "text area 2", etc. blocks on the right column of the main and child pages.

Cause:  The intent of this sidebar is to have the same information in the sidebar boxes in all the pages they appear. In other words, as it is written, the information in the sidebar boxes needs to be general site info you want on every page instead of information that may vary depending on the page.

Resolution:  Yes, that's the default, but if you want to create customized sidebars for different pages, you can. It does involve creating new templates and editing some code.

For example -- say you want your "About" page to have customized text.

1. Copy the "page.php" file and rename the copy "page_about.php". You're making a new template page here.
2. Copy the "sidebar_page.php" file and rename the copy "sidebar_about.php". You're creating a new sidebar template here.
3. Open the "sidebar_about.php" file and make whatever changes you want.
4. Open "page_about.php". At the very top, insert this code:

Code:
<?php
/*
Template Name: About Page
*/
?>

5. At the bottom of the file, change the sidebar call code to:

Code:
<!-- <?php include(TEMPLATEPATH."/sidebar_about.php");?> -->

6. Go into your WP Admin/Manage Pages. Open the About Page. Go down to the Page Template section, and select "About Page" as the new template. Save the page. This will connect the text you've entered on the page to the "page_about.php" file you created, which in turn calls the new "about" sidebar



Related Articles

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "Revolution Wordpres Theme: Change text in the three "text area 1", "text area 2", etc. "

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

   Name:
   Email:
* Comment:
* Enter the code below:

 

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue