Aizen

Hi Ihor,

I added the code to the functions.php file as below:

<?php
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

// Include the core HiveTheme class.
require_once __DIR__ . '/includes/class-core.php';

/**
 * Returns the core HiveTheme instance.
 *
 * @return HiveTheme\Core
 */
function hivetheme() {
	return HiveTheme\Core::instance();
}

// Initialize HiveTheme.
hivetheme();
add_filter(
	'hivepress/v1/templates/listings_edit_page',
	function( $template ) {
		return HivePress\Helpers\merge_trees(
			$template,
			[
				'blocks' => [
					'page_content' => [
						'blocks' => [
							'custom_page_content' => [
								'type'    => 'content',
								'content' => 'Beware Scammers are contacting our members offering paid account upgrades. We will never contact you for this!',
								'order'   => 6,
							],
						],
					],
				],
			]
		);
	}
);

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.

Black Friday is coming! Get 25% off any purchase with FRIDAY2020 coupon code until Friday, November 27.