0
Welcome Guest! Login
0 items Join Now

Front-end Editor plugin dont work

  • Front-end Editor plugin dont work

    Posted 12 years 4 months ago
    • Hello,

      Gantry 1.28

      I would like to use "Front-end Editor plugin" ( wordpress.org/extend/plugins/front-end-editor/ ) with Gantry.

      The front-end plugin code uses "wp_footer()" to include their JavaScript files. ( scribu.net/wordpress/front-end-editor/co...takes-in-themes.html )

      The plugin works fine with the defautt wp template, but dont with gantry ones.

      I looked at the code, and cant see the "Front-end Editor plugin" code at the page when using Gantry.

      Tryed to edit template files, and add wp_footer(), but the code don't shows at page.

      Someone knows how to use/hack to use "Front-end Editor plugin" ?

      Thank you.
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Front-end Editor plugin dont work

    Posted 12 years 4 months ago
    • Hi, I don't have an easy answer for this. Gantry and our Gantry based themes do not use the wp_footer() function at all, we have a completely different theme structure than most WP themes.

      You can add scripts into the Gantry head by placing them in the Gantry theme js folder, then adding:
      $gantry->addScript('name-of-file.js');
      Into the <head> section of the theme index.php file.

      I have no idea if this will solve your issue or not. Some plugins just are not compatible with Gantry unfortunately.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.069 seconds