Share Bar over laps left column [closed]
Your #primary container is only 620px wide: #primary { float: left; width: 620px; }
Your #primary container is only 620px wide: #primary { float: left; width: 620px; }
your query doesn’t restrict posts without comments. $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts( ‘cat=-8378, -13444&orderby=comment_count&paged=’ . $paged ); while (have_posts()) : if( get_comments_number() ) the_post(); […] reference: get_comments_number()
If there’s no significant reason that you can’t do the queries separately (putting each type into its own div), then show and hide the divs based on the user input, then that might be a significantly simpler solution to code. That way, you’d be doing simple queries, not trying to bunch them all together and … Read more
you should add <?php the_meta(); ?> in your single.php or in other relevant file. reference how to edit your theme files
where are you setting $ecpt_challenge, $ecpt_solution and $ecpt_results? also get_post_meta($post->ID, ‘ecpt_goal’, false); returns an array, so use print_r ( get_post_meta($post->ID, ‘ecpt_goal’, false)); OR for single result pass “true” in the last argument. echo get_post_meta($post->ID, ‘ecpt_goal’, true); reference: get_post_meta() @codex
Buddypress will probably help you too. I guess you’ll want your community members to interact? Also just search the wordpress.org plugins repository, for “membership” or “members” plugins to compare with. The plugin “s2member”, for example, is very popular.
The way gravatar works is that it creates an MD5 of the email address and passes that to gravatar.com. If an avatar exists for that hashed email address, then it gets returned. If not, then it generates a random one based on the data in the hash. Essentially, it’s arbitrary. There’s code in there that … Read more
i’ve been using nextgen gallery and i believe it fits your needs: 1. Upload a folder full of images : yes 2. Resize images according to a specified size : yes, on the gallery option you can set the standard size. 3. Have the ability to organize these images into folders (collection1, collection2, etc) : … Read more
Use PHP modulo operator (%) to determine the classes and use CSS to float them all left and set clear:right to the odd class. Kind of hard to picture how you’re pulling the images without the code though. Could you post a clip of the code you used to pull the images? If not you … Read more
You need to hook into the save_post action filter, get the post meta field, and swap the ID’s and fire the update_post function.