Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 811 through 825 (of 2,005 total)
  • Author
    Search Results
  • #90702
    Nikolaos PahnogluNikolaos Pahnoglu
    Participant
    Member since: April 29, 2017

    Hello everybody and Happy new year!

    I have this problem. I’m trying to connect my site with YouTube Monetization program and i have to copy-paste a html code to the site. When i try to paste the code to header.php i got this message:

    ”Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”

    Site is http://www.klubharmonija.com

    This happens only to my SKT Clean Pro theme. Is it possible to solve this problem?
    Thank you in advanced!

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

    Hi,

    In sktframe/core-functions.php.

    Remove:
    <script>CountDownTimer("'.$year.''.$month.''.$date.'", "countdown'.$count.'");</script>

    And this new code there:
    <script>CountDownTimer("'.$year.'/'.$month.'/'.$date.'", "countdown'.$count.'");</script>

    Regards,
    Chris

    #90635

    In reply to: translations

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

    Hi,

    For Previous post, Next post.

    Kindly go to sktframe/core-nextprev.php find text “Previous post”, “Next post” and change it there in your language.

    For Comment

    Kindly go to templates/rightsidebar_single_template.php find text “Comment” and change it there in your language.

    For search text

    Kindly go to lib/functions/core.php find text “search” and change it there in your language.

    Regards,
    Brad

    #90536

    In reply to: Countdown not working

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

    Hi,

    Kindly go to sktframe/core-functions.php

    Find this code:
    <script>CountDownTimer("'.$year.''.$month.''.$date.'", "countdown'.$count.'");</script>

    And replace:
    <script>CountDownTimer("'.$year.'/'.$month.'/'.$date.'", "countdown'.$count.'");</script>

    Regards,
    Dave

    #90163
    manishmo2007manishmo2007
    Participant
    • Topics: 2
    • Replies: 14
    • Total: 16
    Member since: August 4, 2017

    Images here:

    https://photos.app.goo.gl/EVphPSP5dVl5hct93

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

    Hi,

    Kindly edit skt-local-business-pro/header.php file and paste below code just before </head> tag.

    <script>
    jQuery(document).ready(function() {
      jQuery('img').each(function(){
        var $img = jQuery(this);
        var filename = $img.attr('src')
        $img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
      });
    });
    </script>

    Regards,
    Chris

    #90125
    thindplsthindpls
    Participant
    • Topics: 4
    • Replies: 6
    • Total: 10
    Member since: November 9, 2017

    Thank you for your assistance. I entered the script in the header.php just before </head> tag but see no results.

    You stated “edit architect-pro/header.php file”
    Not sure what “architect-pro” refres to.

    #90093

    In reply to: Use Any Font Plugin

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

    Hi Derek,

    Getting below error:

    Forbidden

    You don’t have permission to access /wp-login.php on this server.

    Regards,
    Brad

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

    Hi,

    Kindly edit architect-pro/header.php file and paste below code just before </head> tag.

    <script>
    jQuery(document).ready(function() {
      jQuery('img').each(function(){
        var $img = jQuery(this);
        var filename = $img.attr('src')
        $img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
      });
    });
    </script>

    Regards,
    Chris

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

    Hi,

    Added below code in child theme’s functions.php file:

    //Resize post thumbnail.
    set_post_thumbnail_size( 680, 480, true );

    You can change the size from here.

    Regards,
    Brad

    #89770
    Vivenne DurhamVivenne Durham
    Blocked
    Member since: December 7, 2017

    I am going to need help with setting up the website! (SHUDH Pro Theme)

    I know nothing about website design, the terminology to do it myself and I am not able to follow the others on the forum for that reason.

    I was under the impression that the page builders in WordPress would be somewhat simple, however now I’ve found they are not–for the layperson.

    I requested a Refund/Credit of what I paid for the theme but you were able to set it up on my domain after removing some installed items. I have no choice but to have it built for me! I do not know HTML or any coding ie CSS and I’m sorry I didn’t know that would be involved.

    I’m behind now in getting set up and haven’t been able to customize the site correctly so I have to have it done by SKT Themes. I have all of the content, and where it should go–also how I want the website heading to look I just can’t customize it myself!

    Tell me what to do from here!

    Vivienne Durham
    [email protected]

    #89749
    LauraLaura
    Participant
    Member since: July 21, 2016

    Hello, we are using SKT Design Agency Pro theme and the WP toggle dashboard in live preview doesn’t show.
    Tried child theme same thing. Tried deactivating all plug ins, still doesn’t work. Tried activating non-pro theme, the toggle bar is there. The theme must be missing code, but I don’t want to mess with Header.php in adult theme.
    We would appreciate feedback,
    Thank you for your support.

    #89744
    gecogeco
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: November 30, 2017

    just to confirm, can I know if your theme supports custom post type?

    eg. https://wordpress.stackexchange.com/questions/232391/unable-to-show-custom-post-type-featured-image (maybe your theme developer does have a quick fix to this)

    also, we already reported the PHP error you mentioned in the thread description.

    #89575
    Stephen DanceyStephen Dancey
    Member
    • Topics: 8
    • Replies: 18
    • Total: 26
    Member since: December 23, 2016

    I think I found where I can edit it in sktframe > core-functions.php

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

    Hi,

    Kindly go to header.php >> and add javascript code there.

    Regards,
    Brad

Viewing 15 results - 811 through 825 (of 2,005 total)