Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Custom Fields & Image URLs

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26279
    Trozdol
    Participant

    Alright! Here’s what I am trying to do…

    I am working on a WordPress site based on game reviews. The friend I am doing the site for requested the option to add rating stars to represent their opinion of the game. What I did was create 5 png images that could be included in the post for whichever rating they wanted (3-star.png ect.) That currently works fine if they put in the entire url of the image. I want this to be a bit more simple so I was wondering if there is a way that I could do something like…

    Code:

    ID, ‘rating’, true); if ($postimageurl) { ?>

    http://domain.com/wp-content/themes/mytheme/images/s-star.png’. I’m a total newbie to custom fields and PHP :)

    I hope that makes sense.

    Thanks

    #64818

    Check out Star Rating for Reviews plug-in for WordPress. Install and activate the plugin then all you need to do is add

    Code:
    [Rating:3.5]

    to your post to get a 5-star rating appear.

    #64819
    Trozdol
    Participant

    Cool! Thanks, davesgonebananas! :) I tried looking for a plugin that wasn’t for public rating and had no luck. I’ll give this a shot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.