-
AuthorSearch Results
-
January 7, 2015 at 9:11 pm #3298
In reply to: Limit the width of the theme?
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 –>
January 6, 2015 at 1:53 pm #3279In reply to: Footer Widgets
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/
January 6, 2015 at 1:12 pm #3277In reply to: Footer Widgets
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,
ShriHi,
In header.php you have
Codes in betweenand then
Some codes in betweenSo 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,
ShriDecember 24, 2014 at 6:36 am #3035In reply to: BK Black Pro
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.December 23, 2014 at 6:38 am #3019In reply to: BK Black Pro
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 0December 16, 2014 at 6:20 am #2921In reply to: Menu Collapsed Menu by Default
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,
ShriDecember 12, 2014 at 6:27 am #2874In reply to: I don't receive emails from contact form
Hi Michele,
Its within custom-functions.php
Path to the file: wp-content/themes/iamonpro/inc/custom-functions.phpRegards,
ShriDecember 8, 2014 at 8:54 am #2783In reply to: Full Widht on mobile devices
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).
December 4, 2014 at 10:27 am #2724In reply to: Add additional email address to footer
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,
ShriNovember 24, 2014 at 10:12 am #2580In reply to: Full Widht on mobile devices
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,
ShriNovember 13, 2014 at 10:41 pm #2484In reply to: Theme installation and upload problems
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.
November 4, 2014 at 5:33 am #2368Topic: Moving Site To New Domain
in forum Pathway ForumAre 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
November 3, 2014 at 5:39 am #2355In reply to: How to create a Homepage Slider
Hi,
If you can’t find it in functions.php check wp-content/themes/skt-full-width-pro/inc/custom-functions.php
Regards,
ShriNovember 3, 2014 at 5:39 am #2354In reply to: How to create a Homepage Slider
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 -
AuthorSearch Results
Search Results for 'php'
-
Search Results
-
Topic: Moving Site To New Domain
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