• Hi,
    This plugin is perfect for our forum, as the forum is mostly in German but we also want English speakers to be able to read and comment.
    The thing is, this plugin seems to load on every page of the website. The most annoying is the homepage, as this already is slow, the plugin just adds to the slow speed.
    Is there anyway to limit when the plugin is working, ie limit the url to /forum… and ignore certain pages?
    thx

Viewing 7 replies - 1 through 7 (of 7 total)
  • As of now, there are no settings to limit the widget on a per page basis, but this would be a perfect addition to the plugin. I might as well add this in an upcoming update – thanks.

    For now, you could create a new page template or add a condition inside of your forum page template, and this would surely do the trick.

    If you want help with this, let me know. If it something I can do quickly, I would not charge for it, but it’s complicated we would need to discuss.

    Let me know your thoughts!

    Thanks, Rob

    • This reply was modified 8 years, 5 months ago by Rob Myrick.
    Thread Starter haddlyapis

    (@haddlyapis)

    Hy Rob.
    Thanks for getting back to me.
    I am currently learning php, but only in the beginning stages. If creating a new page template or adding a condition inside the forum works, then i would defnitely go for it.
    I have no idea how long it would take, but if you send me any learning material i should have to complete this, i will read it and try and do this with minimal help. How long do you think it would take to add this to your plugin?
    cheers
    Daniel

    Hi Daniel, actually I forgot that the plugin Jetpack allows you to place widgets conditionally. So you can turn on/off the GLT translation on a per page basis. You might try installing this plugin, and then make sure the Widget Visibility setting is enabled. This might do the trick. Let me know how it goes ??

    Rob

    Thread Starter haddlyapis

    (@haddlyapis)

    Hi Rob,
    Sorry for the delay in answering. I have to be hones and say i don’t want to add more plugins the website. I have more than enough.

    I got some code recently from bbpress to make sure only a link appears when a user is in the forum and not on the whole website.

    if ( is_user_logged_in() && is_bbpress() ) {

    elseif ( !is_user_logged_in() && is_bbpress() ) {

    (the rest of the code is bbpress layout and functionality).
    Can you provide something like this, so that the google translator is only working when in my forum https://www.apis.de/forum ?
    It would speed up the website. thx

    Thread Starter haddlyapis

    (@haddlyapis)

    Hey,
    Is there any chance you can implement what i have suggested above?

    Hi haddlyapis, I apologize for the delay. Can you email me here and let’s talk about this more:

    info @ wp-studio dot net

    Thread Starter haddlyapis

    (@haddlyapis)

    Hi,
    I have tried emailing you several times, but no answer as of yet.
    I really would like to limit this plugin to the forum area.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘limit plugin working to certain pages’ is closed to new replies.