Spencer Finnell
Forum Replies Created
-
Forum: Themes and Templates
In reply to: K2 Sidebar is a total nightmare – I’m giving upCan you post a link to the site?
Thanks
Forum: Fixing WordPress
In reply to: Default value on Category Drop DownThe documentation on
wp_dropdown_categories
shows that you can add a parameter ofshow_option_all
<?php wp_dropdown_categories( array( 'show_option_all' => 'Select Category' ) ); ?>
So you can set that to “Select Category”, which will return a value of 0 if it is left on that option.
Forum: Fixing WordPress
In reply to: Move a wordpress installation?Forum: Plugins
In reply to: Paging with Pages and Child PagesWhat is not working right now?
And just to be clear: you have a page, which you use to display the title/content of it’s child pages (similar to a normal blog layout) and you’d like to be able to page through them?
Forum: Themes and Templates
In reply to: Add new PageIf I understand you correctly, I think you want Custom Page Templates.
Forum: Fixing WordPress
In reply to: Different style for admin and author commentsWhat you have now should style the
<li>
with a class of.comment-author-admin
The comments by the admin will have that class applied to them no matter what depth they are.Forum: Fixing WordPress
In reply to: Make posts on homepage shorterCheck out this page for information on customizing what content is displayed.
Specifically, you can use
<!--more-->
to stop the post content from displaying after a certain point on the homepage.Forum: Fixing WordPress
In reply to: Pages not appearing in nav menuAre you using the custom menu management? If so, make sure you have “Automatically add new top-level pages” checked. Otherwise you have to add them manually.
Forum: Fixing WordPress
In reply to: Jquery and wordpressYou should use wp_enqueue_script to call the rest of your jQuery files.
What you have right now should call jQuery. You sure it’s not being loaded?
Forum: Fixing WordPress
In reply to: How to get the posts home URL?You can use the following, which doesn’t require you to find the ID of the page (and will also update if you change pages)
<a href="<?php echo get_permalink( get_option( 'page_for_posts' ) ); ?>">View News</a>
It’s the same as vtxyzzy’s, but it just gets the option you selected as the posts page, as opposed to a static ID.
Forum: Fixing WordPress
In reply to: How to add post image to blogYou should check out Mark Jaquith’s post: https://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/
You can set a featured image when creating a post, then use the code in Mark’s post to display the image on the different parts of the site.
If your theme has a category.php template, you’ll want to edit that for the small image, and edit single.php to display the full size image.
Forum: Fixing WordPress
In reply to: WP 3.0 bug with pagination? (when using static page as homepage)EDIT: Ah nevermind, didn’t quite have it setup right. I can now confirm I have the same problem.