winkm89 / teachPress

Official repository of teachPress (publication management plugin for WordPress)
GNU General Public License v2.0
56 stars 43 forks source link

"type" not working correctly? #253

Closed aaortizb closed 5 months ago

aaortizb commented 5 months ago

I have "Journal Article" and "Proceedings" in a list of publications. On one page, I would like to display only the proceedings with the filter type deactivated (not shown).

This works ok (it displays only the proceedings publications): tpcloud show_type_filter="0" type="Proceedings"

Similarly, on another page, I would like to show only the journal articles. However, this one does not work: tpcloud show_type_filter="0" type="Journal Article"

In fact, the latter displays the following message: "Sorry, no publications matched your criteria."

Any clue on this?

aaortizb commented 5 months ago

found that in default-publication-types.php, the correct type is "article". So, this works ok: tpcloud show_type_filter="0" type="article"