Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • That makes sense and looks promising. I will try it later and give an update. Thanks for your help! Commented Dec 3, 2017 at 0:16
  • Tried it and it worked great except it seems to create one extra entry at the very end of post_type 'post'. Not sure why but I just deleted it manually which was fine. Now I will work on moving it to an options page. That seems like the best idea, especially for reusability. Commented Dec 3, 2017 at 2:55