Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting user info from WordPress Widget #34

Open
mtburdon opened this issue Jul 21, 2013 · 0 comments
Open

Getting user info from WordPress Widget #34

mtburdon opened this issue Jul 21, 2013 · 0 comments

Comments

@mtburdon
Copy link

Hi there,

I've been using tweet.js to implement Twitter into an existing WordPress widget I have created however I'm having difficulty getting the users info (consumer key etc) from the widget to the index.php file.

I've set up fields for the user to add their info in, that's working fine, however it's the passing the info to the index.php file I'm having difficulty with.

I've added another param to the call so when initiating the library in my widget file, as well as passing in the username, modpath etc, I can add the consumer key on. This can then be retrieved in the jquery.tweet.js file and used by putting s.consumer_key.

As you know though, I need to add the consumer key and other info into the index.php file. I've tried my best however PHP is not my strongest language, so any help would be greatly appreciated.

Cheers,
Martin

@350d 350d mentioned this issue Mar 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant