addthis api? Is it possible to bookmark another URL? - bookmarks

At the moment, I try to include addthis social-bookmarks to my site.
My problem is, that I have to bookmark another link than the url on my site.
Instead of www.example.com, I have to bookmark www.example.com?media=my-media-file.
From the beginning:
A User comes to my site. On my site are several movies. He can click on a movie thumbnail and watch the movie without reloading the site (javascript). Now he can click on my social bookmark icon to share this movie.
Now the addthis framework thinks that the User want's to share www.example.com (cause this is whats in my url). But I want the user to share www.example.com?media=foo-bar .
Opening www.example.com?media=foo-bar for the correct movie is still working, but no social bookmaring.
I hope you understand my problem and can help me. I searched without success in the addthis api.
So, can u help me?

Okay, I found it:
$('.addthis_button').attr('addthis:url',shareURL);
$('.addthis_button').attr('addthis:title',shareTitle);
$('.addthis_button').attr('addthis:description',shareTitle);

Related

woocommerce - add a new functionality to the theme along with its UI

I am new in wordpress world and i am planning to do a small store website, all the functionalities i need are already there in woocommerce, but there is this small functionality i need which is as below:
in the homepage i need to show 3 different services are served from the company and each service will have a button which will show a popup or redirect the user to another page.
the popup or the new page will ask the user to enter his information along with his mobile number so the company could contact him.
and i have chooses this theme https://themebeez.com/demos/?theme=orchid-store
and here is a picture of where exactly the change will be
So my question is what is the fastest way to do that, is there a plugin to do this for me, or i should make the actual functionality myself and edit the theme code also manually?
Thanks.
In the homepage i need to show 3 different services are served from
the company and each service will have a button which will show a
popup or redirect the user to another page.
Basically 3 buttons that got you to another page. That can be easily done with just editing the template. Look the support documentation to see if your theme can be edited by some page builder (mine uses Composer, etc) and just add the "buttons", if not you need to edit the template manually with some HTML. Nothing to complicated, it just HTML, not PHP or JS.
the popup or the new page will ask the user to enter his information
along with his mobile number so the company could contact him.
Blockquote
Please clarify, popup or a new page? If it is a new page, when you create the 3 buttons on the homepage, just connect that to a new page each (in the Admin Panel, New>>Page). That it is easy as just but the <a href> tag. But also, that's just how I would do it in a short time.
So my question is what is the fastest way to do that, is there a
plugin to do this for me, or i should make the actual functionality
myself and edit the theme code also manually?
Asking for plugins is offtopic in SO, also, where is going to go that data? In the database? or is going to be sent to some admin email? Please see the How to Ask
But I think there is exist a lost of plugins to help you with that. You just need some custom fields so Have you tried searching for some? I use one to get in contact with clients which may fulfill your requirements

Is http://www.shoutmeloud.com/videos a separate website?

I just wondering whether http://www.shoutmeloud.com/videos is a subdomain under subdirectory?
I am just curious to know how we can do that.
I have a website called http://quantumbuddy.com/ and I want to share spirtual video the same way here shoutmeloud did.
Can anyone let me know how they did?
The website Shoutmeloud is a very popular website of a very popular Indian blogger Harsh Agarwal. The website is WordPress built as told by him many times. Regarding your question - the http://www.shoutmeloud.com/videos is not a directory because if it had been a WordPress directly there would be a login url - http://www.shoutmeloud.com/videos/wp-login.php, but it is not there.
Seeing the design of http://www.shoutmeloud.com/videos i think it is a post category (videos) which shows the post contained in it(here videos).
In wordpress this comes by default, all you have to do is to create a post category and add post in it. Then in these post add youtube videos embed code.
You can easily achieve that by going to your wordpress dashboard then add a new page and name it like videos then insert some video files there whether it's a link or from your uploaded videos then save it.
To check the page, Add it to your main menu for example then save it.
The url would be like http://quantumbuddy.com/videos.
so basically the videos is the name of the page.
I checked your site and it only contain one link in the menu. Add a page and add it to your menu bar and it would display next to the Blog link.
The website you are referring to is using Genesis Theme. You can find it here
.

Share content on my Google+ PAGE with ADDTHIS

I am trying to post some Wordpress article directly on my google+ page with addthis, but it always post them on my Google profile.
I just can add a comment, remove extract and photo, and choose my share list, but I can't choose where I want to post it
In addthis support forum they say it is not possible:
Unfortunately this is a limitation of the Google+ button, not of
AddThis. We're not aware of any way to share to Google+ business pages
yet.
The way I do it is to copy the URL link of the article I want to share and then go to my Google+ page and paste that link there.
You should use an approved third party solution for posting to Google+ Pages. See the list at http://www.google.com/+/business/3rdpartytools.html

How To Create iFrames or Frames like StumbleUpon and Linkedin in Wordpress

I am developing my site. I am using Thestyle Wordpress theme in it. My every post is redirected to some other websites. And as they are redirecting I am loosing visitors to other site, I want to keep visitors on my site by in such a way that the external url opens in my site url.
Eg: stumbleupon - http://www.stumbleupon.com/su/1J1krv...com/gag/207886
Linkedin: http://www.linkedin.com/news?actionB...1eZ7X_46a_NkY1
I want to add same top heading bar like this sites do.
How can I do this?
I just searched plenty of sites which was telling how to use lightbox to open other pages.. but its not fully workable. I am a newbie in coding. Is there any other way to open such kind of things?
Try using a plug-in like gallery,light box, that will open URLs (as well as images) into a shadow box within your site

how to implement facebook like button on my website for each photo on my page?

I have a page that have 5 to 10 photos of a person, If some user comes into this page he should see facebook "Like" button next to each photo on that page. Please tell me the best to do it?
I have installed Javascript SDk on my site, I can use XFBML also. Just post me some sample code if you have any?
Thanks
Why not do what the manual says ?
http://developers.facebook.com/docs/reference/plugins/like

Resources