• Resolved wackynation

    (@wackynation)


    My original website designer no longer works and I have taken over updating my site. I would like to change the front page at http://www.wackynation.com so that I remove the twitter feed and slower, crazier, faster block. I am not sure which coding at the end to keep and which to remove.

    Am I right that I need to remove the coding from
    <div class=”three_fifth column-last”>

    all the way to
    ‘ ); ?></div>

    I assume I’d leave the </div>. I don’t want to remove the wrong code and mess up the whole page. The page code is below. Thanks

    <?php
    /*
    Template Name: Home Page
    */
    ?>

    <?php get_header(); ?>

    <!–BEGIN #primary .hfeed–>
    <div id=”primary” class=”hfeed”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <!–BEGIN .hentry–>
    <div <?php post_class(‘clearfix’) ?> id=”post-<?php the_ID(); ?>”>

    <?php
    $tz_slider = get_option(‘tz_image_slider’);
    if( $tz_slider == ‘true’ ) { get_template_part(‘includes/home-imageslider’); }
    ?>

    <!–BEGIN .entry-content –>
    <div class=”entry-content”>
    <?php the_content(); ?>
    <!–END .entry-content –>
    </div>

    <!–END .hentry–>
    </div>
     
    <img src=”wp-content/uploads/2012/03/coming-up.gif”>
    <p></p>
    <div class=”one_fourth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2014/10/welly-throw-portfolio1.jpg&#8221; alt=”” width=”210″ height=”157″ />
    <h4 style=”margin-top: 10px”>World Wellington Boot Throwing Championship™</h4>
    <p>Wellington</p>
    <p>10th September 2016</p>
    </div>
    <div class=”one_fourth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2014/08/Apple-stack-small.png&#8221; alt=”” width=”210″ height=”157″ />
    <h4 style=”margin-top: 10px”>Beat The Clock</h4>
    <p>Salisbury Food & Drink Festival</p>
    <p>18th September 2016</p>
    </div>
    <div class=”one_fourth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2015/08/witches-hat-toss.jpg&#8221; alt=”” width=”200″ height=”157″ />
    <h4 style=”margin-top: 6px”>Halloween Spooktacular </h4>
    <p>Location tbc</p>
    <p>30th October 2016</p>
    </div>
    <div class=”one_fourth column-last”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2016/04/uk-rps-photo.jpg&#8221; alt=”” width=”206″ height=”157″ /><h4 style=”margin-top: 10px”>UK Rock Paper Scissors Championship™</h4>
    <p>Green Man Pub, London</p>
    <p>19th November 2016</p>
    </div>
    <p></p>
    <div class=”vote”>
    <img src=”wp-content/uploads/2012/03/vote-title.gif”>
    <div class=”two_fifth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2015/09/wacky-events-montage2.jpg&#8221; alt=”” width=”285″ height=”245″/></div>
     
    <div class=”three_fifth column-last”>
    <h2 align=”left”>Looking for festival entertainment in 2016?</h2>
    <h3>We have a lots of fun, entertaining and zany event ideas just waiting for YOU.</h3>

    <h3>YOU could be hosting;</h3>
    <h5> – World Baby Crawling Championship</h5>
    <h5> – UK Vegetable Bowling Championship</h5> <h5> – Giant Inflata-Ball Football World Cup</h5>
     
    <h3>Contact Us to find out how we can help.</h3>
    </div>
    </div>
    <div class=”one_fourth column-last”>

    <img src=”wp-content/uploads/2012/03/twitter-header.gif”>
     <?php echo do_shortcode( ‘[twitter-feed username=”wackynation” id=”352356760482365440″ mode=”fav”]

    ‘ ); ?></div>
    <?php endwhile; endif; ?>

    <!–END #primary .hfeed–>
    </div>
    <?php get_footer(); ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    that I remove the twitter feed

    Remove this bit:

    <div class="one_fourth column-last">
    
    <img src="wp-content/uploads/2012/03/twitter-header.gif">
     <?php	echo do_shortcode( '[twitter-feed username="wackynation" id="352356760482365440" mode="fav"]
    
    ' ); ?></div>

    slower, crazier, faster block.

    Remove this bit:

    <div class="vote">
    <img src="wp-content/uploads/2012/03/vote-title.gif">
    <div class="two_fifth">
    <img src="http://www.wackynation.com/wp-content/uploads/2015/09/wacky-events-montage2.jpg" alt="" width="285" height="245"/></div>
    
    <div class="three_fifth column-last">
    <h2 align="left">Looking for festival entertainment in 2016?</h2>
    <h3>We have a lots of fun, entertaining and zany event ideas just waiting for YOU.</h3>
    
    <h3>YOU could be hosting;</h3>
    <h5> - World Baby Crawling Championship</h5>
    <h5> - UK Vegetable Bowling Championship</h5> <h5> - Giant Inflata-Ball Football World Cup</h5>
    
    <h3>Contact Us to find out how we can help.</h3>
    </div>
    </div>

    Thread Starter wackynation

    (@wackynation)

    Thanks it now looks like this

    I’m assuming the line of dots shouldn’t be at the bottom of the page. Which bit of the code is still wrong please.

    <?php
    /*
    Template Name: Home Page
    */
    ?>

    <?php get_header(); ?>

    <!–BEGIN #primary .hfeed–>
    <div id=”primary” class=”hfeed”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <!–BEGIN .hentry–>
    <div <?php post_class(‘clearfix’) ?> id=”post-<?php the_ID(); ?>”>

    <?php
    $tz_slider = get_option(‘tz_image_slider’);
    if( $tz_slider == ‘true’ ) { get_template_part(‘includes/home-imageslider’); }
    ?>

    <!–BEGIN .entry-content –>
    <div class=”entry-content”>
    <?php the_content(); ?>
    <!–END .entry-content –>
    </div>

    <!–END .hentry–>
    </div>
     
    <img src=”wp-content/uploads/2012/03/coming-up.gif”>
    <p></p>
    <div class=”one_fourth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2014/10/welly-throw-portfolio1.jpg&#8221; alt=”” width=”210″ height=”157″ />
    <h4 style=”margin-top: 10px”>World Wellington Boot Throwing Championship™</h4>
    <p>Wellington</p>
    <p>10th September 2016</p>
    </div>
    <div class=”one_fourth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2014/08/Apple-stack-small.png&#8221; alt=”” width=”210″ height=”157″ />
    <h4 style=”margin-top: 10px”>Beat The Clock</h4>
    <p>Salisbury Food & Drink Festival</p>
    <p>18th September 2016</p>
    </div>
    <div class=”one_fourth”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2015/08/witches-hat-toss.jpg&#8221; alt=”” width=”200″ height=”157″ />

    <h4 style=”margin-top: 6px”>Halloween Spooktacular </h4>
    <p>Location tbc</p>
    <p>30th October 2016</p>
    </div>
    <div class=”one_fourth column-last”>
    <img src=”http://www.wackynation.com/wp-content/uploads/2016/04/uk-rps-photo.jpg&#8221; alt=”” width=”206″ height=”157″ /><h4 style=”margin-top: 10px”>UK Rock Paper Scissors Championship™</h4>
    <p>Green Man Pub, London</p>
    <p>19th November 2016</p>
    </div>
    <p></p>

    <?php endwhile; endif; ?>

    <!–END #primary .hfeed–>
    </div>
    <?php get_footer(); ?>

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The dots aren’t related to either of the sections you removed. The dots are coming from a style applied to your main section of content:

    .page-template-template-home-php #primary, .page-template-template-full-width-php #primary {
        background: #fff url(images/dots.gif) 0 100% repeat-x;
        width: 100%;
    }

    This is not a HTML change.

    Thread Starter wackynation

    (@wackynation)

    Is it something I need to change or is it normal to have this please

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It’s up to you what you want to change, but the website has been designed to have dots just like it was designed to have the ‘Twitter’ and ‘slower, crazier, faster’ blocks.

    Thread Starter wackynation

    (@wackynation)

    Thanks for your help that’s fine then

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘which code to delete’ is closed to new replies.