Disqus Debug thread_id: ".get_post_meta($post->ID, 'dsq_thread_id', true)."

"; } ?>
1 && get_option('page_comments')): // Are there comments to navigate through? ?> 1 && get_option('page_comments')): // Are there comments to navigate through? ?>
array( 'platform' => 'wordpress@'.$wp_version, 'language' => apply_filters( 'disqus_language_filter', '' ), ), 'disqusIdentifier' => dsq_identifier_for_post( $post ), 'disqusShortname' => strtolower( get_option( 'disqus_forum_url' ) ), 'disqusTitle' => dsq_title_for_post( $post ), 'disqusUrl' => get_permalink(), 'options' => array( 'manualSync' => get_option('disqus_manual_sync'), ), 'postId' => $post->ID, ); // Add SSO vars if enabled $sso = dsq_sso(); if ($sso) { global $current_site; foreach ($sso as $k=>$v) { $embed_vars['disqusConfig'][$k] = $v; } $siteurl = site_url(); $sitename = get_bloginfo('name'); $embed_vars['disqusConfig']['sso'] = array( 'name' => wp_specialchars_decode($sitename, ENT_QUOTES), 'button' => get_option('disqus_sso_button'), 'url' => $siteurl.'/wp-login.php', 'logout' => $siteurl.'/wp-login.php?action=logout', 'width' => '800', 'height' => '700', ); } if ( get_option('dsq_external_js') == '1' ) { wp_register_script( 'dsq_embed_script', plugins_url( '/media/js/disqus.js', __FILE__ ) ); wp_localize_script( 'dsq_embed_script', 'embedVars', $embed_vars ); wp_enqueue_script( 'dsq_embed_script', plugins_url( '/media/js/disqus.js', __FILE__ ) ); } else { ?>