HEX
Server: Apache/2.4.66 (Debian)
System: Linux ouvweb01 6.1.0-43-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.162-1 (2026-02-08) x86_64
User: respire.localocb5 (24651)
PHP: 8.3.30
Disabled: popen,proc_open,disk_free_space,diskfreespace,leak,exec,system,shell_exec,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_getpriority,pcntl_setpriority,pcntl_signal_dispatch,pcntl_signal,pcntl_sigprocmask,pcntl_sigtimedwait
Upload Files
File: /var/www/vhosts/respire.localoco.net/httpdocs/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>';
});