Home Forums Basel support forum Footer and instagram

Footer and instagram

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40253

    Stefano
    Participant

    Hi.
    I’m working on your template, which I find awesome.

    I have enabled the footer, I have imported the demo content, the widgets are full and yet I can’t see anything but the Copyright information. How come?

    One more question: I would like the instagram images in the bottom of the product pages to have a target=”_blank”. What do I have to do for that purpose?
    Thanks.

    #40277

    Artem Temos
    Keymaster

    Hello,

    Seems that the first widget area is empty and that is why the footer is not shown. Check it in Appearance -> Widgets.

    Currently, we don’t see the Instagram element on your home page.

    Regards

    #40382

    Stefano
    Participant

    Thanks.
    As I wrote before, the Instagram element is not in my homepage, it is in the product pages.
    Thanks for letting me know

    #40399

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to do this

    	function basel_product_instagram() {
    		$hashtag = get_post_meta(get_the_ID(),  '_basel_product_hashtag', true );
    		if( empty( $hashtag ) ) return;
    		?>
    			<div class="basel-product-instagram">
    				<p class="product-instagram-intro"><?php printf( wp_kses( __('Tag your photos with <span>%s</span> on Instagram.', 'basel') , array('span' => array())), $hashtag ); ?></p>
    				<?php echo basel_shortcode_instagram( array(
    					'username' => esc_html( $hashtag ),
    					'number' => 8,
    					'size' => 'large',
    					'target' => '_blank',
    					'design' => '',
    					'spacing' => 0,
    					'rounded' => 0,
    					'per_row' => 4
    				) ); ?>
    			</div>
    		<?php
    	}
Viewing 4 posts - 1 through 4 (of 4 total)