Honeycomb powered by Property Hive.
function gomo_get_hook($atts) {
ob_start();
if ( $atts['hook']) {
echo do_action($atts['hook']);
}
return ob_get_clean();
}
add_shortcode('create-hook', 'gomo_get_hook');
if ( ! function_exists( 'honeycomb_credit' ) ) {
function honeycomb_credit() {
?>
<div class="site-info">
<?php echo esc_html( apply_filters( 'honeycomb_copyright_text', $content = '© ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) ) ); ?>
<?php if ( apply_filters( 'honeycomb_credit_link', true ) ) { ?>
<br /> <?php echo __(sprintf( esc_attr__( '%1$s powered by %2$s.', 'honeycomb' ), 'Honeycomb', '<a href="https://wp-property-hive.com" title="Property Hive - The Leading WordPress Platform For Estate Agency Websites" rel="author">Property Hive</a>' ), 'propertyhive'); ?>
<?php } ?>
</div><!-- .site-info -->
<?php
}
}
add_filter( 'honeycomb_footer', 'honeycomb_credit', 10, 3 );
Then add a shortcode:
Honeycomb powered by Property Hive.