Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 901 through 915 (of 2,001 total)
  • Author
    Search Results
  • #81985

    In reply to: Marvin

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

    Hi Dave,

    Sorry to bug you again 🙁 🙁

    I was trying to change the words in the contactform of the custom functions php and the site went blanc. Ik had to upload the whole theme again. Everyting is quite allright, but the last changes you made in the menu settings are gone.

    When I click on the Over mij button it nicely goes to the Over mij section.
    When I click on the Mijn diensten button, it nicely goes to the Mijn diensten section but the button Over mij stays purple and not the Mijn diensten button.
    Same goes for De tarieven. It goes to the right section, but the Over mij button goes purple. And with Contact also the same story. So something is not right yet ?

    When I go from Contact to Over mij there is nothing purple. All the buttons stay the light color so the visitor cannot see anymore where they are.

    Could you please make them one more time for me? It was just before I had made the back-up readdy. Otherwise I could have placed the backup back.

    Sorry…………………..
    Ik can send you the login again if you want………..

    Miranda

    #81857

    In reply to: Theme skt-startup-pro

    witmarwitmar
    Member
    • Topics: 2
    • Replies: 2
    • Total: 4
    Member since: August 22, 2017

    Hi,

    I have found the configuration in the file, skt-startup-pro \ inc \ custom-functions.php

    form .= "<form name=\"contactform\" action=\"#contactform_main\" method=\"post\">
    			<p><input type=\"text\" name=\"c_name\" value=\"". ( ( empty($name) == false ) ? $name : "" ) ."\" placeholder=\"Name\" /></p>
    			<p><input type=\"email\" name=\"c_email\" value=\"". ( ( empty($email) == false ) ? $email : "" ) ."\" placeholder=\"Email\" /></p><div class=\"clear\"></div>
    			<p><input type=\"tel\" name=\"c_phone\" value=\"". ( ( empty($phone) == false ) ? $phone : "" ) ."\" placeholder=\"Phone\" /></p>
    			<p><textarea name=\"c_comments\" placeholder=\"Message\">". ( ( empty($comments) == false ) ? $comments : "" ) ."</textarea></p><div class=\"clear\"></div>";
    	$cform .= "<p><span class=\"capcode\">$sumStr</span><input class=\"capinput\" type=\"text\" placeholder=\"Captcha\" value=\"". ( ( empty($captcha) == false ) ? $captcha : "" ) ."\" name=\"c_captcha\" /><input type=\"hidden\" name=\"c_captcha_confirm\" value=\"". md5($capSum)."\"></p><div class=\"clear\"></div>";
    	$cform .= "<p class=\"sub\"><input type=\"submit\" name=\"c_submit\" value=\"Envoi\" class=\"search-submit\" /></p>
    		</form>
    	</div>"

    Ps: It’s just a pity you can not easily change in wordpress

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

    Hi,

    In footer.php just before </body> tag.

    Regards,
    Chris

    #81768
    Claus MikschClaus Miksch
    Member
    • Topics: 2
    • Replies: 2
    • Total: 4
    Member since: July 22, 2017

    Sadly, my knowledge of PHP is the only thing unstable here. I’m sorry for having troubled you with this so quickly. Once I saw the HTML, -problem resolved.
    I love the SKT Black Pro theme and I’ll keep working with it.
    I’ll be back with something sooner or later I’m sure. Until then, thank you for being there. You’re all great!
    cm

    #81664

    Topic: Nivo Slider Alt Tags

    in forum Medical
    LibertyLiberty
    Participant
    Member since: January 22, 2016

    Hi,

    I’m working on a site that uses the Medical Pro theme. I noticed that the Nivo Slider is not outputting the image alt tags. The code I found in the header.php file shows:

    $slideno = array();
    if( $slAr > 0 ){
    $n = 0;?>
    <div id=”slider” class=”nivoSlider”>
    <?php
    foreach( $slAr as $sv ){
    $n++; ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php echo ‘#slidecaption’.$n ; ?>”/><?php
    $slideno[] = $n;
    }
    ?>
    </div>

    When I use firebug to look at the markup it doesn’t show anything for the alt tag (alt=””) and the title shows “slidecaption1”.

    I went to your medical-pro demo site and looked at the source code. It was the same. I really want to be able to output the alt and title tags for SEO purposes. Is there a fix for this? Thanks!

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

    Hi,

    Yes, you can use it in functions.php file.

    Regards,
    Brad

    #81557
    Sascha HettelSascha Hettel
    Member
    Member since: June 8, 2017

    Hello, i have buy the SKT-Magazine Pro and one Question. How i can use Keywords/Tags on a static Page? With a Plugin or with a code in functions.php?

    I have found this Code in an other Forum. Can i use this Code in function.php?

    
    // add tag support to pages
    function tags_support_all() {
    	register_taxonomy_for_object_type('post_tag', 'page');
    }
    
    // ensure all tags are included in queries
    function tags_support_query($wp_query) {
    	if ($wp_query->get('tag')) $wp_query->set('post_type', 'any');
    }
    
    // tag hooks
    add_action('init', 'tags_support_all');
    add_action('pre_get_posts', 'tags_support_query');
    
    #81338
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    Thank you very much, it worked!!!

    Hope you are not bored with me but can I do this also with one of the slider links? I want to link one of the sliderbuttons to an external link. Is there a php adjustment I can make? And what is the code and in which php file? Thank you in advance.

    #81330
    a.sabrya.sabry
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: August 14, 2017

    Hello Brad,

    I haven’t received any answer to any of what I have requested above. can you please clarify?

    Request one:

    I’m using the woocommerce, after setting the featured image for the “Shop” page, it does not show this featured image when loading the page.

    However changing the featured page for any other page, except those pages that are exclusively by the plugin, it does not take effect.

    Request 2:

    I have used a plugin to make the top navigation menu sticky to top, is it possible that when navigating down, I want the navigation menu to get smaller or shrink in size

    I double checked the theme options, and it does not provide the flexibility of what I requested

    Request #3:

    I want to adjust/edit this form, and make it in step view >> similar to this link but reserving your design
    options

    Can you please review and respond?

    Thanks,
    Adham

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

    Hi,

    Kindly replace the code in parent theme’s core-functions.php file.

    Regards,
    Brad

    #81327
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    Ok, thank you very much. One question I have left. Am I losing this adjustments when updating the theme? I am using a child theme. Can I copy the core-functions.php file safely to the childtheme? Or do I break the theme by doing that? The functions.php file cannot be copied to the child without breaking the theme so perhaps this is also the case with the core-functions.php?. And if so can I make a new core-functions.php file with this code in it and add it to my childtheme? And if I have to make a new core-functions.php file in my child, which code I have to copy from the parent file to make it function?
    A lot of questions but I don’t want to lose the adjustments or break the theme. Thank you.

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

    Hi,

    Okay fine.

    Kindly edit web-hosting/sktframe/core-functions.php file, go to line number 725 and replace code from line number 726 to 748 with below code:

    function servicebox($atts, $content = null){
        extract( shortcode_atts(array(
          'pattern' => 'pattern',
          'icon'  => 'icon',
          'title'  => 'title',
          'go'  => 'go',
          'url' => 'url',
          'target' => '',
        ), $atts));
        
        return '
           <a href="'.$url.'" target="'.$target.'"><div class="servicebox '.$pattern.'">
             <div class="serviceboxbg">
              <img src="'.$icon.'">
              <h3>'.$title.'</h3>
              <p>'.$content.'</p>
              <div class="sktgo"><i class="fa '.$go.'" aria-hidden="true"></i></div>
            </div>
           </div></a>  
        ';
    }
    add_shortcode('service','servicebox');

    Regards,
    Brad

    #81305
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    That is very kind of you and sorry for my reaction but I really want to know how to do that myself. That way I can learn from it for the next time. I use your themes for my customers and the more I know how things can be done the less I have to ask for help here.
    Is there a way you can let me know how to fix it myself? Do I have to add something in a php file and if yes what file and what do I add and where?
    I hope you can give me instructions to fix this issue myself.

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

    Hi,

    Kindly use compressjpeg.com or tinypng.com to reduce sizes and compress all your images and reupload them.

    Lastly kindly use WP Fastest Cache plugin and ask hosting to have Zend Op Cache and PHP Server cache applied to your site or if they have NGINX available get them to use that.

    With all the above steps i am sure your site will be faster. Theme is just part of the entire WordPress website ecosystem and our themes are coded to be faster.

    Rest are all generic points i mentioned here.

    Regards,
    Chris

    #81262
    a.sabrya.sabry
    Participant
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: August 14, 2017

    Thanks can you please see my previous requests.

    I want to adjust/edit this form, and make it in step view >> similar to this link but reserving your design

    Quick Contact

Viewing 15 results - 901 through 915 (of 2,001 total)