-
AuthorSearch Results
-
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
August 25, 2017 at 8:39 pm #81857In reply to: Theme skt-startup-pro
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
August 25, 2017 at 10:04 am #81806In reply to: Calls From Number On Website – Code Installation
Hi,
In footer.php just before </body> tag.
Regards,
ChrisAugust 24, 2017 at 6:35 pm #81768In reply to: Replacing Section 3 "Manager" Picture
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 theHTML,
-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!
cmAugust 23, 2017 at 6:15 pm #81664Topic: Nivo Slider Alt Tags
in forum MedicalHi,
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!
August 23, 2017 at 5:19 am #81577In reply to: SKT-Magazine Pro – Keywords/Tags on Pages
Hi,
Yes, you can use it in functions.php file.
Regards,
BradAugust 22, 2017 at 5:30 pm #81557Topic: SKT-Magazine Pro – Keywords/Tags on Pages
in forum All Other ThemesHello, 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');
August 18, 2017 at 11:17 am #81338In reply to: Webhosting theme target=blank does not work
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.
August 18, 2017 at 10:43 am #81330In reply to: Local Business Theme – Pro
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
Can you please review and respond?
Thanks,
AdhamAugust 18, 2017 at 10:41 am #81329In reply to: Webhosting theme target=blank does not work
Hi,
Kindly replace the code in parent theme’s core-functions.php file.
Regards,
BradAugust 18, 2017 at 10:17 am #81327In reply to: Webhosting theme target=blank does not work
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.August 18, 2017 at 9:45 am #81316In reply to: Webhosting theme target=blank does not work
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,
BradAugust 18, 2017 at 7:43 am #81305In reply to: Webhosting theme target=blank does not work
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.August 18, 2017 at 6:38 am #81295In reply to: Slide Images Loading Wheel
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,
ChrisAugust 17, 2017 at 2:19 pm #81262In reply to: Local Business Theme – Pro
-
AuthorSearch Results
Search Results for 'php'
-
Search Results
-
Topic: Nivo Slider Alt Tags
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');