Maxaud
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Create One Link to All Archives ?You could create an archives.php template for pages.
And then make a page and choose it as a template.Most themes already have this template so you may not need it.
It should look something like this:
<?php /* Template Name: Archives */ ?> <?php get_header(); ?> <div id="content" class="widecolumn"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> <h2>Archives by Month:</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <h2>Archives by Subject:</h2> <ul> <?php wp_list_cats(); ?> </ul> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Clicking links doesn’t change contentSounds like a problem with permalinks.
Who’s your host?
What’s your permalink structure?
Forum: Themes and Templates
In reply to: CSS Drop down not working in IE6bump, anyone?
Forum: Fixing WordPress
In reply to: Insert break in dynamic sidebarthis might work:
<?php if ( function_exists('register_sidebar') ) { register_sidebar ( array ( 'name' => 'name-one', 'before_widget' => '', 'after_widget' => '<br />', 'before_title' => '', 'after_title' => '', ) ); register_sidebar ( array ( 'name' => 'name-two', 'before_widget' => '', 'after_widget' => '<br />', 'before_title' => '', 'after_title' => '', ) ); } ?>you will want to replace the names (name-one/name-two) with whatever you named your sidebars in the theme.
Forum: Fixing WordPress
In reply to: Probelm with uploading, please help.It seemed to have fixed itself now…
Forum: Plugins
In reply to: Users can upload avatars?Nope, not yet.
Forum: Your WordPress
In reply to: Check out my Chelsea Handler SiteYeah, they/you did a very good job.
Forum: Themes and Templates
In reply to: submenu does not show in navigation barwhat about a css menu like on the following sites which all use the same code (different colors though):
http://www.playforwarddesigns.com/home
http://www.realestateofnorthidaho.com/home
http://www.themortgagesalesblog.com/homeForum: Themes and Templates
In reply to: Change header in this themeYep, hope it helped.
Forum: Your WordPress
In reply to: Check out my Chelsea Handler SiteGood question, I didn’t see that on there either.
Is the forum in the form of a plugin also?Forum: Themes and Templates
In reply to: IS there a more efficient way?This is a code that I use to show subpages when on a parent page AND while on a child page. It could easily be changed to echo something else if the page is a child.
<?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) { ?> <ul> <?php echo $children; ?> <?php } ?> </ul>Forum: Themes and Templates
In reply to: adding header image instead of text titleyou should find something like this in your header where you added the image code:
<a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/picture.jpg" alt="<?php bloginfo('description'); ?>" /></a>replace the following:
<?php echo get_option('home'); ?>/with something like:
http://www.yourdomain.comLet me know how that goes.
Forum: Themes and Templates
In reply to: Hide sidebar on certain pagesWouldn’t it be easier to apply a page template rather then opening up a file and editing it when ever you want a wide page?
develop and style a wide page once and just choose it from the page template drop down when making a page when you’re making the page sounds a lot easier to me. What would be the downside?
Forum: Themes and Templates
In reply to: Change header in this themeProbably the best way to do this would be to upload an image to your themes ‘image’ folder with the same exact name of the old image overwriting it.
If you wanted to creat a new image link then try this:
upload an image to your themes ‘image’ folder and link to it this way:
try something like this where you want an image to be placed:
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/me.jpg" alt="picture of me" />Forum: Themes and Templates
In reply to: submenu does not show in navigation bartry placeing this code in your header or whereever your menu is called from.
you should have somethin like this right now?<ul class="menu"> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> </ul>try making it this:
<div class="menu"> <ul> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> </ul><br /> <?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) { ?> <ul> <?php echo $children; ?> <?php } ?> </ul> </div>That should put child page navigation right below your parent navigation when and if there are child pages. It should also show them if you are on a child page too.