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

Functionality for topic-map for wordpress #321

Closed
wants to merge 3 commits into from

Conversation

sudaraka94
Copy link
Contributor

No description provided.

@scossar
Copy link
Contributor

scossar commented Oct 1, 2018

I'm looking at this now. I'm unsure about how it works. I was expecting https://github.com/procourse/wpdc-embed-topic-map to be a WordPress plugin. How is that code meant to be used?

@jtbayly
Copy link

jtbayly commented Oct 1, 2018

That stuff is added to your theme. You've got to add the assets folder to the base of your theme, and then copy the contents of functions.php into your theme's functions.php file.

If it could be made into a plugin, that would obviously be better for usability.

@scossar
Copy link
Contributor

scossar commented Oct 1, 2018

If you can give me a couple of days to look at this, I'll have some ideas for you. I think it will be possible to do this with fewer changes to the WP Discourse plugin.

@scossar
Copy link
Contributor

scossar commented Oct 3, 2018

@sudaraka94 I like this a lot! I think it would be a good idea to include the topic-map in the wp-discourse plugin. It would be enabled with an option so that sites that don't want it can disable it. I've tried adding the code from your theme to the plugin and it's working for me. Is it ok if I make a few changes to your PR?

@sudaraka94
Copy link
Contributor Author

Hi @scossar, If this can be added to the plugin that would be really awesome. Please do make changes. :) By the way I really like how you keep the wp-discourse plugin. One of the most readable php code I have ever seen and It is a great inspiration for me.

@scossar
Copy link
Contributor

scossar commented Oct 6, 2018

@sudaraka94 thanks! I've created a separate PR here: #324. It's built on top of your sudaraka94-master branch. Maybe we should do the work there and close this PR.

Early next week I'll add some comments about what's going on in the PR.

@sudaraka94
Copy link
Contributor Author

I will be closing the pr and moving to the new pr

@sudaraka94 sudaraka94 closed this Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants