• Cześć,

    Używam pluginu GD Star Rating do oceniania postów w którym jest również możliwość umieszczenia widgetu w kokpicie z ostatnimi ocenami postów.
    Czy istnieje możliwość, żeby ten widget z kokpitu przenieść na główną stronę, tak aby dla wszystkich był widoczny?

    Dzięki

Viewing 5 replies - 1 through 5 (of 5 total)
  • https://support.dev4press.com/kb/reference/gdrts_stars_review_list/

    [gdrts_stars_review_list]

    List of attributes
    type: entity and name of the type connected with dot like this: {entity}.{name} and both are required.
    class: CSS class for the shortcode wrapper.
    orderby: sorting of the results list. Supported values: rating, item, id, latest.
    order: sorting order. Supported values: ASC, DESC.
    limit: number of results to display. Default: 5.
    rating_min: minimal rating to show. Default: 0.
    template: name of the template to use for display. Supported values: shortcode, widget. List of templates can be expanded, and list of all available templates is listed on the Templates panel in Information menu. This shortcode can use templates listed under Stars Rating / Ratings List.
    style_type: what to use, font icons or images. Supported values: font, image.
    style_font_name: name of the font icon to use. Supported values: star, bell, heart, asterisk, square, circle, gear, trophy, like, snowflake.
    style_image_name: name of the image to use: Supported values: star, oxygen. Pro version has also: christmas, crystal, hearts, snowflake.
    style_size: size in pixels for the font icon or image.
    style_class: additional CSS class to add to rating block wrapper.
    terms: comma separated list of Term ID’s. Used only for posts.
    authors: comma separated list of author ID’s. Used only for posts.

    Example
    [gdrts_stars_review_list type=”posts.post” limit=10
    template=”shortcode” style_size=20 style_type=”font”
    style_font_name=”heart”]

    Twórca wątku Genosajd

    (@genosajd)

    Dziękuję za odpowiedź, ale chodzi mi o zupełnie inną wtyczkę. Mam na myśli GD Star Rating, a nie GD Rating System.

    Oczywiście na mojej wtyczce ten shortcode nie działa.

    Może jeszcze jakieś pomysły?

    aaaa… o tego starocia biega, czy o inna jeszcze? https://pl.wordpress.org/plugins/gd-star-rating/ – jeżeli o tą, to sugerował bym zmianę na inną.

    Ale jak byś się upierał, to widget możesz wstawić w treść w Gutenbergu lub innym page builderze.
    Ewentualnie skorzystać np. z wtyczki https://wordpress.org/plugins/widget-shortcode/

    Twórca wątku Genosajd

    (@genosajd)

    aaaa… o tego starocia biega, czy o inna jeszcze? https://pl.wordpress.org/plugins/gd-star-rating/ – jeżeli o tą, to sugerował bym zmianę na inną.

    Tak, dokładnie o tego dziada mi chodzi!

    Zainstalowałem tą wtyczkę do widgetów i mój plugin pokazuje brak ocen, nawet udało mi się odnaleźć funkcję odpowiedzialną za wyświetlanie widgeta

    wp_gdsr_render_star_rating_widget($widget = array(),
    $echo = true)

    i nadal pokazuje brak ocen. Widocznie GD Star Rating nie jest kompatybilny z nowymi WordPressami.

    Przesiadłem się na GD Rating System, zaimportowałem wszystkie oceny, był nawet do niego widget, tyle że wyświetlał najwyższe oceny, ostatnich już nie.

    Pozostało mi jedynie obejść się smakiem.

    tyle że wyświetlał najwyższe oceny, ostatnich już nie

    W widgecie wejdź w zakładkę Content i zmień pole Order by na Latest Vote

Viewing 5 replies - 1 through 5 (of 5 total)
  • Temat ‘Umieszczenie widgetu z kokpitu na stronie głównej’ jest zamknięty na nowe odpowiedzi.