jkovis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Missing Meta Boxes in Admin Pages for Custom PostYou need to add something like
'supports' => array( 'author', 'revisions', 'thumbnails' )to the arguments array that you pass to register_post_type since only title and editor are the defaults.Forum: Fixing WordPress
In reply to: Can anyone tell me where I am wrong in my codeHave you tried printing out $wp_query to see which query parameters WordPress is using?
Add something like the following to your code, save, and then view source.
$args = array( 'category__and' => array(3,4,5,6,7), 'posts_per_page' => 1); query_posts( $args ); <!-- wp_query = <?php print_r($wp_query); ?> -->I’d also consider using WP_Query instead of query_posts since you won’t have to mess with the original query
Have you tried http://www.brandonkraft.com/b/feed/rss2/?
Forum: Fixing WordPress
In reply to: [WP eCommerce] Updating variationHave you tried asking on the WP e-Commerce forum?
Forum: Fixing WordPress
In reply to: Twitter Widget: How do I change indention?Add this to your style.css file:
. widget_twitter ul { padding: 0; }Forum: Fixing WordPress
In reply to: Why the page ids don't work when I put them in widget?Have you tried a comma separated list (2,5,23)?
Forum: Fixing WordPress
In reply to: Show Excerpt and 'read more' instead of full post in Grassland Theme> this did not offer a link to the entire post
Try this:<?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" title="permalink to <?php the_title(); ?>">Read More</a>> did not give me the option to indicate how many lines I wanted to show
— the excerpt defaults to show the first 55 characters of a post. To change that, add the following to your theme’s functions.php file (100 is the new limit in this case):add_filter( 'excerpt_length', 'new_excerpt_length' ); function new_excerpt_length( $length ) { return 100; }Forum: Fixing WordPress
In reply to: Line height (multiple vs. single post view)Try adding
.post p.entry p, .post p { line-height:17px; }Forum: Fixing WordPress
In reply to: Need to Place link in template that targets specific taxonomy termDid you try something like:
<?php $term_slug = $post->post_name; echo get_term_link( $term_slug, 'wwd'); ?>Forum: Fixing WordPress
In reply to: Max upload file sizehmm…did you try restarting the server after changing the values?
Are you sure there is no option in WP to limit that?– I’m pretty sure, here is the function the flash uploader uses to determine the max upload size:
function wp_max_upload_size() { $u_bytes = wp_convert_hr_to_bytes( ini_get( 'upload_max_filesize' ) ); $p_bytes = wp_convert_hr_to_bytes( ini_get( 'post_max_size' ) ); $bytes = apply_filters( 'upload_size_limit', min($u_bytes, $p_bytes), $u_bytes, $p_bytes ); return $bytes; }Forum: Fixing WordPress
In reply to: Margin/Padding Issue around ImageThese two styles are overriding img.alignright:
.home .size-medium, .home .size-large { max-width: 590px; height: auto; overflow: hidden; margin: 0 .55em .55em .65em; } .content .size-medium, .content .size-large { margin: 0 1.5em 1.5em 0; }The easiest thing to do may be to add an !important statement to the margins on img.alignright so it reads:
margin: 5px 0 5px 20px !important;Forum: Fixing WordPress
In reply to: Max upload file sizeI forgot that you need to change
post_max_sizeas well asupload_max_filesizeSeemingly it requires some hack– using hooks are not hacks as the make it so you don’t have to hack core WordPress files
Forum: Fixing WordPress
In reply to: Max upload file sizeYou can hook into
upload_size_limitForum: Fixing WordPress
In reply to: Blog RSS feed only shows commentsTry http://blueroofdesigns.com/feed/ (/blog/feed is pulling comments from the “/blog” page)
Forum: Fixing WordPress
In reply to: Margin/Padding Issue around ImageIt looks like the link didn’t post.