Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,951 through 1,965 (of 2,001 total)
  • Author
    Search Results
  • #3298
    Daniel HillDaniel Hill
    Member
    • Topics: 3
    • Replies: 7
    • Total: 10
    Member since: July 21, 2014

    Hi Shri,

     

    I have been looking at the header.php and am trying to find the code that needs to be changed to adjust the width of the page, would you be able to show me the lines that i need to change?

    Thanks

    Dani

    <?php

    /**

    * The Header for our theme.

    *

    * Displays all of the <head> section and everything up till <div id=”content”>

    *

    * @package SKT Full Width

    */

    ?><!DOCTYPE html>

    <html <?php language_attributes(); ?>>

    <head>

    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>

    <meta name=”viewport” content=”width=device-width, initial-scale=1″>

    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>

    <link rel=”profile” href=”http://gmpg.org/xfn/11″>

    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>

    <link rel=”icon” type=”image/x-icon” href=”<?php echo esc_url( of_get_option(‘favicon’, true) ); ?>” />

    <?php

    $slAr = array();

    for ($i=1;$i<16;$i++) {

    if ( of_get_option(‘slide’.$i, true) != “” ) {

    $imgUrl = of_get_option(‘slide’.$i, true);

    if ( strlen($imgUrl) > 3 ) $slAr[] = of_get_option(‘slide’.$i, true);

    }

    }

    ?>

    <?php wp_head(); ?>

    <link rel=”stylesheet” type=”text/css” href=”<?php echo get_template_directory_uri();?>/css/style_base.css”>

    </head>

     

    <body <?php body_class(); ?>>

    <?php

    $front_page = get_option(‘page_on_front’);

    $post_page = get_option(‘page_for_posts’);

    ?>

    <div id=”page” class=”hfeed site”>

    <?php do_action( ‘before’ ); ?>

     

    <?php if( (is_front_page() || is_home() ) && ($front_page == 0 && $post_page == 0) ){ ?>

    <?php if( count($slAr) > 0 ){ ?>

    <div class=”slider-parent”>

    <div class=”slider-wrapper theme-default container <?php if( is_front_page() || is_home()  ){ echo ‘home_front_wrap_main’; } ?>”>

    <!–Thumbnail Navigation–>

    <div id=”prevthumb”></div>

    <div id=”nextthumb”></div>

    <div id=”thumb-tray” class=”load-item”>

    <div id=”thumb-back”></div>

    <div id=”thumb-forward”></div>

    </div>

    <div id=”progress-back” class=”load-item”>

    <div id=”progress-bar”></div>

    </div><!–Time Bar–>

    <div id=”slidecaption”></div><!–Slide captions displayed here–>

    <div id=”controls-wrapper” class=”load-item”>

    <div id=”controls”>

    <a id=”play-button”><img id=”pauseplay” src=”<?php echo get_template_directory_uri();?>/images/img/pause.png”/></a>

    <!–Arrow Navigation–>

    <a id=”prevslide” class=”load-item”></a>

    <a id=”nextslide” class=”load-item”></a>

    <div id=”slidecounter”>

    <span class=”slidenumber”></span> / <span class=”totalslides”></span>

    </div><!–Slide counter–>

    </div>

    </div><!–Control Bar–>

     

    </div><!–.container–>

    </div><!–.slider-parent–>

    <?php } //if( count($slAr) > 0 ){ ?>

    <?php } ?>

     

    <div id=”wrapper”>

    <div id=”secondary” class=”widget-area <?php if( is_front_page() || is_home()  ){ echo ‘home_front_wrap’; } ?>” role=”complementary”>

    <div class=”header”>

    <div class=”logo”>

    <h1 class=”site-title”><a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” rel=”home”>

    <?php if( of_get_option(‘logo’, true) != ” ) { ?>

    <img src=”<?php echo esc_url( of_get_option(‘logo’, true) ); ?>” />

    <?php } else { ?>

    <?php bloginfo( ‘name’ ); ?>

    <?php } ?>

    </a></h1>

    <p class=”site-description”><?php bloginfo( ‘description’ ); ?></p><br />

    </div>

    <div class=”show_hide_header”>

    <div id=”site-nav”>

    <h1 class=”menu-toggle”></h1>

    <div class=”screen-reader-text skip-link”><a href=”#content”><?php _e( ‘Skip to content’, ‘skt-full-width’ ); ?></a></div>

    <?php wp_nav_menu( array(‘theme_location’ => ‘primary’, ‘container’ => ”, ‘menu_class’ => ‘nav’) ); ?>

    </div><!– site-nav –>

    <?php if ( is_active_sidebar( ‘sidebar-2’ ) ) : ?>

    <?php dynamic_sidebar( ‘sidebar-2’ ); ?>

    <?php endif; ?>

    </div>

    <div class=”header-bottom”>

    <div id=”header-bottom-shape”>

    </div><!– header-bottom-shape2 –>

    </div><!– header-bottom –>

    <div class=”clear”></div>

    </div><!– header –>

    </div><!– secondary –>

     

    #3279

    In reply to: Footer Widgets

    Thomas EhrhardtThomas Ehrhardt
    Member
    • Topics: 1
    • Replies: 3
    • Total: 4
    Member since: January 6, 2015

    I have changed footer.php and functions.php to have 4 configurable sidebars at bottom….

    Are you interested in getting these 2 files?

    Demo: http://www.skymera.de/

    #3277

    In reply to: Footer Widgets

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Sorry for your trouble. The 4th div is of contact us section manageable using Theme Options.

    To remove this and use anything else you can check footer.php and remove the code there and place anything (widget, plugin shortcode etc there).

    If you need help from us to remove that and apply anything else let us know.

    Regards,
    Shri

    #3272

    In reply to: Slider

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    In header.php you have

    Codes in between

    and then

    Some codes in between

    So you have to pick up header div and move it on top of the slider div. You might want to take a backup of the header and then edit it using edit plus or dreamweaver to make sure nothing is broken.

    Regards,
    Shri

    #3035

    In reply to: BK Black Pro

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Okay do this as well: SKT Black Theme: Remove slider
    find header.php file in your theme directory >> …/wp-content/themes/skt-black-pro
    open header.php file and delete line no. 28 to 44.

    #3019

    In reply to: BK Black Pro

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    SKT Black Pro : Slideshow on/off
    find function.php file on your theme directory >> …/wp-content/themes/skt-black-pro
    open function.php file and go to line no. 156
    slideshow : 1 change this to 0

    #2921
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    hide navigation default in full width pro:
    find custom-functions.php file in inc folder of your theme directory
    Path: /wp-content/themes/skt_full_width_pro/inc
    open custom-functions.php and add this code after line no. 29
    jQuery(‘.show_hide_header’).css(‘display’,’none’);

    That’s it.

    Regards,
    Shri

    #2874
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi Michele,

    Its within custom-functions.php
    Path to the file: wp-content/themes/iamonpro/inc/custom-functions.php

    Regards,
    Shri

    #2783
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Create new file header-home.php and load it with index.php instead of the normal header.php

    In this new header-home.php remove viewport meta tag code line.

    Hope this is fine with you as i am telling you coding changes. If its not easy for you send us access via email: support@sktthemes.com (ftp and WordPress admin login details).

    #2724
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi Heather,

    Instead of copying within settings try to go into footer.php and then under the code of the contact details mention the new email (it won’t strip codes there).

    Also similarly for the copyright section.

    Regards,
    Shri

    #2580
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Actually there is a lot of places where you will have to. Alternatively simplest thing would be to have the not load up in header1.php which you can load in homepage and the rest of the pages can continue to use the header.php which loads up this code.

    This way your homepage will be full width and inner pages will be responsive.

    Hope this sounds fine to you.

    Regards,
    Shri

    #2484
    Peter XanthakosPeter Xanthakos
    Member
    • Topics: 0
    • Replies: 1
    • Total: 1
    Member since: November 13, 2014

    Hi – I’m trying to upload the fullwidth pro theme (from the download I was sent) and I keep receiving the following error: The uploaded file exceeds the upload_max_filesize directive in php.ini.

     

    #2368
    Ryan McMannRyan McMann
    Member
    Member since: October 27, 2014

    Are there any known issues with moving a completed site using the Pathway theme? I have followed the steps I have used before but all I am getting is errors. Is the theme set up so that once it is used on a domain it can’t be moved?

    Here is the error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/atctransport/public_html/wp-content/themes/skt_pathway_pro/inc/custom-functions.php:1481) in /home/atctransport/public_html/wp-includes/pluggable.php on line 1173

    #2355
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    If you can’t find it in functions.php check wp-content/themes/skt-full-width-pro/inc/custom-functions.php

    Regards,
    Shri

    #2354
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Read more is appearing from functions.php wp-content/themes/yourthemename/functions.php

    In case still you can’t find it there let us know we can do this if you send us ftp details of your site via email: support@sktthemes.com

    Regards,
    Shri

Viewing 15 results - 1,951 through 1,965 (of 2,001 total)