I am not sure if I am understanding your question correctly. Topics can be pinned directly on Discourse. This is done by clicking the topic’s admin wrench and selecting “Pin Topic” from the menu that appears.
If topics are published from WordPress to Discourse, they can be pinned at the time they are published by selecting the “Pin Topic” checkbox from the Discourse sidebar.