A call to list all Custom Post Types?

You’ve to take a look at the documentation to know how to use a function, you can’t just replace them. If you do that you’ll see get_post_types() has to be used different then get_categories(). For example you can’t use the parameter hide_empty. Besides that you have to change the $output parameter to objects, default is … Read more

Get posts after calculating meta key

Assuming meta_count is another column in your postmeta table below query should get you the posts based on meta_value/meta_count calculation. $postids=$wpdb->get_col( $wpdb->prepare( “SELECT post_id FROM $wpdb->postmeta ORDER BY (meta_value/meta_count) LIMIT 10 ” ) ); The result $postids would be an array. You will have to declare $wpdb as a global variable before you use this … Read more

Error in php code

This is no WordPress error (as you can see due to the page being completely loaded, see the WordPress footer, for instance) — it is a user error. In the add_submenu_page call, you specified the function wptuts_landing_settings_page, while your actual function is called director_settings_page.

How to add tags to identify custom post types in archives?

I got it 🙂 <?php if ( ‘articles’ == get_post_type() ) { ?> <div class=”post-type-articles-container pull-left post-tag-margin”><a href=”http://collectivelyconscious.net/articles”>Articles</a></div> <?php } ?> <?php if ( ‘questions’ == get_post_type() ) { ?> <div class=”post-type-questions-container pull-left post-tag-margin”><a href=”http://collectivelyconscious.net/questions”>Questions</a></div> <?php } ?> …etc.

Verify user is Eventbrite attendee when creating new WordPress account

This is a very broad question. As @andrew pointed out, you need to work with the API at http://developer.eventbrite.com/ to parse member lists with the API during the registration process in WordPress. But, eventbrite says that “Currently there is no way to search for a specific attendee with event_list_attendees.” https://stackoverflow.com/questions/15366606/verifying-a-single-attendee-with-email

repeating posts on 2nd page to posts

Use this in your child themes functions.php file add_action( ‘pre_get_posts’, ‘exclude_category_posts’ ); function exclude_category_posts( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( ‘cat’, ‘-27,-30′ ); } } Add a comma separated list of category i.d’s to the set. Never Use Query Posts