Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)
  • Forum: Plugins
    In reply to: su spolier not working
    Thread Starter hardcab

    (@hardcab)

    OK I tried it on another website and it works fine so something is conflicting on this particular website.

    The website that isn’t working with ff is http://www.jdinsurance.com.au/contact-us/

    So any suggestions would be greatly appreciated

    Forum: Plugins
    In reply to: su spolier not working
    Thread Starter hardcab

    (@hardcab)

    I have tried other shortcodes such as tabs, spoiler, accordian etc and none of them seem to work in FF 44.0.2

    You are missing the closing curly bracket }

    Forum: Plugins
    In reply to: Create a hook
    Thread Starter hardcab

    (@hardcab)

    I would have thought I would get some sort of reply after 4 days

    Thread Starter hardcab

    (@hardcab)

    Any ideas?

    Thread Starter hardcab

    (@hardcab)

    OK well I see that the icons are from Font Awesome so when I change font color it also changes the icon.

    To see what I am talking about you can look at this page

    I still would like to know how I can change the color of the Title only. If I put color attributes within the html as an eg [su_spoiler title=”Title” color=”#fff” icon=”folder-1″ style=”fancy” class=”my-custom-spoiler”] it doesn’t work and also stops the background color from working.

    I would like to change the title font color to white and have the icon on a transparent or blue background to match the title bar background. Then it wouldn’t matter if the icon itself changed to white as it does when I do it through the css as above. But because the icon has the white square you cannot see it when it changes to white

    Thread Starter hardcab

    (@hardcab)

    Thnx I found it

    any ideas?

    With child themes you place the amended files in the child theme directory so that they don’t get overwritten with updates.

    Where can you place a copy of the amended hooks.php so that it still works but doesn’t get overwritten by an update

    Forum: Fixing WordPress
    In reply to: Admin problem
    Thread Starter hardcab

    (@hardcab)

    Yes I do and I have contacted the theme developer. Thanks for all the help.

    Forum: Fixing WordPress
    In reply to: Admin problem
    Thread Starter hardcab

    (@hardcab)

    OK I found the problem.

    I tried twentyfourteen and Greeny parent theme and it all works fine. So it appears the problem has to do with something on the Greeny child theme.

    I have pinpointed it to the functions.php that is causing the problem It has something to do with this code

    <?php
    /* DVS Compression Start*/
    function wp_http_compression() {
    // Dont use on Admin HTML editor
    if (stripos($uri, ‘/js/tinymce’) !== false)
    return false;
    // Check if ob_gzhandler already loaded
    if (ini_get(‘output_handler’) == ‘ob_gzhandler’)
    return false;
    // Load HTTP Compression if correct extension is loaded
    if (extension_loaded(‘zlib’))
    if(!ob_start(“ob_gzhandler”)) ob_start();
    }
    add_action(‘init’, ‘wp_http_compression’);
    ?>
    <?php

    I have removed that code and all is working well again. Also I ran the WP_Debug and got the following:

    Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home2/jdinsura/public_html/wp/wp-includes/functions.php on line 3245

    Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home2/jdinsura/public_html/wp/wp-includes/functions.php on line 3078

    Notice: Undefined variable: uri in /home2/jdinsura/public_html/wp/wp-content/themes/greeny-jdi-child/functions.php on line 5

    Warning: Cannot modify header information – headers already sent by (output started at /home2/jdinsura/public_html/wp/wp-includes/functions.php:3245) in /home2/jdinsura/public_html/wp/wp-login.php on line 414

    Warning: Cannot modify header information – headers already sent by (output started at /home2/jdinsura/public_html/wp/wp-includes/functions.php:3245) in /home2/jdinsura/public_html/wp/wp-login.php on line 426

    Warning: Cannot modify header information – headers already sent by (output started at /home2/jdinsura/public_html/wp/wp-includes/functions.php:3245) in /home2/jdinsura/public_html/wp/wp-login.php on line 428

    Have tried looking at those files to try and fix but I have no idea what the problem is as I cannot find the particular lines it refers to

    Forum: Fixing WordPress
    In reply to: Admin problem
    Thread Starter hardcab

    (@hardcab)

    It did not reinstall. It went to the same screen as in the screenshot and just sat there with nothing happening the same as what happens when I install a plugin. At least with the plugin although it seems that nothing is happening and it doesn’t give the “activate” option the plugin still gets installed whereas it didn’t seem to install WP (or if it did it still doesn’t work)

    Forum: Fixing WordPress
    In reply to: Admin problem
    Thread Starter hardcab

    (@hardcab)

    Well I tried to reinstall WP through admin and it didn’t do anything. I am afraid to install it through PHP admin as I don’t want to lose any changes I have made.

    I tried to just upload admin folder via ftp but that didn’t make any difference.

    Is there just a way to “repair” the WP installation? What are the possible files that got corrupted that I could just replace

    Forum: Fixing WordPress
    In reply to: WP Site Speed
    Thread Starter hardcab

    (@hardcab)

    Thanks I will

    Forum: Fixing WordPress
    In reply to: WP Site Speed
    Thread Starter hardcab

    (@hardcab)

    Thanks guys, I have signed up with cloudflare and have compressed images and css and I have managed to get it to a 92/95% on GTMetrix and this is what it shows inwebspeedtest

Viewing 15 replies - 1 through 15 (of 25 total)