• genepine

    (@genepine)


    Hi, Thanks nice simple plugin.

    WordPress 6.6.2 (Twenty Twenty-Four
    PHP 8.3.8
    mysqlnd 8.3.8
    (localwp

    I cannot get star values ​​from custom fields (Star Rating).

    Set the New custom fields to Star_Rating, value is 4.
    Set(input) the key on the Rating Settings to Star Rating, out focus the cursor, the key(Star_Rating) will disappear.

    Reproducing movie
    https://jmp.sh/24ITqUSs

    Is it correct the spec?

    And I want to output the value when displaying the list of posts using a query loop.
    If I can get the value from the custom field, can I display the rating value even in the query loop?

    • This topic was modified 7 months ago by genepine. Reason: add movie and photo, emviroment
    • This topic was modified 7 months ago by genepine.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author MartinCV

    (@martin7ba)

    @genepine Hi, you need to select the custom field in the right sidebar where it says Custom Field key. Does the field shows there in the list?

    Thread Starter genepine

    (@genepine)

    @martin7ba Hi, thanks reply.

    No, Custom Field key not show the list, Custom Field – “Star Rating” , That can do imput the charactor, but it comes to empty.

    Reproducing movie
    https://jmp.sh/24ITqUSs

    • This reply was modified 7 months ago by genepine.
    Plugin Author MartinCV

    (@martin7ba)

    @genepine Is that an ACF field that you are trying to load or just the default WordPress custom fields?

    Thread Starter genepine

    (@genepine)

    @martin7ba Hi, I’m trying default WordPress custom fields.
    https://jmp.sh/Dp5ztNjS

    • This reply was modified 4 months ago by genepine.
    Plugin Author MartinCV

    (@martin7ba)

    @genepine I found what the issue is, I will push an update to the plugin tomorrow.

    Plugin Author MartinCV

    (@martin7ba)

    @genepine Hi, I pushed an update, version 0.2. You can try it.

    When using the default WP custom fields, first you need to set the custom field and update the post / page and then you can see it in the list of the stars block. It will not show if the post is not saved (this only for first publish of the post) because it is not yet saved in the database and is not fetched.

    Let me know if it works.

    Best,
    Martin

    Thread Starter genepine

    (@genepine)

    Hi
    Custom Field key “footnote” is shown, but not show the list “StarRating” field.
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.