Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 931 through 945 (of 2,020 total)
  • Author
    Search Results
  • #81316
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31427
    • Total: 31427
    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: 31427
    • Total: 31427
    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

    #81034

    In reply to: Problem with Opcache

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6996
    • Total: 7006
    Member since: June 12, 2013

    Hi Vanessa,

    Themes never have incompatibility with OpCache. It is applied via hosting and not via theme. So a theme can never be in compatible with something at server level. Tomorrow if you apply PHP 7.1 or NGINX or Litespeed server they are to be checked at server level.

    Regards,
    Shri

    #81021
    GrahamGraham
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: October 21, 2016

    Hi Dave

    Login details sent yesterday.

    Guessed it needed new code as I had limited success editing .php files over the weekend.

    Please advise when completed.

    Thanks to all again.

    Graham

    #81013
    DonaldDonald
    Member
    Member since: November 13, 2016
    #80984
    LenkaLenka
    Member
    • Topics: 2
    • Replies: 14
    • Total: 16
    Member since: March 13, 2017

    Hi, I am sorry, but you didn’t answer my question. I have already checked the documentation link and the instruction about the possibilities to change the fonts. But – as I wrote already – I didnt find how to change the 2 mentioned fonts in the section Theme options-Basic settings,where other fonts are.
    I would like to change 2 fonts – 1/ the title in the section Services box /first line under the photo on homepage/ , 2/ font of the text in the section Testimonials.

    Second issue – where exactly can I change text “Read More” on the Read More Button in Latest posts section?…I tried to find it as you wrote in inc/custom-functions.php …. but I cant see the numbers of the lines…so didn’t find it.

    Could you please help me?
    Thank you.
    Lenka Skacel

    #80897
    DonaldDonald
    Member
    Member since: November 13, 2016

    What size should the Specialties box be
    can the space shorten between sliders and out specialties
    How to have the nav closer to the top

    http://donaldh.sg-host.com/wp-login.php

    #80794

    In reply to: SKT SEO – Page Speed

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6996
    • Total: 7006
    Member since: June 12, 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,
    Shri

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

    Hi,

    Kindly go to >> sidebar.php and find and change Appointment Form to what u need.

    And change your email id as well.

    Regards,
    Dave

    #80745
    GrahamGraham
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: October 21, 2016

    Some thoughts after some digging around ….

    I have full access to ‘Home Sections’ 1 – 4, Blog – Testimonials – Contact Us and Flip pages respectfully which I have modified and have either visible or hidden to suit my need and is reflected in the front page published code.

    If I look at the customizer.php file in the editor all 11 home section boxes are referenced and each has a specific task like ‘Recent Work’ etc but are not available for editing in the customizer panel.

    My thoughts as to why is that Home Section 1 -4 were supplied with ‘dummy data’ and 5 – 11 were not?

    So need a way to enter initial data and a way too change the display order of the ‘Home Section’ boxes please.

    Hope this helps.

    Regards
    Graham

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

    Hi,

    Kindly go to Appearance>>Editor>>custom-functions.php and do a search for the word “All”

    Just replace All with your language content. Kindly do not touch anything else and take a backup of the file if possible.

    Save the file.

    Should be done.

    Regards,
    Brad

    #80554
    Ron WilczekRon Wilczek
    Member
    • Topics: 8
    • Replies: 7
    • Total: 15
    Member since: October 15, 2016

    Found the answer in a WP forum:

    <?php echo category_description( $category_id ); ?>

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

    Hi,

    Kindly edit header.php

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

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

    Or simply you can change initial-scale=1.1 to initial-scale=1.0

    Regards,
    Chris

Viewing 15 results - 931 through 945 (of 2,020 total)