QuestionsCategory: Technical QuestionsMultiple glossaries organized by category
kvangorp
asked 3 weeks ago
Hello, I would like to have 2 separate glossaries on my site, organized by category. Is there a way to modify the shortcode so that it displays only one category? Thanks! 
2 Answers
tech Staff
answered 3 weeks ago

Hi,

You can open the emo-glossary.php file and find lines 272 to line 354, replace them  with the following code:

https://snippi.app/m/6769035226e70cdb2d00f289

Display glossary items in 4 columns filtered by a category slug:

[em-glossary col="4" cat="example-category" order_by="date" order="DESC"]

 

kvangorp
replied 3 weeks ago

Hello, I replaced the code as instructed and added the slug but I am getting the message “No glossary Found”

Please advise.

techStaff
replied 3 weeks ago

Could you send me the admin to access the Dashboard? I will access and check the issue.

tech Staff
answered 2 weeks ago
I have updated the code and created a page with the shortcode and see that it working fine, you can check the page here: 
https://wordpress-1325761-4927965.cloudwaysapps.com/wp-admin/post.php?post=678&action=edit

Also, Please use private answer when provide the information. 

Please login or Register to submit your answer