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

Different destination categories depending on wordpress category/post type #47

Open
Fma965 opened this issue Feb 24, 2016 · 1 comment

Comments

@Fma965
Copy link
Contributor

Fma965 commented Feb 24, 2016

Hi this is a feature request to allow posting to different categories depending on the wordpress source category.

Is this something that is in the works?

Thanks.

@frandiox
Copy link
Contributor

@Fma965 There is a categoryID variable that forces a category:

var nodeBBURL = '//your.nodebb.com',
    wordpressURL = '<?php get_site_url(); ?>',
    articleID = '<?php echo the_ID(); ?>',
    categoryID = 1;

Perhaps you could generate the value of that variable with PHP based on the Wordpress source category.

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

2 participants