-
AuthorSearch Results
-
January 23, 2015 at 9:50 am #3543
In reply to: Our Courses name change
Check the following file via FTP:
wp-content/themes/gymmaster/inc/custom-functions.php
Check line 720
This is the exact line:$return_string .= ‘
Our Courses
Change Our Courses to Our Services in this case.
Regards,
ShriJanuary 21, 2015 at 9:48 am #3503In reply to: Our Courses name change
Hi,
Sorry for this. This is appearing from custom-functions.php in inc folder of the theme.
I know it is difficult for you to change it since it appears via functions file inside theme folder.
If you want us to do it send us only FTP details via email: [email protected]
We will do this for you.
In case you are comfortable doing it yourself we will send exact instructions on how to do this.
let us know.
Regards,
ShriJanuary 19, 2015 at 8:23 am #3468Hi Rod,
I don’t think i put forth my points correctly. Yes what you are saying with regards to people is correct and yes some people may get cut on cell phone.
So do this in functions.php you can change fit_always = 0 change this to 1.
And fit_portrait=1 change this to 0.
Then images would fit always in the screen but would show black or the default background.
Regards,
ShriJanuary 14, 2015 at 1:51 pm #3389In reply to: Slider image order rendomize
Hi Norbert,
Yes check functions.php and search stop_loop
Below it has random. Change 0 to 1 and it will randomize the slider.
Regards,
ShriJanuary 13, 2015 at 1:45 pm #3375Okay, I tried that and got this error:
Parse error: syntax error, unexpected ‘{‘ in /home/twisted/www/www/wp-content/themes/skt-photo-world-pro/functions.php on line 320
I reloaded functions.php from my local ‘clean’ copy and the error went away.
Here is code from line 320 to 322:
<?php
if ( (of_get_option('innerpageslider', true) != 'hide') || is_home() || is_front_page() ) {
for ($i=1;$i<16;$i++) {
Am I misplacing the new code? Should the
<?php
stay?Thanks.
January 13, 2015 at 10:44 am #3368In reply to: Display post author instead of comments count
Hi Norbert,
For sure you can. Just a very small part of code is involved. Check from Appearance>Editor>content-single.php and content.php
Line number 12 or 13 where its written:
comments_number
Change it to the_author
Do not touch any PHP tags. Let them be as it is.
Regards,
ShriJanuary 13, 2015 at 10:39 am #3367Hi,
Check functions.php line number 320 to 322.
Replace with the following code and save: if( $imgUrl != ” ){
echo ‘{image : \”.$imgUrl.’\’, title : \”.( ($imgTitle!=”) ? ‘<div class=”slide-title”><span>’ : ” ).( ($imgHref!=” && $imgTitle!=”) ? ‘<a href=”‘.$imgHref.'” target=”_blank”>’ : ”).$imgTitle.( ($imgHref!=” && $imgTitle!=”) ? ‘</a>’ : ”).( ($imgTitle!=”) ? ‘</span></div>’ : ” ).( ($imgDesc!=”) ? ‘<div class=”slide-description”><span>’.esc_html($imgDesc).'</span></div>’ : ” ).( ($imgHref != ”) ? ‘<div class=”slide-description”><span><a href=”‘.$imgHref.'” target=”_blank”>Read More ›</a></span></div>’ : ”).’\’, thumb : \”.$imgUrl.’\’, url : \’\’}’.( ($i==15) ? “” : “,”).”\n”;
}
January 7, 2015 at 9:11 pm #3298In 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,
Shri -
AuthorSearch Results