Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 916 through 930 (of 2,020 total)
  • Author
    Search Results
  • #82289

    In reply to: SKT Launch Pro Slider

    JenniferJennifer
    Participant
    • Topics: 9
    • Replies: 8
    • Total: 17
    Member since: January 23, 2017

    Is anyone here? Because I need to do this ASAP. Just show me the file and the lines responsible for showing the slider and I know how to do the rest. I know it’s something like index.php or smth.

    #82108

    In reply to: Contact form Marvin

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

    Hi Dave,

    When I try test the contactform I get the following line:

    Notice: Undefined index: c_naam in /home/lindarw/domains/lindasregelwerk.nl/public_html/wp-content/themes/skt-marvin/inc/custom-functions.php on line 429

    Form does not send.

    Verzenden is fixed. Thank you!

    Regards,
    Miranda

    #81992
    palomapaloma
    Participant
    Member since: August 9, 2016

    Hi, I built a website using your skt-music-pro theme as a subdomain wgile doing it. Then I moved it to the real domain and followed all the necessary guidelines to change the domain name and permalinks. However, all the permalinks attached to the theme options or theme customizer…in other words, image links, etc are not updating. Even the page links won’t update when I change permalinks setup in settings. I keep refreshing, I have even followed the steps to do it in PHPMyAdmin.

    I try to change the permakinks back to their postname and I get a server error message that says
    “Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”

    I own the server, I own the domains, I am the IT/webmaster. so, now, I turn to you. I have never had these issues with any other wordpress sites on my server. This is definitely a theme issue. Especially since the pages work when I leave them as their pageID format. Even though I named them originally.

    http://pattersonbluesandbbq.org/?page_id=2

    Same thing with images that are through your theme’s photogallery. the permalinks won’t update to point to the new website/wp-content/uploads… it keeps pointing to the old one which I deleted.

    Example… I had to manually fix the header image, page banner, and started on my sponsors album but I shouldn’t have to manually do this for each. so this is the correct link structure:
    http://pattersonbluesandbbq.org/wp-content/uploads/2017/08/SIXD-LOGO-NEW-SQ-01-e1503166230620.png

    The wrong links point to:
    Photgallery image: http://pattersonbluesandbbq.org/wp-content/uploads/2017/08/roosevelt-e1503166119486.png (gets internal server error) permalink says it’s http://pattersonbluesandbbq.org/?photogallery=roosevelt-veterinary-center
    widget links not updating:
    [su_slider source=”taxonomy: gallerycategory/6″ link=”http://bluesnbbq.palomadomenico.com/bluesnbbq/sponsors/” width=”300″ height=”150″ responsive=”yes” title=”no” centered=”yes” pages=”no”] again, it’s from the photogallery album
    shortcode button links didn’t update on theme option home sections:
    [su_button]http://bluesnbbq.palomadomenico.com/bluesnbbq/sponsors/
    [su_button]http://bluesnbbq.palomadomenico.com/bluesnbbq/music/

    This event is happening in less than a month. I need this resolved ASAP

    #81986
    Miranda GraatMiranda Graat
    Member
    Member since: October 3, 2016

    Which words in de css custom functions.php do I need to change to set the contactform words in Dutch? I have tried some words but they don’t show in the form.

    function contactform_func( $atts ) {
    $atts = shortcode_atts( array(
    ‘to_email’ => get_bloginfo(‘admin_email’),
    ‘title’ => ‘Contact enquiry – ‘.home_url( ‘/’ ),
    ), $atts );

    $cform = “<div class=\”main-form-area\” id=\”contactform_main\”>”;

    $cerr = array();
    if( isset($_POST[‘c_submit’]) && $_POST[‘c_submit’]==’Submit’ ){
    $name = trim( $_POST[‘c_naam’] );
    $email = trim( $_POST[‘c_email’] );
    $phone = trim( $_POST[‘c_phone’] );
    $website = trim( $_POST[‘c_website’] );
    $comments = trim( $_POST[‘c_comments’] );
    $captcha = trim( $_POST[‘c_captcha’] );
    $captcha_cnf = trim( $_POST[‘c_captcha_confirm’] );

    if( !$name )
    $cerr[‘name’] = ‘Please enter your 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 message.’;
    if( !$captcha || (md5($captcha) != $captcha_cnf) )
    $cerr[‘captcha’] = ‘Please enter the correct answer.’;

    if( count($cerr) == 0 ){
    $subject = $atts[‘title’];
    $headers = “From: “.$name.” <” . strip_tags($email) . “>\r\n”;
    $headers .= “MIME-Version: 1.0\r\n”;
    $headers .= “Content-type: text/html; charset=iso-8859-1\r\n”;

    $message = ‘<html><body>
    <table>
    <tr><td>Naam: </td><td>’.$name.'</td></tr>
    <tr><td>Email: </td><td>’.$email.'</td></tr>
    <tr><td>Telefoon: </td><td>’.$phone.'</td></tr>
    <tr><td>Website: </td><td>’.$website.'</td></tr>
    <tr><td>Bericht: </td><td>’.$comments.'</td></tr>
    </table>
    </body>
    </html>’;
    mail( $atts[‘to_email’], $subject, $message, $headers);
    $cform .= ‘<div class=”success_msg”>Dank u voor uw bericht. Het is verzonden.</div>’;
    unset( $name, $email, $phone, $website, $comments, $captcha );
    }else{
    $cform .= ‘<div class=”error_msg”>’;
    $cform .= implode(‘<br />’,$cerr);
    $cform .= ‘</div>’;
    }
    }

    Regards,
    Miranda

    #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: 31426
    • Total: 31426
    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: 31426
    • Total: 31426
    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: 31426
    • Total: 31426
    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.

Viewing 15 results - 916 through 930 (of 2,020 total)