Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23644

    I’d like to add a couple of widgetised areas below the the 3 homepage boxes (kclass display boxes).

    Found this link in the forum on how to create your own widgets: http://www.studiograsshopper.ch/code-snippets/how-to-add-a-widgetised-area-in-a-wordpress-theme/

    So I’ve created 2 new widgets ‘homecontent’ widget and ‘homesidebar’ widget which I’m able to fill with text to make sure they work (and they do!)

    However…. (there’s always a catch)

    I can’t figure out how to make the 2nd widget display alongside the first (rather than below it).

    Thanks in advance, my coding skills are not the best – or even passable for that matter.

    #120622

    Hi!

    Can you post a link to the homepage please? Probably just a few lines of css are required to fix the issue.

    Best regards,

    Peter

    #120623

    Thanks for you reply. change of plans at this stage, but I will need to be adding more content below the three boxes. Any tip?

    site is productionvideo.com.au

    Cheers

    #120624

    Hey!

    Yes, open up index.html and insert your additional html content above following line:

    </div><!--end main-->

    It will be displayed underneath the boxes.

    Best regards,

    Peter

    #120625

    Ok so I want to add another row of feature boxes.

    Ive edited the index.php to do this:

    $placeholder_image1 = get_bloginfo(‘template_url’).’/images/webcast_streaming-1.jpg’;

    $placeholder_image2 = get_bloginfo(‘template_url’).’/images/webcast_streaming-2.jpg’;

    $placeholder_image3 = get_bloginfo(‘template_url’).’/images/webcast_streaming-3.jpg’;

    $placeholder_image4 = get_bloginfo(‘template_url’).’/images/webcast_streaming-4.jpg’;

    $placeholder_image5 = get_bloginfo(‘template_url’).’/images/webcast_streaming-5.jpg’;

    $placeholder_image6 = get_bloginfo(‘template_url’).’/images/webcast_streaming-6.jpg’;

    $placeholder_image1 = kriesi_build_image(array(‘url’=>$placeholder_image1,’height’=>’150′,’width’=>’280′));

    $placeholder_image2 = kriesi_build_image(array(‘url’=>$placeholder_image2,’height’=>’150′,’width’=>’280′));

    $placeholder_image3 = kriesi_build_image(array(‘url’=>$placeholder_image3,’height’=>’150′,’width’=>’280′));

    $placeholder_image4 = kriesi_build_image(array(‘url’=>$placeholder_image1,’height’=>’150′,’width’=>’280′));

    $placeholder_image5 = kriesi_build_image(array(‘url’=>$placeholder_image2,’height’=>’150′,’width’=>’280′));

    $placeholder_image6 = kriesi_build_image(array(‘url’=>$placeholder_image3,’height’=>’150′,’width’=>’280′));

    $placeholder[1] = $placeholder_image1.’<h3>What we do</h3><p>Streamworks produce successful online events by providing video and audio production and live webcasting services to SMEs, government and institutional clients.
    Our staff have experience in producing both small and large scale live webcast events across Australia to local and global audiences. Read more</p>’;

    $placeholder[2] = $placeholder_image2.’<h3>Engage your audience</h3><p>Our live streaming and webcast solutions give you best in class features for audience interaction. We offer multiple user engagement options to enable your live audience to become involved.
    Include audience polls, live Q and A sessions and surveys in your webcast. Then measure ROI using our advanced analytics tools.Read more</p>’;

    $placeholder[3] = $placeholder_image3.’<h3>Global reach</h3><p>Our service is robust and reliable. We webcast using the global Akamai CDN network, a network of more than 95000 servers in 71 countries to stream your event.
    This enables massive scalability from 100 viewers to 100000 ensuring your event is a success no matter the size. Read more‘;

    $placeholder[4] = $placeholder_image1.’<h3>What we do</h3><p>Streamworks produce successful online events by providing video and audio production and live webcasting services to SMEs, government and institutional clients.
    Our staff have experience in producing both small and large scale live webcast events across Australia to local and global audiences. Read more</p>’;

    $placeholder[5] = $placeholder_image2.’<h3>Engage your audience</h3><p>Our live streaming and webcast solutions give you best in class features for audience interaction. We offer multiple user engagement options to enable your live audience to become involved.
    Include audience polls, live Q and A sessions and surveys in your webcast. Then measure ROI using our advanced analytics tools.Read more</p>’;

    $placeholder[6] = $placeholder_image3.’<h3>Global reach</h3><p>Our service is robust and reliable. We webcast using the global Akamai CDN network, a network of more than 95000 servers in 71 countries to stream your event.
    This enables massive scalability from 100 viewers to 100000 ensuring your event is a success no matter the size. Read more‘;

    and edited the kclassdisplay-box.php

    and changed the default 3 to 6:

    function kclass_display_box($pagename, $boxname, $widgetname, $placeholder = array(), $default = 6)

    but only 3 are showing up

    What am I missing?

    Thanks in advance

    #120626

    Hi,

    It works fine on my end. Please check the URL of your images.

    $placeholder_image1 = get_bloginfo(‘template_url’).’/files/medium1.jpg’;

    $placeholder_image2 = get_bloginfo(‘template_url’).’/files/medium2.jpg’;

    $placeholder_image1 = kriesi_build_image(array(‘url’=>$placeholder_image1,’height’=>’124′,’width’=>’280′));

    $placeholder_image2 = kriesi_build_image(array(‘url’=>$placeholder_image2,’height’=>’124′,’width’=>’280′));

    $placeholder[1] = $placeholder_image1.’<h3>HTML Template „Display“</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse. Read more</p>’;

    $placeholder[2] = $placeholder_image2.’<h3>Amanded with Adobe Flash</h3><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Read more</p>’;

    $placeholder[3] = $placeholder_image1.’<h3>jQuery to the rescue</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse.

    quat. Read more‘;

    $placeholder[4] = $placeholder_image1.’<h3>HTML Template „Display“</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse. Read more</p>’;

    $placeholder[5] = $placeholder_image2.’<h3>Amanded with Adobe Flash</h3><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Read more</p>’;

    $placeholder[6] = $placeholder_image1.’<h3>jQuery to the rescue</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse.

    quat. Read more‘;

    Regards,

    Ismael

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

The topic ‘Add content below homepage boxes’ is closed to new replies.