Archived topic
Star Rating system disabled after update
5 replies · Started by russel on February 11, 2022
regarding this topic: https://generatepress.com/forums/topic/star-rating-system/
the star rating system is disabled after I update the theme.
Could you help me reinsert the codes?
I will send my logins
Hi there,
Where did you add that function before?
Make sure you are using one of these methods:
Adding PHP: https://docs.generatepress.com/article/adding-php/
are you referring to the article where I insert the shortcode or the PHP itself?
Hi there,
Leo is referring to where you added the PHP Snippet.
The doc he linked to explains how you should add it - for reference:
I think I added it in "Theme Functions" before.
But I just updated the themes and I can't sem to find it now
Yup - the entire theme folder is replaced during updates. Therefore you won’t find the previous code after the update.
You will need to use one of the methods I linked above.