Support » Plugin: ACF-VC Integrator » Star Field Lost

  • Resolved erostad

    (@erostad)


    Hello – the Star Rating feature no longer shows on my website. This just started happening the last week. Any ideas why this isn’t working? Please see the shortcode being called in the blue section to the right of “My Thoughts” in the link above.

    Thanks,
    Erik

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Frederik Rosendahl-Kaa

    (@frederik-rosendahl-kaa)

    Hi @erostad

    It seems that the shortcode you are using is the shotcode that the built-in ACF element in WPBakery creates.
    ACF-VC Integrator uses a shortcode called [acf_vc_integrator] where the one who is built into WPBakery is named [vc_acf]

    But unfortunately I have no explanation why it has stopped working.
    I have done a few tests and it does not seem that the ACF-VC Integrator does so the built-in ACF element breaks.

    I hope you could use the answer even though I couldn’t explain why it didn’t work anymore.

    Best regards
    Frederik

    Ok – if I use ACF-VC Integrator to attempt to add the Star Rating, it says:

    star_rating is not supported

    However, if I use my template’s call-in option for custom fields, it shows the number 4 (as in 4 stars)

    It used to show actual stars

    For return type in custom fields, I have list (fa-awesome), so it should be pulling the stars.

    With these additional details, does that spark any ideas? I need to get this functionality working again.

    Thanks.

    Plugin Author Frederik Rosendahl-Kaa

    (@frederik-rosendahl-kaa)

    Hi,

    Is it one of the ACF built-in fields that you use?

    If it is one of the built-in fields, what is the name of it?
    And is it possible that you would be able to send some of the code you use to make the stars with.

    If it is not an ACF built-in field, Then I need a URL or to get told where I can download the field you are using to be able to help you.
    I have only made support for the built-in fields but it is possible to add support for new fields with some code.

    Best regards
    Frederik

    Plugin Author Frederik Rosendahl-Kaa

    (@frederik-rosendahl-kaa)

    Hi @erostad

    Here is a link to a Github Gist ( https://gist.github.com/frederikrosendahlkaa/b32c02bcbe71a7c7f44027f8cfd0f0bd ) the only thing you have to do with the code is to put it in your function.php in the theme or child theme.

    However, you will need to update the ACF-VC Integrator to the latest version (1.7.2) that I have just released to get the code to work as there is an error in version 1.7.1 the error means that you cannot use the filter hook as used in the code I have linked to

    I hope it solves your problem, if not, then just write again and then I try to take a look at it again.

    Best regards
    Frederik

    Thanks – we’re getting closer. Now, the stars don’t align :). They run up and down as seen on this page. Any idea on how to get them to show in a row? I really appreciate your help with this:

    https://www.booksoftitans.com/book/man-in-the-mirror/

    Plugin Author Frederik Rosendahl-Kaa

    (@frederik-rosendahl-kaa)

    You are welcome 🙂
    I’m not quite sure what you mean by the run up and down.
    When I look at the page, the stars are shown next to each other, but they are not on the same line as My Rating.
    If you use this CSS you can get My Rating and star up on the same line.

    .field_type-star_rating_field {
    float: right;
    }

    Unfortunately I do not know how much more I can help you because I do not know the rest of the website’s css.

    Best regards
    Frederik

    Thanks! I was able to get it to how I want it based upon your CSS help above. I really appreciate it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Star Field Lost’ is closed to new replies.