HEX
Server: Apache/2
System: Linux da1 5.14.0-611.9.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 27 10:37:27 EST 2025 x86_64
User: mdosdorg (1028)
PHP: 8.3.30
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,mail
Upload Files
File: /home/mdosdorg/domains/mdo-sd.org/public_html/wp-content/themes/blocksy/inc/integrations/disqus.php
<?php

// https://wordpress.org/plugins/disqus-comment-system/

add_action('dsq_before_comments', function() {
	$prefix = blocksy_manager()->screen->get_prefix();

	$html_atts = [
		'class' => 'ct-comments',
	];

	if (blocksy_get_theme_mod(
		$prefix . '_comments_containment',
		'separated'
	) === 'contained'
	) {
		$html_atts['class'] .= ' is-width-constrained';
	}

	echo '<div ' . blocksy_attr_to_html($html_atts) . '>';
});
	
add_action('dsq_after_comments', function() {
	echo '</div>';
});