Title: walterego's Replies - page 3 | WordPress.org

---

# walterego

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 31 through 45 (of 45 total)

[←](https://wordpress.org/support/users/walterego/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/walterego/replies/?output_format=md) [2](https://wordpress.org/support/users/walterego/replies/page/2/?output_format=md)
3

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Border around main div](https://wordpress.org/support/topic/border-around-main-div/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/border-around-main-div/#post-604378)
 * Dropping the width of #content will only make the space in the center between#
   content and #sidebar bigger.
 * But anyway, can anybody tell me what I’m missing? The way I see it, there’s nothing
   wrong with the CSS or XHTML here.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Border around main div](https://wordpress.org/support/topic/border-around-main-div/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/border-around-main-div/#post-604326)
 * To clarify even more, here’s what the basic structure should be like:
 *     ```
       <body>
       <div id="main" style="width:725px; margin: 0 auto; border:#000000 solid 2px;">
       <div id="content" style="float:right; width: 515px;">hello content
       </div>
       <div id="sidebar" style="float:left; width:200px;">hello sidebar
       </div>
       </div>
       </body>
       ```
   
 * This one doesn’t do what I want either (wrapping the border around the content
   and sidebar div).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Border around main div](https://wordpress.org/support/topic/border-around-main-div/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/border-around-main-div/#post-604309)
 * Well, the theme can’t be seen only yet. I’m designing it on a local testing server.
   The theme so far can be downloaded [from here](http://www.waltervos.nl/starfish.rar).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Custom field, filtering and icons](https://wordpress.org/support/topic/custom-field-filtering-and-icons/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/custom-field-filtering-and-icons/#post-603172)
 * You’re probably better off trying to get help at the website of the custom field
   GUI. Also, you may want to look at [get custom field values](http://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Border around main div](https://wordpress.org/support/topic/border-around-main-div/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/border-around-main-div/#post-604294)
 * Anyone?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How to post concerts?](https://wordpress.org/support/topic/how-to-post-concerts/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/how-to-post-concerts/#post-604291)
 * I use [RC Custom Field GUI](http://rhymedcode.net/custom-field-gui/custom-field-gui-for-wp-21/)
   and [Get Custom Field Values](http://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/)
   for this kind of stuff.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Integrating WordPress into existing pages?](https://wordpress.org/support/topic/integrating-wordpress-into-existing-pages/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/integrating-wordpress-into-existing-pages/#post-604129)
 * About Search engine friendliness, you’ll have to google. If you’re going to use
   an iframe just make a theme that has only the content you want on it (so no sidebar,
   no header, no nothing).
 * About the php include, I don’t know. You’d have to include the wordpress/index.
   php file i guess, and then once again use a theme that has only the content you
   want.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Integrating WordPress into existing pages?](https://wordpress.org/support/topic/integrating-wordpress-into-existing-pages/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/integrating-wordpress-into-existing-pages/#post-604115)
 * Why not just port the site to WordPress? It works excellent as a CMS as well.
 * Other solution would maybe be to use an iframe?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Is this possible to do with WordPress?](https://wordpress.org/support/topic/is-this-possible-to-do-with-wordpress/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years ago](https://wordpress.org/support/topic/is-this-possible-to-do-with-wordpress/#post-604113)
 * You can future timestamp posts, look under Post Timestamp in your write post 
   screen.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Maximum number of page parents?](https://wordpress.org/support/topic/maximum-number-of-page-parents/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/maximum-number-of-page-parents/#post-596907)
 * Ok, nevermind…
 * Turns out the pages were in the list, the list just had a scrollbar I couldn’t
   see because it was outside of the screen. 😐
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Maximum number of page parents?](https://wordpress.org/support/topic/maximum-number-of-page-parents/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/maximum-number-of-page-parents/#post-596893)
 * Good to know: the page **does** appear in the wp_list_pages list.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Page Navigation](https://wordpress.org/support/topic/page-navigation-1-2/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/page-navigation-1-2/#post-580432)
 * driz, if you really want to edit the core, the file is wp-includes/classes.php(
   line 490). However, editing it is completely unnecessary. li’s having classes
   on them is not a bad thing or something, and li’s having a double class on them
   isn’t either. Just change the behaviour/appearance of the li’s in your css.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with “current_page_item” navigation highlighting](https://wordpress.org/support/topic/problem-with-current_page_item-navigation-highlighting/)
 *  [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/problem-with-current_page_item-navigation-highlighting/page/2/#post-528462)
 * Here’s one way to go about, it’s hardcoded but at least it’s something. On your
   index.php file change the section you use for listing you pages to:
 *     ```
       <ul>
       	<?php
       	wp_list_pages('sort_column=menu_order&title_li=&depth=1&exclude=THE REPLACE THIS WITH THE ID OF YOUR POSTS PAGE');
       	?>
       	<li class="page_item current_page_item"><a href="LINK TO YOUR POSTS PAGE" title="Weblog">Blog</a></li>
       </ul>
       ```
   
 * You can also make this change on your single posts page and other blog pages,
   this way the link to your posts page is always highlighted when looking at the
   blog
 * Don’t forget to replace THE TEXT IN CAPS 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Dynamically generate a div with a list of children or siblings](https://wordpress.org/support/topic/dynamically-generate-a-div-with-a-list-of-children-or-siblings/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/dynamically-generate-a-div-with-a-list-of-children-or-siblings/#post-578146)
 * Actually, this is better:
 *     ```
       <?php
       	if($post->post_parent) { // page is a child
       		echo '<div id="sidebar">' . "\n\t\t\t\t\t";
       		echo "<ul>\n\t\t\t\t\t\t";
       		wp_list_pages('sort_column=menu_order&title_li=&child_of='.$post->post_parent);
       		echo "<ul>\n\t\t\t\t\t\t";
       		echo "\t\t\t\t</div>";
       	}
       	if(wp_list_pages("child_of=".$post->ID."&echo=0")) { // page has children
       		echo '<div id="sidebar">' . "\n\t\t\t\t\t";
       		echo "<ul>\n\t\t\t\t\t\t";
       		wp_list_pages('sort_column=menu_order&title_li=&child_of='.$post->ID);
       		echo "\n\t\t\t\t\t</ul>\n";
       		echo "\t\t\t\t</div>";
       	}
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Dynamically generate a div with a list of children or siblings](https://wordpress.org/support/topic/dynamically-generate-a-div-with-a-list-of-children-or-siblings/)
 *  Thread Starter [walterego](https://wordpress.org/support/users/walterego/)
 * (@walterego)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/dynamically-generate-a-div-with-a-list-of-children-or-siblings/#post-578081)
 * I was afraid this might happen. Somehow it helps to type down your thoughts. 
   The solution is this:
 *     ```
       <?php
       	if(wp_list_pages("child_of=".$post->ID."&echo=0"))
       	{ // page has children
       ?>
       	<div id="sidebar">
       		<ul>
       <?php
       	wp_list_pages('sort_column=menu_order&title_li=
       	&child_of='.$post->ID);
       ?>
       		</ul>
       	</div>
       <?php } ?>
       ```
   

Viewing 15 replies - 31 through 45 (of 45 total)

[←](https://wordpress.org/support/users/walterego/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/walterego/replies/?output_format=md) [2](https://wordpress.org/support/users/walterego/replies/page/2/?output_format=md)
3