Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,066 through 1,080 (of 2,005 total)
  • Author
    Search Results
  • #66847
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Joshua,

    Unfortunately you can not show sections on a static page. You can make the href on the button from header.php

    Regards,
    Dave

    #66745
    Miranda GraatMiranda Graat
    Member
    • Topics: 49
    • Replies: 116
    • Total: 165
    Member since: October 3, 2016

    Ooooops, i have changed “\” placeholder=\”Website adres met http://\” /></p><div class=\”clear\”></div> in the Pro: custom-functions.php and now the website is white 🙁

    Help….

    #66663
    LenkaLenka
    Member
    • Topics: 2
    • Replies: 14
    • Total: 16
    Member since: March 13, 2017

    Hi Dave,
    I posted the code in this area:
    <head>
    UA-xxxxxx-x

    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”SKYPE_TOO
    .
    .
    …… </head>
    and it doesnt work in GA. Where I made a mistake?
    Thank you. Lenka

    #66650
    LenkaLenka
    Member
    • Topics: 2
    • Replies: 14
    • Total: 16
    Member since: March 13, 2017

    Where can I find this Custom CSS Box for Team member?

    Where exactly souhld I paste the GA code?
    Is it this section in Appearance – Editor?: SKT Design Agency Pro: Theme Header (header.php)
    Should I paste it anywhere between
    <head>
    and
    </head>

    Sorry Im not a programmer, I would need more precise instructions.
    Is ok to add only the tracking ID, or I need to paste also the script to every page?
    Thanks.
    LEnka

    #66647
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Lenka,

    Add this code in Custom CSS Box for Team member, You can use 540×540 image size.

    .ourclasses_thumb{height:auto !important;;}

    2. Go to header.php and add the tracking ID within <head> tag.

    Regards,
    Dave

    #66641
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Vanessa,

    Kindly go to sktframe/core-nextprev.php line number 20 and 31. remove the text from there.

    Regards,
    Dave

    #66596
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Hasan,

    Kindly go to header.php and search for this code:

    <meta name="viewport" content="width=device-width, initial-scale=1.1"/>

    Replace above code with this code:

    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    Regards,
    Dave

    #66574
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Ross,

    Replace the footer.php with this code:

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the #content div and all content after
    *
    * @package SKT I Am One
    */
    ?>
    
    <div id="footer">
    <div class="footer-inner middle-align">
    <?php if(! dynamic_sidebar('sidebar-2')) { ?>
    <a href="http://www.knight-graphics.co.uk/"><div class="title"><?php if(of_get_option('footertext',true) != ''){ echo of_get_option('footertext',true);}; ?></div></a>
    <?php } ?>
    <p>site by <a href="http://askymoreblue.com/">askymoreblue.com</a></p>
    </div><!– footer-inner –>
    </div><!– footer –>
    </div><!– main-container –>
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    Regards,
    Dave

    #66496
    HansHans
    Participant
    • Topics: 26
    • Replies: 70
    • Total: 96
    Member since: October 12, 2016

    Dave,

    the content of customs-function.php is not waht is shown in the contact form so I doubt that this is the right place.

    http://soundundtechnik.de/kontaktform/

    $cerr = array();
    if( isset($_POST[‘c_submit’]) && $_POST[‘c_submit’]==’Submit’ ){
    $fname = trim( $_POST[‘f_c_name’] );
    $lname = trim( $_POST[‘l_c_name’] );
    $email = trim( $_POST[‘c_email’] );
    $phone = trim( $_POST[‘c_phone’] );
    $comments = trim( $_POST[‘c_comments’] );
    $captcha = trim( $_POST[‘c_captcha’] );
    $captcha_cnf = trim( $_POST[‘c_captcha_confirm’] );

    if( !$fname )
    $cerr[‘fname’] = ‘Please enter your first name.’;
    if( !$lname )
    $cerr[‘lname’] = ‘Please enter your last name.’;
    if( ! filter_var($email, FILTER_VALIDATE_EMAIL) )
    $cerr[’email’] = ‘Please enter a valid email.’;
    if( !$phone )
    $cerr[‘phone’] = ‘Please enter your phone number.’;
    if( !$comments )
    $cerr[‘comments’] = ‘Please enter your question / comments.’;
    if( !$captcha || (md5($captcha) != $captcha_cnf) )
    $cerr[‘captcha’] = ‘Please enter the correct answer’;

    #66495
    HansHans
    Participant
    • Topics: 26
    • Replies: 70
    • Total: 96
    Member since: October 12, 2016

    Sorry Dave but the simple customs css does not change the width either.

    I have tested it with and without the option “important!”

    I even tested it with the unmodified footer.php file. It always remains the same.

    It looks like it will be overruled with other stylesheet data.

    Any suggestion?

    Hans

    #66493
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Crystal,

    Go to header.php line number 95.

    Replace this code:
    <img src="<?php echo esc_url($sv['image_src']); ?>" alt="<?php echo esc_attr($sv['image_title']);?>" title="<?php echo '#slidecaption'.$n ; ?>"/>

    With this code:

    <?php if( of_get_option('slideurl'.$n, true) != '' ){ ?> <a href="<?php echo of_get_option('slideurl'.$n, true); ?>"></a><?php } ?>
      <img src="<?php echo esc_url($sv['image_src']); ?>" alt="<?php echo esc_attr($sv['image_title']);?>" />
    <?php if( of_get_option('slideurl'.$n, true) != '' ){ ?></a><?php } ?>

    Regards,
    Dave

    #66487
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Hans,

    Kindly go to inc/custom-functions.php and change the content of the form fields from there.

    Regards,
    Dave

    #66486
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Hans,

    Kindly go to inc/custom-functions.php and change the content of the form fields from there.

    Regards,
    Dave

    #66484
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Ross,

    Here is the code of footer.php

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the #content div and all content after
    *
    * @package SKT I Am One
    */
    ?>
    
    <div id="footer">
    <div class="footer-inner middle-align">
    <?php if(! dynamic_sidebar('sidebar-2')) { ?>
    <div class="title"><?php if(of_get_option('footertext',true) != ''){ echo of_get_option('footertext',true);}; ?></div>
    <?php } ?>
    <p>site by <a href="http://askymoreblue.com/">askymoreblue.com</a></p>
    </div><!– footer-inner –>
    </div><!– footer –>
    </div><!– main-container –>
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    Regards,
    Dave

    #66475
    RossRoss
    Member
    • Topics: 5
    • Replies: 12
    • Total: 17
    Member since: January 18, 2017

    Just tried that Dave, got a 404. My fault, I’m sure!

    http://www.knight-graphics.co.uk

    The ‘Knight Graphics’ footer link pitches you back to the top, which is great. Can you tell me what I need to do with this lot please, to make the Copyright text link to askymoreblue.com ?

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the #content div and all content after
    *
    * @package SKT I Am One
    */
    ?>

    <div id=”footer”>
    <div class=”footer-inner middle-align”>
    <?php if(! dynamic_sidebar(‘sidebar-2’)) { ?>
    <div class=”title”><?php if(of_get_option(‘footertext’,true) != ”){ echo of_get_option(‘footertext’,true);}; ?></div>
    <?php } ?>
    <p><?php if(of_get_option(‘copytext’,true) != ”){echo of_get_option(‘copytext’,true);}; ?></p>
    </div><!– footer-inner –>
    </div><!– footer –>
    </div><!– main-container –>

    <?php wp_footer(); ?>

    </body>
    </html>

Viewing 15 results - 1,066 through 1,080 (of 2,005 total)