Using Alternative Review System

Posted in: Newsmag
Post count: 39

Hello,

I am moving from another theme. That theme had over 1000 reviews done in a 3rd party review system. I am moving over to the new theme but would like to keep using that review system. It is clean and works for our needs.

The issue I am having is I am trying to implement it so the theme reads the scores along with displays this custom post type of “Reviews” I could just hack the core files, but I wanted to know if it would be possible to implement this using the child theme, as to not hamper updating the theme in the future.

The review system seems to be very simple in the way it outputs data. Here is an example:

// Get the review image
$review_image = get_post_meta( get_the_ID(), ‘blu_review_image’, true );

// Render an image on the page
echo ‘‘;

let me know your thoughts.

Thanks for any help!

Post count: 6600

Hi,

The reviews are added on posts using the review function placed in the td_module_single.php file which is editable via child theme: http://screencast.com/t/9uweXAh5nvQd
You could try to alter the code for it and implement your own review system there via child theme.
The theme’s review system is build in the td_review file: http://screencast.com/t/NrjhFpwjIB which is not editable via child theme so if you need or want to alter the code here you would have to do it to main theme’s files.
You can find more info about child theme and editable files here: https://forum.tagdiv.com/child-theme-documentation-newsmag/
Hope this helps!

Thanks

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