wambrose
Forum Replies Created
-
Thanks Marcus
ok.. so that’s why this above method has been working for me. I don’t know how to implement your suggestion as I’m quite a novice with php an EM but I’ll have a look.In layman’s terms (if it’s easy to do so) where is the best place to paste in the code for some addthis butons?
…and the same works for twitter:
<a href="https://twitter.com/share" class="twitter-share-button" data-url="#_EVENTURL" data-text="#_NAME" data-count="none" data-via="BTBStorytelling">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>
Though for some reason the script call has to be after the link or the button displays 3 times.
I pasted the above code into the single event format box after my #_NOTES section.
oops! i put the link to the like button generator in brackets and it’s mess up the above post ??
Anyway, responses or better solutions the OP welcome.
Ok, progress….
I used the facebook like button generator ()
and put the placeholder #_EVENTURL in the ‘URL to Like’ field.<div id="fb-root"></div><script src="https://connect.facebook.net/en_US/all.js#appId=225786117446973&xfbml=1"></script><fb:like href="#_EVENTURL" send="true" width="450" show_faces="true" font=""></fb:like>
I then pasted the code in the ‘Single Event Format’ field in EM settings. It seems to work, though my site’s not online yet so I can;t fully test comments etc which require facebook connecting with the relevant site pages.
This isn’t the end of it beause I want social sharing buttons for several providers not just facebook but I think using the #_EVENTURL placeholder will be the way forward.
Thanks for that. Though it means getting into the PHP much deeper than I’d hoped. Surely there’s a way to do it without creating custom placeholders.
No joy yet. I installed a few plugins that put social links at the top of every page but trying different plugins hasn’t made a difference. It might be to do with the fact that all events pages are rendered from the same page. The address bar shows a unique URL for each event though – all I want is that link to be sent to facebook/twitter etc when someone clicks one of the social bookmarking buttons.
….that’s in reply to you latest request BTW.
I came to this topic because I’m looking to put social links on my single events pages like you described in your first post.
Let us know if you find a solution. At the moment every ‘single event’ page sends the main ‘events list’ link to facebook rather than individual event page link.
I think this is where you can use ‘catagories’ (blue/yellow) and a template file to get it displaying correctly.
I’m very new to EM though so don’t quote me!
scheesman,
Any luck with this? I’m trying to do the same thing.Forum: Plugins
In reply to: [Flickr Gallery] [Plugin: Flickr Gallery] Pagination fails :(kashann
Thanks for your input but it didn’t work for me (even with the"
I think you missed from the end of your suggested line)Fabryshock
I’m new to WordPress but I think the ‘Featured Image’ setting in the post editor was added around version 2.8 – it might have been called Post Thumbnail for a while.If you’re using the latest version of WP you could try checking the screen options tab at the top of the post editor page to make sure ‘Featured Image’ is selected.
I’m using WP v3.1.2
Working now, I hadn’t set a ‘Featured Image’ for the posts.
So in my theme’s functions.php I added:
add_theme_support( ‘post-thumbnails’ );
add_theme_support( ‘post-thumbnails’, array( ‘post’ ) );and to my theme’s style sheet I added to get it looking a bit prettier:
.widget_categoryposts img {float: left; margin-bottom: 8px}
.widget_categoryposts li {list-style-type: none; clear: both; }
.widget_categoryposts ul {overflow: auto; }
.widget_categoryposts a {font-weight: bold; font-size: 14px}I hope that helps someone.
Same issue!! Added same lines as OP to funtions.php and enabled thumbnail option in wiget.
Using Woothemes Canvas.