How can I choose a category from multiple categories on Wordpress module?

Hi everyone,

I’ve successfully managed to post to WordPress with multiple categories by adding them as an array. However, I’m facing an issue with the primary category selection. Regardless of which category ID is listed first in the array, WordPress always sets the one with lower value in the array as the primary one.

For example, if I post to categories 50 and 11, the module always sets category 11 as the primary, even when I’d prefer category 50 to be the primary. (I tried to switch numbers in the array but it is not helping).

Does anyone know how I can choose a specific category as the primary when posting through the WordPress module ?

Thanks in advance for your help!

Welcome to the Make community!

There is no concept of “primary” category in WordPress, so you cannot order them by rearranging the array values.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.