Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme uploading but not downloading on computerTo get the process right:
You’ve downloaded a theme from somewhere, unzipped it locally, and then uploaded the complete theme directory to [webroot]/wp-content/themes/, right?
After that you’ve changed the permissions (or maybe did that in one go with your ftp client) on the entire theme directory and its files you’ve just uploaded and started editing from the admin panel.
Or did you do something different in this list?
Peter
edit: or of course use the upload link in the admin panel: didn’t even know it existed :-S
Forum: Themes and Templates
In reply to: partial menu links not showing upMy mind is boggled.
Kinda like Douglas Adams 🙂
Glad I could help.
Peter
Forum: Themes and Templates
In reply to: Adding Static / Non-WordPress link to MenuFind this in your sidebar.php:
<ul role="navigation"> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> <li><h2>Archives</h2>and change into this:
<ul role="navigation"> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> <li><a href="linktoyourforum">Forum</a></li> <li><h2>Archives</h2>Peter
Forum: Themes and Templates
In reply to: partial menu links not showing upIn your style.css, there is this section:
#menu ul ul, #menu ul li.cur ul ul, #float { display:none; }change this into this:
#menu ul ul, #menu ul li.cur ul ul, #float { /* display:none; */ }(just commenting the tingemy out, to see if it doesn’t break anything else)
Peter
Forum: Themes and Templates
In reply to: partial menu links not showing upLets start simple (without all the if’s):
Before you start editing: make a copy of the original file, so you can always revert to the original situation.
<div id="menu"> <h1><a href="<?php bloginfo('url'); ?>"><b>KtotheAtotheI</b>.com</a></h1> <ul> <li> <a href="<?php bloginfo('url'); ?>/about">ABOUT</a></li> <ul> <li><a href="/photos">PHOTOS</a></li> <li><a href="/video">VIDEO</a></li> <li><a href="/contact">CONTACT</a></li> </ul> <li><a href="<?php bloginfo('url'); ?>/blog">BLOG</a></li> <li><a href="<?php bloginfo('url'); ?>/projects">PROJECTS</a></li> </ul> </div>Peter
Forum: Themes and Templates
In reply to: Autumn Forest 1.0 Theme H-E-L-P PleaseChange this:
<img src="<?php bloginfo('template_directory'); ?>/imgs/http://www.missbantu.com/wp-content/uploads/2009/09/London-Shoot-II-001.jpg" alt="Miss Bantu" />into this:
<img src="http://www.missbantu.com/wp-content/uploads/2009/09/London-Shoot-II-001.jpg" alt="Miss Bantu" />AND: make it smaller (the same dimensions the previous picture was).
Peter
btw: beautiful picture.
Forum: Themes and Templates
In reply to: Php help – mystery codeIn the above snippet no sneaking is done 🙂
Are there no strange plugins installed?
Is it possible to show the entire functions.php via pastebin?Peter
Forum: Themes and Templates
In reply to: Migrated to another server now I can’t upload images…Forum: Themes and Templates
In reply to: Different headerprobably, what’s the url to your site?
Peter
Forum: Themes and Templates
In reply to: Display page related content in sidebarThe linking (between posts, or post-images) can be done via custom fields, that won’t be a problem, I guess.
Trying to come to a design:
<div id="contentwrapper"> <div id="content"> <!-- start the loop --> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => </div> <!-- end class post --> </div> <!-- end content --> <div id="sidebar"> <!-- do here your content related stuff in the sidebar --> $image = get_post_meta($post->ID, 'image', true); <!-- end the loop --> <?php endwhile; endif; ?> <!-- get the rest of your sidebar --> <?php get_sidebar(); ?> </div> <!-- end sidebar --> </div> <!-- end contentwrapper -->DISCLAIMER: the above code should only be used on page.php or single.php
Forum: Themes and Templates
In reply to: partial menu links not showing upNot quite sure, because all those nested if’s make me dizzy, but I think you should be cleaning up some:
<?php if ( is_home() ) { ?> <ul> <li <?php if ( is_page(love) ) { ?>class="cur"<?php } else { ?><?php } ?>><a href="/photos">PHOTOS</a></li> <li <?php if ( is_page(about) ) { ?>class="cur"<?php } else { ?><?php } ?>><a href="/video">VIDEO</a></li> <li <?php if ( is_page(about) ) { ?>class="cur"<?php } else { ?><?php } ?>><a href="/contact">CONTACT</a></li> </ul>You cannot be on is_page(love) when you’re on is_home().
My advise: make your code readable.
Peter
Forum: Themes and Templates
In reply to: why are my blog post underlinedI think it’s in the code of your index.php (of your theme, that is), try to find that piece of code.
Maybe better: upload your index.php to pastebin.
OTOH: it might be a plugin doing this. Try disabling them one by one.
Peter
Forum: Themes and Templates
In reply to: margin in subcategories on sidebarwhat’s the url to your site?
Peter
Forum: Themes and Templates
In reply to: Adding “read more” link to search resultsThose are excerpts, and you can add a read more link through a plugin.
I’m sure there are very good plugins for that in the plugin directory. I’ve described one myself on my site.
Peter
Forum: Themes and Templates
In reply to: Display page related content in sidebarSo you want the content of one post to be displayed in the sidebar when another post is shown in the content area?
Peter