Add a rating system

Posted in: Newspaper
Post count: 12

I am trying to add a simple 5 star rating system to my posts. After searching the forum I found this article.

https://www.screencast.com/t/O18mIfA1L

I do not see how to get to that screen. Do you have an updated tutorial for this version?

Post count: 27744

Hello,

When you edit the post, you should see these options at the bottom the post https://www.screencast.com/t/CunJr1MidQT -> https://forum.tagdiv.com/reviews-2/

Thank you!

Post count: 12

When I click on EditPost I see this.

https://www.screencast.com/t/jjP7uGIM4v9

Scrolling to the bottom I see this.

https://www.screencast.com/t/plO7SIsG

I see nothing to activate ratings.

Post count: 27744

Hello,

Please disable the AIOSEO plugin and check after the post settings. Normally it should look like this in the classic editor as well https://www.screencast.com/t/pBa8G3I6OL
The issue can be from a plugin conflict, that’s why, please deactivate ALL plugins except tagDiv ones, also if you are using a child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you!

Post count: 12

Thank you, I now see how the standard rating system works in wordpress and it is not good enough. I need users to input ratings.

So, I tried rate-my-post plug in. And it works great on individual posts. But the ratings do not show up on a category listing like this:

https://www.screencast.com/t/8sSWinpEOV67

After trying a lot of things, I think I need to actually create a child theme and call a function that the plug in provides [rmp_get_visual_rating]. I read your tutorial on creating a child theme, however, I have a couple questions:

Can the child theme be edited in the standard word press theme editor?

What file do you think I need to change to get the stars to show up on the category loop?

No matter what I do, I do not see the impact of my changes. (I have even tried to temporary modify the parent theme, Like change the “-” after author to some other code and it does not show that change either!). This leads me to believe I am either changing the wrong code, or the code I am changing is not getting executed. Help?

Post count: 27744

Hello,

You can edit the child theme with the Standard WordPress theme editor.
You need to edit each module which the block uses.
You can check this topic for some paths https://forum.tagdiv.com/topic/custom-block-dynamic-font/ -> https://i.imgur.com/6qayOqz.png

Thank you!

Post count: 12

Thanks to your guidance I was able to find the module I need to change. It is in
wp-content/plugins/td-cloud-library/modules/tdb-module_loop.php. I am having difficulty getting the child theme to execute this. The directories in the child theme tutorial have all changed. (v8 compared to v11)

I have tried a path of modules/tdb_module_loop.php
td-cloud-library/modules/tdb_module_loop.php
plugins/td-cloud-library/modules/tdb_module_loop.php
wp-content/plugins/td-cloud-library/modules/tdb_module_loop.php

Any guidance on the correct path?

Post count: 35449

Hi lwatson1439 , unfortunately, only files from the standard pack can be set in the child theme https://forum.tagdiv.com/the-child-theme-support-tutorial/ that it is way the paths used by you are not working. I think that it is need for more changes in the theme to understand the path from cloud. So for the moment the only solution that I see is to make the changes in the main files and do not forget to make them after the theme update.
Thank you for your understanding!

Post count: 12

I wanted to thank you for your support. The reason I chose Newspaper was because of the active support forum. It makes all the difference. I was able to integrate “Rate my Post” plug in.
The solution is to add a line to wp-content/plugins/td-cloud-library/modules/tdb-module_loop.
Unfortunately this cannot be done with a child theme. I will try to show you the code in the next post. I seem to have trouble uploading code.

If you don’t see the code, and want the solution feel free to contact me.

Thanks, again

Post count: 35449

HI lwatson1439, I’m glad that you manage to integrate the plugin that you need. Indeed the file that was edited can not be set in a child theme, I’m not quite sure, but to not lost those settings when you update the theme I think that it can be done with some functions that can be set in the child theme or maybe by creating a plugin https://www.wpbeaverbuilder.com/creating-wordpress-plugin-easier-think/ unfortunately, I do not have experience with this (since this is a customization it is handled by custom service).
Thank you!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.