Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 571 through 585 (of 2,000 total)
  • Author
    Search Results
  • #119534
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31277
    • Total: 31277
    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,
    Brad

    #119384

    Topic: Bakers Theme

    in forum All Other Themes
    xlingzh6xlingzh6
    Participant
    Member since: September 25, 2018

    Hi,

    I am using Bakers theme. It’s great. There is only one thing that bothers me. Please go to my page:

    http://109.dbwebs.site/index.php/sushi-special/

    It looks great on the desktop. However, the image was cut on mobile.

    Mobile Image

    As you can see, I used an image with resolution 270×296 for SUSHI3, so the image is not cut. However, the image got blur when zooming in. So I used an image with a 939×1030 resolution for SUSHI4. It looks great on the desktop but was cut on mobile.

    Is there any way I can use the 939×1030 resolution images and not be cut?

    Thank you very much.
    Warm Regards,
    xiaoling

    #119352
    Kamil.wanicKamil.wanic
    Participant
    • Topics: 1
    • Replies: 3
    • Total: 4
    Member since: January 24, 2019

    Hello
    Thanks for your answer

    I kindly need to ask again for your help.

    I had a free hosting provider for testing purpose ,
    im not able to get this working on the hosting but i want to do it on the localhost.
    I want to complete that website on localhost and replace a existing domain with that wordpress site.
    I cant make that on the paid hosting with existing domain because the old website have to be working before i complete my work.

    I got Lubuntu 18.10 (child of Ubuntu) and installed xampp with apache and phpmyadmin.

    in Qterminal i used:
    sudo npm install hbs
    sudo npm i express-handlebars and
    also sudo npm -g install hbs , sudo npm -g i express-handlebars

    and later i added to the httpd.conf ( apache config file) after <IfModule mime_module>:
    AddType text/x-handlebars-template .hbs

    After that i restarted but it’s still dont work

    Best Regards
    Kamil

    #119210
    Robyn ClarkRobyn Clark
    Participant
    Member since: December 20, 2016

    I was trying to get my Mailchimp newsletter to display properly in Charity Pro theme and Mailchimp’s instructions are as follows (copied and pasted from Mailchimp site):

    “Add our code to your site
    Copy code
    Click Copy and access your site’s HTML.
    Add code
    Decide which pages you want to connect to Mailchimp. For each of these pages, paste in your site code just before the closing </head> tag.

    Check connection
    After you’re done, return to this page and check connection.”

    The code I added was <script id=”mcjs”>!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,”script”,”https://chimpstatic.com/mcjs-connected/js/users/b4df20414ba53d8ba40221596/e44f68c0f29c533342429df74.js&#8221;);</script>

    and I added it on the line just before the </head> tag as instructed. So the html in the Theme Editor looked like this:

    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”SKYPE_TOOLBAR” content=”SKYPE_TOOLBAR_PARSER_COMPATIBLE”>
    <meta name=”viewport” content=”width=device-width”>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″&gt;
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
    <!–[if lt IE 9]>
    <script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
    <link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/ie.css” type=”text/css” media=”all” />
    <![endif]–>
    <?php
    wp_head();
    $themename = wp_get_theme();
    $themename = preg_replace(“/\W/”, “_”, strtolower($themename) );
    if( !get_option( $themename ) ) {
    require get_template_directory() . ‘/index-default.php’;
    exit;
    ?>
    <script id=”mcjs”>!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,”script”,”https://chimpstatic.com/mcjs-connected/js/users/b4df20414ba53d8ba40221596/e44f68c0f29c533342429df74.js&#8221;);</script>
    </head>

    I updated the page on WordPress then checked the connection in Mailchimp and it said it was connected. When I reloaded my website, all I get is a completely blank page. No error, no nothing. My website is aartexas.org

    I deleted the code I added and updated the WordPress site and my webpage still will not load. The current html in the Theme Editor looks like this:

    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”SKYPE_TOOLBAR” content=”SKYPE_TOOLBAR_PARSER_COMPATIBLE”>
    <meta name=”viewport” content=”width=device-width”>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″&gt;
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
    <!–[if lt IE 9]>
    <script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
    <link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/ie.css” type=”text/css” media=”all” />
    <![endif]–>
    <?php
    wp_head();
    $themename = wp_get_theme();
    $themename = preg_replace(“/\W/”, “_”, strtolower($themename) );
    if( !get_option( $themename ) ) {
    require get_template_directory() . ‘/index-default.php’;
    exit;
    ?>
    </head>

    What have I messed up and how can I fix it?

    Thank you

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

    Hi,

    You did not put this code in the function.php

    add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
    function enqueue_child_theme_styles() {
      wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }

    Regards,
    Dave

    #118784
    stevehbstevehb
    Participant
    Member since: December 28, 2018

    Hello

    Url: https://perceptionprofiling.com/testimonials/

    Template is: Testimonials.php

    PLEASE DON’T ASK FOR ADMIN LOGIN AS I AM NOT ALLOWED TO PROVIDE IT!

    In the client logo images some have an upside down white triangle on them. I think the triangle is appearing at regular intervals and it just seems to overlay on some of the images.

    It isn’t on the images as I have checked them.

    Is this a style problem? How do I remove these annoying triangles from the page?

    Please advise what needs to be updated and where?

    Thanks
    Steve

    https://imgur.com/a/GBGxsRX

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

    Hi,

    Add this shortcode at the last on core-functoin.php

    // Shortcode iframe
    /* [iframebox4]Description[/iframebox4] */

    function iframe4($atts, $content = null){
        extract( shortcode_atts(array(
          'bgcolor'  => 'bgcolor',
          'bordercolor'  => 'bordercolor',
        ), $atts));
        
        return '
          <div class="iframe4">
                  <iframe src="'.$content.'"></iframe>
                 </div>  
        ';
    }
    add_shortcode('iframebox4','iframe4');

    Add CSS in custome style

    .iframe4 iframe {width:100%; min-height: 350px;border:none;}
    .iframe4 {width:100%; min-height:350px;}

    And use this shortcode to display video
    [iframebox4]https://player.vimeo.com/video/321200109[/iframebox4]

    Regards,
    Brad

    #118561
    bigcountrykevinbigcountrykevin
    Participant
    • Topics: 3
    • Replies: 15
    • Total: 18
    Member since: March 1, 2019

    Which version PHP should I upgrade to? It looks like “5.4 stable” is listed as the highest most stable version. There is also up to “7.1 Edge”.

    #118560
    bigcountrykevinbigcountrykevin
    Participant
    • Topics: 3
    • Replies: 15
    • Total: 18
    Member since: March 1, 2019

    Yes, It appears I need to upgrade my version of PHP to properly install the SKT Page Builder. -Sigh- Just when I thought I was figuring it out. Thanks!

    #118555
    bigcountrykevinbigcountrykevin
    Participant
    • Topics: 3
    • Replies: 15
    • Total: 18
    Member since: March 1, 2019

    I believe the issue is with the SKT Page Builder. I did everything as explained but its telling me my PHP is not up to date.

    Gurpreet GillGurpreet Gill
    Participant
    Member since: December 2, 2015

    I’m curious if these account for any of the issues I’m suddenly having.

    Thank you.

    Gurpreet (www.gurpreetkgill.com)

    One or more errors were found for SKT Girlie Pro.

    REQUIRED: .bypostauthor css class is needed in your theme css.
    Warning: More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs.
    The domains found are skt-girlie, , skt-exceptiona, http://sktthemes.net/, target=_blank>SKT Themes, target=_blank>
    WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
    WARNING: The tag white has been deprecated, please remove it from your style.css header.
    WARNING: The tag responsive-layout has been deprecated, please remove it from your style.css header.
    WARNING: The tag photoblogging has been deprecated, please remove it from your style.css header.
    WARNING: The tag gray has been deprecated, please remove it from your style.css header.
    WARNING: The tag dark has been deprecated, please remove it from your style.css header.
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments
    WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments ‘SKT Girlie WordPress theme has been Designed and Created by WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments ”
    WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments ”, ‘skt-girlie’
    WARNING: Found a translation function that has an incorrect number of arguments. Function __, with the arguments ”
    Section “,

    , ‘skt-girlie’
    REQUIRED: This theme text domain does not match the theme’s slug. The text domain used: skt-girlie, , skt-exceptiona, http://sktthemes.net/, target=_blank>SKT Themes, target=_blank>This theme’s correct slug and text-domain is skt-girlie-pro.
    REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory functionality.
    REQUIRED: The theme uses the register_post_type() function, which is plugin-territory functionality.
    REQUIRED: The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output
    RECOMMENDED: Screenshot size should be 1200×900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200×900 is preferred.
    RECOMMENDED: Possible variable $n found in translation function in options.php. Translation function calls must NOT contain PHP variables.
    Line 1504: ‘desc’ => __(‘<h3>Section ‘.$n.'</h3>’, ‘skt-girlie’),
    INFO: Possible Favicon found in index-default.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
    INFO: Possible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
    INFO: iframe was found in the file template-contact.php iframes are sometimes used to load unwanted adverts and code on your site.
    Line 23: <iframe src=<?php echo of_get_option(‘googlemap’, true); ?> width=98% height

    #118248
    xlingzh6xlingzh6
    Participant
    • Topics: 8
    • Replies: 15
    • Total: 23
    Member since: September 25, 2018

    Sorry, I removed it from the homepage. But you can check it here.

    http://106.dbwebs.site/index.php/home06-02/

    Thank you!

    Warm regards,
    Xiaoling

    #118129
    EddieEddie
    Participant
    • Topics: 5
    • Replies: 77
    • Total: 82
    Member since: January 1, 2017

    MORE ISSUES APPEAR

    Q1. blog articles not showing under blog page
    A. All Post are showing in your blog page..
    MORE – this seams ok

    Q3. bottom I add “MORE PRODUCTS HERE” are set correct but is not redirecting to correct page (settings on my end are set correct)
    A. Done..
    MORE – You fix 1 but theres 2 more down at page ( Recent Products and Sale Products session also have it )

    Q4. Our Team session is not showing centered and I like to have a option to change positions of profiles , no options to choose each one show first from left to right
    A. Done..
    MORE – Strage php code showing at that session, how can I also configure text on this I want the text to be aligned and it never show on position I type ad admin, on front page always show continuous text

    Q5. When you go to bodyfeed.com/blog it show posts but no option to view posts by category, we need that
    A. Done..
    MORE – you add that, thats great but when you click on article ( post ) the side bar is showing a search and we like to ADD contact form bellow that search bar in a different box and categories under contact box and lets do same way at main blog page please. this is to fill empty space on left and right side bar when we choose that, so make sure all options work like that when we choose that type of layout

    MORE – At search bar at top of the page and side page is very misconfigured when using macbook safari, is that my pc or safari configuration, it shows good on mobile iOS and others and also any other browser but safari on macbook

    MORE – I saw you add new plugin for posts. what is that about, what do I do with that ????

    I can send screen shots if need

    please check

    thank you

    #118037

    In reply to: pest control

    totaltotal
    Participant
    • Topics: 2
    • Replies: 36
    • Total: 38
    Member since: January 30, 2019

    and the: how i cange the button read more in section 2 at the home page to other text ?

    Ans: Kindly go to sktframe >> core-functions.php line number 1415 and 1438 and change there text in other language.
    give me eror i cant change it there

    #117857

    In reply to: pest control

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

    Hi,

    i see the title like this on mobile Instead as pictured below how i change it ?

    Ans: Done

    how i cange the button read more in section 2 at the home page to other text ?

    Ans: Kindly go to sktframe >> core-functions.php line number 1415 and 1438 and change there text in other language.

    Regards,
    Chris

Viewing 15 results - 571 through 585 (of 2,000 total)