Comment forum to display under the comment you’re replying too

Enqueue the ‘comment-reply’ script. function wpse88530_enqueue_comment_reply() { // Enqueue the comment-reply script on //single blog post pages with comments // open and threaded comments if ( // Returns the value for the specified option. // ‘thread_comments’ is a Boolean option where // comments are threaded if TRUE, and flat if // FALSE get_option( ‘thread_comments’ ) … Read more

Display 1 category only with get_the_category (by ID or slug)

I think you could do something like this: $categories = get_the_category(); $displayed_category_id = 1; // set this to the category ID you want to show $output=””; if($categories){ foreach($categories as $category) { if ( $displayed_category_id == $category->term_id) { $output .= ‘<a href=”‘.get_category_link($category->term_id ).'” title=”‘ . esc_attr( sprintf( __( “View all posts in %s” ), $category->name ) … Read more

Uploading Images for a section

Try the Media Library Assistant plugin: http://wordpress.org/extend/plugins/media-library-assistant/ I’ve never used it, but it looks like you can bulk-edit media files’ taxonomies and filter them by whatever taxonomy you choose.

How to insert post into a page?

The likely issue here is you need to refresh your permalinks for it to recognise the post type. Classic fix is to go to Settings > Permalinks and then click Save Changes without actually saving anything. Just loading the permalinks setting page usually fixes it, but saving makes sure. I’d say that’ll fix the issue.

Notice: Undefined index: in options-framework.php

Most likely you have an undefined array index. You can check if the array index exists with isset() like this: if(isset($some_array[$some_index])){ } So check all your arrays in the options-framework.php file. You can try for example: if ( isset($option[‘type’]) && isset($input[$id]) && has_filter( ‘of_sanitize_’ . $option[‘type’] ) ) { $clean[$id] = apply_filters( ‘of_sanitize_’ . $option[‘type’], … Read more