rogerklotz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Widgets not appearing on sidebarWell, I don’t want to post up my site, but here is the sidebar code and function code:
SIDEBAR.php
<!-- begin r_sidebar --> <div id="r_sidebar"> <ul id="r_sidebarwidgeted"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?> <form action="https://www.google.com/cse" id="cse-search-box"> <div> <input type="text" name="q" size="27" /> <input type="submit" name="sa" value="Search" /> </div> </form> </br> <li id="Recent Posts"> <h2>Recent Posts</h2> <ul> <?php wp_get_archives('type=postbypost&limit=10'); ?> </ul> </li> <li id="Categories"> <h2>Categories</h2> <ul> <?php wp_list_cats('sort_column=name'); ?> </ul> </li> <li id="Archives"> <h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <ul> <?php get_links_list(); ?> </ul> <?php endif; ?> </div> <!-- end r_sidebar -->
FUNCTIONS.php
<?php if ( function_exists('register_sidebars') ) register_sidebars(2); ?>
Is there a certain code I need to have in order for the widgets to show up?
Forum: Fixing WordPress
In reply to: How to create a Page that is not a blog post?Thank you Michael. Now, here’s part 2 to my concern:
Let’s say for example I have a page on my blog called “About”, which is located in the navigation and has a url of https://www.example.com/about. This is a completely static page. In the “About” content are a list of the bloggers names who contribute to the blog. Would it be possible for each of their names to be a hyperlink that will go to their individual bio pages, so the URL would be https://www.example.com/about/blogger1bio.html. How do I do this and still maintain the current theme of the blog?
Forum: Fixing WordPress
In reply to: Showing Posts On a Category Page^can i email or message you the link? i don’t really wanna post it here.
Forum: Fixing WordPress
In reply to: Showing Posts On a Category Page^Awesome! That did the trick.
I’ve noticed another issue has come up. Hopefully you can provide information.
When I click on a category, the very first post in that category page does not show the date (but it does show the title, # of comments, and content) and the very last post on the category page only shows the date but not the title, # of comments, or content. Everything in between these 2 posts show all the information I want to be shown (title, # of comments, and date).
Any thoughts?
Forum: Fixing WordPress
In reply to: Showing Posts On a Category Pagehey guys, thanks for the help.
unfortunately, in my archives.php i don’t see a the_excerpt(). here is the code:
<?php get_header(); ?> <div id="content"> <div id="contentmiddle"> <?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h4 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h4> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h4 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h4> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h4 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h4> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h4 class="pagetitle">Archive for <?php the_time('Y'); ?></h4> <?php /* If this is a search */ } elseif (is_search()) { ?> <h4 class="pagetitle">Search Results</h4> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h4 class="pagetitle">Author Archive</h4> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h4 class="pagetitle">Blog Archives</h4> <?php } ?> <?php while (have_posts()) : the_post(); ?> <div class="contenttitle"> <br /> <h6 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">• <?php the_title(); ?></a></h6><?php comments_popup_link('No Comments ', '1 Comment ', '% Comments '); ?> <small><?php the_time('F jS, Y') ?></small><br /><br /> </div> <!-- <?php trackback_rdf(); ?> --> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?> <p><?php posts_nav_link(' — ', __('← Previous Page'), __('Next Page →')); ?></p> </div> <?php include(TEMPLATEPATH."/r_sidebar.php");?> </div> <!-- The main column ends --> <?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: Strange Canonical ProblemSuggestions? Comments? Feedback?
Forum: Fixing WordPress
In reply to: Strange Canonical ProblemDoes anyone have feedback on this? Would it be the search engine’s issue or a .htaccess problrm?