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

    Hi all. I have looked everywhere on the forum, but can’t find an answer. Maybe I’m the only one who wants this?

    http://www.multitouches.co.uk

    I’d like to set a static page for my homepage (a portfolio) but still have the slider showing.

    Is there someway I can achieve this please? I don’t mind hard coding the page ID into the theme files if necessary, I will never change the page on the homepage.

    Thank you in advance! (I would like to get this done pretty quickly if possible? I’m getting pressure put on me!)

    #84749

    Hello,

    Open up template_portfolio.php then find this code

    <?php
    /*
    Template Name: Portfolio
    */
    global $k_option, $more;
    $k_option['custom']['bodyclass'] = "class='fullwidth'"; //$k_option['custom']['bodyclass'] = "";

    get_header();

    Replace it with this

    <?php
    /*
    Template Name: Portfolio
    */
    global $k_option, $more;
    $k_option['custom']['bodyclass'] = "class='fullwidth'"; //$k_option['custom']['bodyclass'] = "";

    get_header(); ?>

    <div id="featured">
    <div id="featured_image"><?php
    ######################################################################
    # Get Images for the Basic Image Slider
    ######################################################################

    // these are the images for the jQuery slideshow, rendered with the help of the class
    // framework/theme_plugins/kriesi_menu_manager/kriesi_slider_display

    if(is_object($k_option['custom']['slider'])) $k_option['custom']['slider']->display('Mainpage Slider'); ?>

    </div><!--end featured_image-->
    </div><!--end featured-->

    <?php

    Then change this bit of code

    /*
    Template Name: Portfolio
    */

    Name it for example “Portfolio Homepage”. You can now create a page then select “Portfolio Homepage” as Template.

    Regards,

    Ismael

    #84750

    That worked perfectly! Thank you SO much Ismael, I really appreciate your quick response on this one. (That’s been driving me nuts for weeks!)

    #84751

    Hi sourcetech,

    Glad that I could help. :)

    Cheers,

    Ismael

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

The topic ‘Display theme – Homepage portfolio with slider’ is closed to new replies.