abelb
Forum Replies Created
-
i figured it out by reading other posts. i should have done some better searching before i posted.
this is how i created a subnav in the sidebar to be located on a Page.
Is there a cleaner way to do it?
<?php if($post->post_parent) { $parent_title = get_the_title($post->post_parent); $parent_link = get_permalink($post->post_parent); ?> <li class="sectionName"><a href="<?php echo $parent_link; ?>"><?php echo $parent_title?></a><li> <?php } ?> <?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <?php echo $children; ?> <?php } ?>
Forum: Fixing WordPress
In reply to: next/previous posts link – category childreni found a plugin that might do what you are trying to do:
Forum: Fixing WordPress
In reply to: Moving WordPress installation – how to control image urls in postsI did follow those instructions form Changing the Site URL but just under changing the domain name.
I also tried the find and replace in an editor. On my site, i also have the plugin cforms (https://www.ads-software.com/extend/plugins/cforms/) running and when i would find and replace and upload the new database, i would get a major cforms error that would kill my forms(something to the effect of error in an array)
I think i may need to just practice with a fresh install because i have moved this database around a few times from local environment to production server and back to learn how to update WP from 2.6 to 2.7 and im guessing i messed up somewhere along the way.
so just to be clear, image filepaths do show up in the source code as absolute paths?
thanks!
abel