WordPress.org

Ready to get started?Download WordPress

Forums

Zenon Lite
[resolved] Home page block code (3 posts)

  1. danyat10
    Member
    Posted 10 months ago #

    Hi,

    I'm trying to put google maps embed code and facebook shortcode into one of the home page blocks, but it seems to be stripping out the iframe element. Is this something that can be changed?

    http://www.saddleworthsuits.co.uk/

    Thanks.

  2. Towfiq I.
    Member
    Theme Author

    Posted 10 months ago #

    Open up index.php and replace this:

    <?php if ( of_get_option('block3_textarea') ) { ?>
            <div class="midrow_block">
            <div class="mid_block_content">
            <h3><?php echo of_get_option('block3_text'); ?></h3>
            <p><?php echo of_get_option('block3_textarea'); ?></p>
            </div>
            </div>
             <?php } ?>

    with this:

    <div class="midrow_block">
            <div class="mid_block_content">
            <h3><?php echo of_get_option('block3_text'); ?></h3>
            <p><?php echo of_get_option('block3_textarea'); ?>
    
    //Add your google map code here.....
            </p>
            </div>
            </div>
  3. danyat10
    Member
    Posted 10 months ago #

    Perfect, thanks :)

Reply

You must log in to post.

About this Theme

About this Topic