Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 301 through 315 (of 2,005 total)
  • Author
    Search Results
  • #178651
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31290
    • Total: 31290
    Member since: August 16, 2013

    Hi,

    If you want translate text?

    Kindly go to theme folder >> templates >> blog_template.php >> Line Number 1141 >> and change it there.

    Regards,
    Chris

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

    Hi,

    Kindly go to theme folder >> templates >> blog_template.php >> Line number 94 >> find text read more >> and change it there.

    Regards,
    Dave

    #178597

    In reply to: CSS issue

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

    Hi,

    1. I want to minimize the size of the header frontpage slider but i dont how will i dot it..

    Ans: Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .slider-main .nivoSlider {
        height: 500px;
    }

    2. The homepage slider pictures loads too long even though i have decreased the size and compressed already the images i used.

    Ans: 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.

    3. Site Title words have no spaces with each other and the color of the letters “LLC” become blqck which is now different with the others. I tried editing it but still the same when published.

    Ans: We checked, this is showing right as you wanted.

    4. The size of the image down below the sliders images on my homepage cannot be customly decreased. You can set the size through custom but wont take effect when saved and published?

    Ans: Can you send us the screenshot of your issues? Upload your screenshot on imgbb.com and paste the share url here.

    Regards,
    Dave

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

    Hi,

    We have add condition in header.php

    kindly go to theme folder >> header.php > and add this condition for page slider.

    <?php if (is_front_page() || is_page( 'print-scan-oplossingen' )) { ?>

    Regards,
    Dave

    #178199

    In reply to: The Art Pro

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

    Hi,

    For translation:

    Kindly go to theme folder >> templates >> fullwidth-blog_template.php >> line number 94 >> and change it there.

    For Slider:

    Slider Stop:

    Kindly edit frontpage/slider.php file, go to line number 14 and make below changes:

    running: true,
    paused: false,
    stop: false,

    Regards,
    Chris

    #178162
    MarkusMarkus
    Participant
    • Topics: 24
    • Replies: 67
    • Total: 91
    Member since: February 7, 2017

    Hello,

    I’ve seen you put the same PHP code to my function.php them the last time.

    BUT: with this code the option “edit picture” will NOT work

    After insering the code – do you test the point “edit picture” ?

    This are the last original lines php code

    </script>
    <?php }
    add_action(‘wp_head’,’custom_slide_function’); ?>
    //End of original function.php code – picture edit works – sort by date works not – is the “]” after <?php correct? there is no open “{” first !?//

    <?php
    add_filter(‘posts_orderby’,’my_sort_custom’,10,2);
    function my_sort_custom( $orderby, $query ){
    global $wpdb;

    if(!is_admin() && is_search())
    $orderby = $wpdb->prefix.”posts.post_type ASC, {$wpdb->prefix}posts.post_date DESC”;

    return $orderby;
    }
    // This is the new code from you for sorting by date – with this code the “edit picture” will NOT work //

    At the moment I use the old code, because I must work on the site!

    EDIT: I test the complete code from your original function.php in a code checker.
    Result: line 802 have errors:
    <?php function custom_slide_function(){ ?>

    Is this a old bug inside the code?

    Regards
    Markus

    #178063
    MarkusMarkus
    Participant
    • Topics: 24
    • Replies: 67
    • Total: 91
    Member since: February 7, 2017

    Hello,

    sorry, I exchanged the functions.php, but I didn’t set the correct file rights / owner. Now it works.

    Regards
    Markus

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

    Hi,

    We are not able to edit and save function.php

    Kindly give us the full access of admin details. We are unable to edit and save the files.

    See screenshot link below:
    https://nimb.ws/Awz8MK

    Regards,
    Dave

    #177955
    MarkusMarkus
    Participant
    • Topics: 24
    • Replies: 67
    • Total: 91
    Member since: February 7, 2017

    Hi Dave,

    CURRENT: I use the old functions.php WITHOUT the new code – from you – for site search sorted by date

    WHEN: I use the modificated functions.php WITH the new code (you put some PHP at the end of the file) the editor shows no picture.

    Q: What can we do for: I want to use your new code for search results sorted by date AND I can edit my pictures inside.

    Regards
    Markus

    #177888

    In reply to: Translation

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

    Hi,

    We have changed the code in 2 files.

    1. core.php
    2. search.php

    Regards,
    Dave

    #177868
    MarkusMarkus
    Participant
    • Topics: 24
    • Replies: 67
    • Total: 91
    Member since: February 7, 2017

    Hi,

    ok, the picture shows a post and the used picture.

    When I use the new, from your hand edit functions.php, the picture is not shown:

    https://ibb.co/KVnFG75

    1: you see the picture from the post
    2. the picture is not shown for editing
    3. the button “crop”is not highlighted

    When I use the old function.php the editor works and the picture is loaded.

    Edit: at the moment I use the old, working function.php!
    Regards
    Markus

    #177655
    MarkusMarkus
    Participant
    • Topics: 24
    • Replies: 67
    • Total: 91
    Member since: February 7, 2017

    Hi,

    The new code works fine for date-sorting. BUT: with the new code in the function.php the function “Image / Edit Image” shows no picture and the button “Crop” is not highlighted. Sounds strange, but:
    I have a staging site /copy of my site. I used there the old and the new funktion.php – same result. Any idea?

    site: https://b2b-cyber-security.de/
    You have already access data

    Info: I jumped back to the old function.php, because I made some article with pictures.

    Regards
    Markus

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

    Hi,

    Q: will a theme update kill the changed code?

    Ans: Yes, We have changed some code in function.php

    Regards,
    Dave

    #176940
    NicolasNicolas
    Participant
    Member since: February 18, 2016

    I am using Nature One Pro fromearlier last year and want to update to the recent version as there are various deprecated jQuery sections in the version I am using. Is it safe to just upload the updated files or are other modifications required.

    Thanks

    http://www.journeywithin.org

    2020-10-11 05:53:47 jQuery.fn.live() is deprecated Theme: Nature One Pro https://journeywithin.org/wp-content/themes/natureone-pro/customizer/assets/customizer.js https://journeywithin.org/wp-admin/customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dwpclever
    2020-10-11 05:53:56 jQuery.fn.toggle(handler, handler…) is deprecated Theme: Nature One Pro https://journeywithin.org/wp-content/themes/natureone-pro/customizer/assets/live.js https://journeywithin.org/?customize_changeset_uuid=f215219e-94df-40c5-84b7-2bf0cffa70f5&customize_theme=natureone-pro&customize_messenger_channel=preview-0
    2020-11-01 17:25:34 jQuery.fn.toggle(handler, handler…) is deprecated Theme: Nature One Pro https://journeywithin.org/wp-content/themes/natureone-pro/customizer/assets/customizer.js https://journeywithin.org/wp-admin/customize.php?return=%2Fwp-admin%2F
    2020-11-02 05:13:26 \’ready\’ event is deprecated Theme: Nature One Pro https://journeywithin.org/wp-content/themes/natureone-pro/assets/js/widgets.js https://journeywithin.org/wp-admin/customize.php?return=%2Fwp-admin%2F

    #175905
    AS RAJAKARUNAAS RAJAKARUNA
    Participant
    Member since: March 13, 2021

    Error – The uploaded file exceeds the upload_max_filesize directive in php.ini.

Viewing 15 results - 301 through 315 (of 2,005 total)