• Resolved Rodney I

    (@rodney-i)


    Hi Shishir

    I tried to use the script you posted but it broke my site the error message I got was.
    Parse error: syntax error, unexpected ‘type’ (T_STRING) in /home/synerg43/public_html/synergyhypnotherapymelbourne.com.au/wp-content/themes/astra-child/functions.php on line 32

    this is line 32
    $style = ‘<style type=”text/css”>

    Any Ideas what was wrong with the script

    Thanks
    Rodney

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shishir Raj Adhikari

    (@shishiradhikari)

    Hi Rodney,

    Like I had mentioned before, the problem was because of the encoding. The single quote and double quote are turned to different quote after I posted here. So you just need to replace all those single quote and double quote into its proper quote. OK, follow these steps:

    1. Copy the whole code that I had provided and paste it into a notepad.
    2. Replace the single quotes and double quotes with its appropriate quote
    3. And then finally copy the codes from your notepad and paste it into functions.php file.

    If you have problem in doing so, email me at [email protected] ,and I will email you the code in a txt file, makes sense?

    Regards,
    Shishir

    Thread Starter Rodney I

    (@rodney-i)

    Hi Shishir

    Thanks for that it is now working what a silly little thing how there are different single quote and double quotes.

    Really appreciated

    thanks
    Rodney

    Plugin Author Shishir Raj Adhikari

    (@shishiradhikari)

    You are always welcome Rodney. Have a great day!

    Let me know if you find any issues further.

    Thanks,
    Shishir

    Plugin Author Shishir Raj Adhikari

    (@shishiradhikari)

    Hi Rodney,

    After thinking for a while, I thought it would be wise enough to implement your suggestion regarding the fixes for CSS issue caused by Wordfence (the one related to hiding Wordfence “Save Setting”) in my plugin itself. So in new version 3.0 (just released), I have included that CSS fixes. This mean you now don’t need to add the php code that I suggested previously in your functions.php with version 3.0 (and onwards).

    By the way, with the new version 3.0 it’s now also compatible with “Admin Menu Editor” plugin (Ray Gulick one of the genuine user like you, suggested me for this). I thought to let you know about this in case you are using “Admin Menu Editor” plugin along with mine.

    Regards,
    Shishir

    Thread Starter Rodney I

    (@rodney-i)

    ok thanks for letting me Know I will delete that code when the next version comes out. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Re: Toolbar hiding plugin options’ is closed to new replies.