• Resolved videosurfer

    (@videosurfer)


    GD Star Rating has a brilliant template system. However one feature it does not have is the ability to pull custom meta-data. I am looking for a way to pull custom post meta-data into the multirating results.

    I don’t think this would be too hard to do, given that you can pull exerpts, author links, titles, slugs, etc from posts that have been rated.

    Does anyone have any suggestions (I assume the code would need to be customized for this, but if not that would be a plus)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, in fact you can get any data. T2 template system I developed for GD Star Rating can be expanded using filters to include more tags that supported by the plugin.

    Check out render.php in code/t2 folder. Each rendering method for each template has filters allowing expanding. Also, check filters.html in info folder for more details.

    I work now on T3 templates system that will be able to run PHP even inside the template (it’s in development, but it’s already used by my GD aZon FUSION plugin: https://www.dev4press.com/plugins/gd-azon-fusion/)

    Thread Starter videosurfer

    (@videosurfer)

    Thank you Milan, this helped a lot.

    What I did:

    In render.php I created a new string (call it %STRING%) of the meta-tag I wanted to include in the multirating result. I then called it through the get_post_meta() function and passed it as the %STRING% result.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Include custom post meta-data into multirating’ is closed to new replies.