Maxaud
Forum Replies Created
-
The direct link to the WordPress wishlist plugin is:
http://www.wpwishlist.com/
and their new site:
http://wishlistproducts.com/try reading this:
http://wordpress.org/support/topic/258201?replies=7Try this:
<?php if($post->post_parent) $children = wp_list_pages("sort_column=ID&depth=1&title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("sort_column=ID&depth=1&title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <ul class="child"><?php echo $children; ?></ul> <?php } ?>Forum: Fixing WordPress
In reply to: list all the entries under a specific categoryYou could put it before the endif; but it would show up if you had widgets in your sidebar.
The header image just uses rand() php to get a different header image each time. My car is the only black one on the site.
Forum: Fixing WordPress
In reply to: Auto Change Log In to Log Outyep, good luck.
Forum: Fixing WordPress
In reply to: list all the entries under a specific categoryin sidebar.php it should read something like:
<div id="sidebar"> <ul> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <li><h2>Author</h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> </li> --> <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks(); ?> <?php } ?> <li class="pagenav"><h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://www.wpthemesfree.com/" title="Wordpress Themes">Wordpress Themes</a></li> <?php wp_meta(); ?> </ul> </li> <?php if ( is_404() || is_category() || is_day() || is_month() || is_year() || is_search() || is_paged() ) { ?> <li> <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_category()) { ?> <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the day <?php the_time('l, F jS, Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <?php the_time('F, Y'); ?>.</p> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the year <?php the_time('Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p> <?php } ?> </li> <?php }?> <?php endif; ?> </ul> </div><!-- end of sidebarwrapper --> <br class="fixfloat" />if you are using widgets, you will have to add the code after the endif; 4th line from the end if you want to show up.
try adding this after the endif; :
<li class="pagenav"><h2>Recent Category Posts</h2> <?php $my_query = new WP_Query('cat=123&showposts=5'); ?> <ul> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <li> <h5><a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h5> <p>Written: <?php the_time('F j, Y') ?>, By <strong><?php the_author_link(); ?></strong><br /></p> </li> <?php endwhile; ?> </ul> </li>Forum: Fixing WordPress
In reply to: list all the entries under a specific categoryI’ll have to check the files exactly to add it to the sidebar but I have worked with the same theme that you’re building off of.
The site I did is here:
http://www.gt4rc.com
(my car is the black one)I’ll get back to you with where you might want to start modifying
Forum: Fixing WordPress
In reply to: WordPress Driven HomepageIt’s possible. Try adding this to your home.php page:
<?php // Starts WordPress and tells it not to use your theme define('WP_USE_THEMES', false); require('/wp-blog-header.php'); // retrieves page 2 only // alternatively you can use pagename=home // to get the page you want query_posts('page_id=2'); ?>Next, find where you want the post to be and insert this code to insert it:
<?php while (have_posts()): the_post(); ?> <h2><?php the_title(); ?></h2> <?php the_content(); ?> <?php endwhile; ?>Continued Reading:
query posts:
http://codex.wordpress.org/Template_Tags/query_postsForum: Fixing WordPress
In reply to: Slow WordPress Blog Response Time with Yahoo Provideralso try deactivating your plugins to see if one of them is causing it to lag. If Yahoo is blocking one, that may be the issue.
Forum: Fixing WordPress
In reply to: Changed WordPress URL, Blog is Ruined!If you have the ability to “click save” you should have the ability to change the url back via the general settings tab.
Forum: Fixing WordPress
In reply to: WordPress Driven Homepagecreate a page template with your current php code and apply that to a page created in WordPress. This will make it wordpress but without integrating the WordPress loop into your php file, you cannot modify the contents.
Forum: Fixing WordPress
In reply to: Can Not Delete My Blog??? Please adviseLooks like wordpress is still installed to me:
http://blog.abundanceinn.com/about
http://blog.abundanceinn.com/category/videos/try using the forgot password link here:
http://blog.abundanceinn.com/wp-login.phpForum: Fixing WordPress
In reply to: list all the entries under a specific categorytry the below code (change the 123 to your category id and the 5 to how many posts you want to list):
<?php $my_query = new WP_Query('cat=123&showposts=5'); ?> <ul> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <li> <h5><a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h5> <p>Written: <?php the_time('F j, Y') ?>, By <strong><?php the_author_link(); ?></strong><br /></p> </li> <?php endwhile; ?> </ul>Forum: Fixing WordPress
In reply to: Help! What happened?looks to be fixed. Please mark this as resolved if it is.
Forum: Fixing WordPress
In reply to: How do I launch my siteyou will also want to delete or rename the current index file at the root