Giter VIP home page Giter VIP logo

simple-facebook-page-widget's People

Contributors

irkanu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

simple-facebook-page-widget's Issues

Undefined index

I get this Issue if I try the Widget

Notice: Undefined index: app_id in /Applications/MAMP/htdocs/wordpress-4/wp-content/plugins/simple-facebook-twitter-widget/simple-facebook-page-plugin.php on line 170

Problematic call to wp_enqueue_script

Hello,

I noticed that wp_enqueue_script invocation as done by plugin is a bit problematic:

wp_enqueue_script( 'sfpp-fb-root', SIMPLE_FACEBOOK_PAGE_DIR . 'js/simple-facebook-page-root.js', array( 'jquery' ), true );
  1. It declares dependency on jQuery, despite that JS code in enqueued file does not seem to utilize jQuery in any way.
  2. The $ver (4th) parameter of wp_enqueue_script is set to true - it doesn't make much sense to me :) It basically sets version number to 1, I guess this was not intended and the true value was perhaps meant for the $in_footer (5-th) parameter.

Why this is an issue to me: the invocation as it is now makes it impossible to requeue jQuery in site footer, because it enqueues script declared as jQuery-dependent in site head.

Greetings,
Česlav

Width sizing

Hi

I can't seem to get the plugin to set a different width size when using it as a widget in my footer. I've set it to 400 height and 400 width and it isn't taking the width settings. Tried numerous settings - any ideas? It's set in my footer section at www.risengrind.co.uk

thanks

Adam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.