Import the project on blog index open
Currently the flow is:
- In Redmine in the project settings we open the Modules tab and enable the “Blog” module.
- After this the new “Blog” tab appears in the project menu.
- But clicking the tab renders 404 (not found) error...
This happens as this project has not being imported yet!
- To import the project (i.e., to synchronize all projects, actually) we just need to the new post page (no need to post anything)...
And it would be fantastic if opening the project blog index page triggered the import of the project into WordPress!
But I did not find how this could be done... Certainly, the
get_term_by() function is used by the project index. But this function does not support filters or actions... Probably, it is used by
get_queried_object() but this one also does not come with filters nor actions. So ideas needed!..