Skip to content

WP3.3 + Bones? #27

Closed
soundZ opened this Issue Dec 13, 2011 · 3 comments

3 participants

@soundZ
soundZ commented Dec 13, 2011

Hello;

I've a brand new WP3.3 installation and a brand new download of bones. But in WP debug mode (set via wp-config.php) I'll get some errors:

Notice: Undefined variable: post in
..../library/plugins.php on line 31

Notice: Trying to get property of non-object in
..../library/plugins.php on line 31

Notice: Undefined variable: post in
..../library/plugins.php on line 32

Notice: Trying to get property of non-object in
..../library/plugins.php on line 32

Notice: Undefined offset: 0 in
..../library/plugins.php on line 39

I'm not quite sure if I've to worry about this? :)
Thanks for help!

@eddiemachado
Owner

This function has been giving me a few issues lately. Luckily it's nothing that's really essential, you can remove it if you like.

It's just a function that pulls the image or thumbnail of your posts for sharing on social networks.

If it's causing flags, just don't call the plugins.php file in your functions file and you'll be fine.

@joshgreen

Having an issue adding social media buttons to bones. I used this gist http://jsfiddle.net/eddiemachado/MH5qe/2/ However it caused js errors in ie 8 and 9.

Is there an easy way to implement social media sharing with bones without using plugins and widgets?

@eddiemachado
Owner

That gist was kind of an experiment as it won't work with IE.

Perhaps a better solution would be to load the js files depending on the screen size.

This is only relavant if you want to load those scripts on devices larger than mobile. You can add them like you would on any other site if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.