Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter gusakdmitry

    (@gusakdmitry)

    I already guessed to replace “–” myself, the error disappeared, but breadcrumbs did not appear on the shop pages: https://exileiuy.beget.tech/product/first-product/
    Оn other pages breadcrumbs are displayed: https://exileiuy.beget.tech/sample-page/
    What am I doing wrong?

    Thread Starter gusakdmitry

    (@gusakdmitry)

    I used navxt and it works properly, but not on the store pages ˉ\_(ツ)_/ˉ
    Breadcrumbs did not appear on the store pages: https://exileiuy.beget.tech/product/first-product/
    Оn other pages breadcrumbs are displayed: https://exileiuy.beget.tech/sample-page/

    Thread Starter gusakdmitry

    (@gusakdmitry)

    I found the source of the problem – TinyMCE Advanced!

    Thread Starter gusakdmitry

    (@gusakdmitry)

    Link to support page opens empty page ˉ\_(ツ)_/ˉ

    I deactivated all plugins and changed the theme on the site and it didn’t help. I also tried to make a separate set of rows and columns for mobile, this led to the fact that the products did not load at all and I watched the endless rotation of the animated circle.

    Thread Starter gusakdmitry

    (@gusakdmitry)

    Thank you, I already guessed to do this myself. Unfortunately, there is another problem that I wrote about here. I bypassed it, but it is still relevant. The text and the “read more” button of the Portfolio section are not displayed on the iPhone.

    Thread Starter gusakdmitry

    (@gusakdmitry)

    Please help!

    Thread Starter gusakdmitry

    (@gusakdmitry)

    Nothing changes afher update: https://top.gusakdmitry.ru/help/

    Thread Starter gusakdmitry

    (@gusakdmitry)

    After activating the plugin, a white bar appears on top of the entire menu. On the help page, the department selection button does not respond to pressing.

    Thread Starter gusakdmitry

    (@gusakdmitry)

    I have the latest version – 7.4.7, what’s wrong?

    Thread Starter gusakdmitry

    (@gusakdmitry)

    WordPress Information
    WP Version: 5.4.2
    WP Memory Limit: 256 MB
    WP Debug Mode: No
    WP Cron: Yes
    Language: ru_RU
    Server Information
    Server Info: Apache/2.2.33-dev (Unix) mod_ssl/2.2.33-dev OpenSSL/1.0.1e-fips Phusion_Passenger/5.1.12 PHP/7.4.7 mod_wsgi/4.6.2 Python/3.6
    CGI Version: CGI/1.1
    PHP Version: 7.4.7
    PHP Post Max Size: 256 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0, NSS/3.44
    SUHOSIN Installed: –
    MySQL Version: 5.7.30
    Max Upload Size: 256 MB
    Default Timezone is UTC: Yes
    PHP Error Log File Location:
    PHP Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, ldap, mbstring, standard, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, imap, shmop, SimpleXML, soap, sockets, exif, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, apache2handler, imagick, memcached, redis, mongodb, Zend OPcache
    fsockopen/cURL: Yes
    SoapClient: Yes
    DOMDocument: Yes
    GZip: Yes
    Multibyte String: Yes
    Remote Get Status: Yes

    Thread Starter gusakdmitry

    (@gusakdmitry)

    So what should I do?

    Thread Starter gusakdmitry

    (@gusakdmitry)

    Here is the result:

    
    WP_Query Object
    (
        [query] => Array
            (
                [meta_query] => Array
                    (
                        [0] => Array
                            (
                                [key] => _glsr_ranking
                                [compare] => >
                                [value] => 0
                            )
    
                    )
    
                [order] => DESC
                [orderby] => meta_value_num
                [post_status] => publish
                [post_type] => post
                [posts_per_page] => 10
            )
    
        [query_vars] => Array
            (
                [meta_query] => Array
                    (
                        [0] => Array
                            (
                                [key] => _glsr_ranking
                                [compare] => >
                                [value] => 0
                            )
    
                    )
    
                [order] => DESC
                [orderby] => meta_value_num
                [post_status] => publish
                [post_type] => post
                [posts_per_page] => 10
                [error] => 
                [m] => 
                [p] => 0
                [post_parent] => 
                [subpost] => 
                [subpost_id] => 
                [attachment] => 
                [attachment_id] => 0
                [name] => 
                [pagename] => 
                [page_id] => 0
                [second] => 
                [minute] => 
                [hour] => 
                [day] => 0
                [monthnum] => 0
                [year] => 0
                [w] => 0
                [category_name] => 
                [tag] => 
                [cat] => 
                [tag_id] => 
                [author] => 
                [author_name] => 
                [feed] => 
                [tb] => 
                [paged] => 0
                [meta_key] => 
                [meta_value] => 
                [preview] => 
                [s] => 
                [sentence] => 
                [title] => 
                [fields] => 
                [menu_order] => 
                [embed] => 
                [category__in] => Array
                    (
                    )
    
                [category__not_in] => Array
                    (
                    )
    
                [category__and] => Array
                    (
                    )
    
                [post__in] => Array
                    (
                    )
    
                [post__not_in] => Array
                    (
                    )
    
                [post_name__in] => Array
                    (
                    )
    
                [tag__in] => Array
                    (
                    )
    
                [tag__not_in] => Array
                    (
                    )
    
                [tag__and] => Array
                    (
                    )
    
                [tag_slug__in] => Array
                    (
                    )
    
                [tag_slug__and] => Array
                    (
                    )
    
                [post_parent__in] => Array
                    (
                    )
    
                [post_parent__not_in] => Array
                    (
                    )
    
                [author__in] => Array
                    (
                    )
    
                [author__not_in] => Array
                    (
                    )
    
                [ignore_sticky_posts] => 
                [suppress_filters] => 
                [cache_results] => 1
                [update_post_term_cache] => 1
                [lazy_load_term_meta] => 1
                [update_post_meta_cache] => 1
                [nopaging] => 
                [comments_per_page] => 50
                [no_found_rows] => 
            )
    
        [tax_query] => WP_Tax_Query Object
            (
                [queries] => Array
                    (
                    )
    
                [relation] => AND
                [table_aliases:protected] => Array
                    (
                    )
    
                [queried_terms] => Array
                    (
                    )
    
                [primary_table] => wp_posts
                [primary_id_column] => ID
            )
    
        [meta_query] => WP_Meta_Query Object
            (
                [queries] => Array
                    (
                        [0] => Array
                            (
                                [key] => _glsr_ranking
                                [compare] => >
                                [value] => 0
                            )
    
                        [relation] => OR
                    )
    
                [relation] => AND
                [meta_table] => wp_postmeta
                [meta_id_column] => post_id
                [primary_table] => wp_posts
                [primary_id_column] => ID
                [table_aliases:protected] => Array
                    (
                        [0] => wp_postmeta
                    )
    
                [clauses:protected] => Array
                    (
                        [wp_postmeta] => Array
                            (
                                [key] => _glsr_ranking
                                [compare] => >
                                [value] => 0
                                [compare_key] => =
                                [alias] => wp_postmeta
                                [cast] => CHAR
                            )
    
                    )
    
                [has_or_relation:protected] => 
            )
    
        [date_query] => 
        [request] => SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1  AND ( 
      ( wp_postmeta.meta_key = '_glsr_ranking' AND wp_postmeta.meta_value > '0' )
    ) AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_postmeta.meta_value+0 DESC LIMIT 0, 10
        [posts] => Array
            (
                [0] => WP_Post Object
                    (
                        [ID] => 5
                        [post_author] => 1
                        [post_date] => 2020-06-02 20:27:36
                        [post_date_gmt] => 2020-06-02 17:27:36
                        [post_content] => <!-- wp:site-reviews/summary {"assigned_to":"post_id","post_id":"5"} /-->
    
    <!-- wp:paragraph -->
    <p></p>
    <!-- /wp:paragraph -->
    
    <!-- wp:site-reviews/reviews {"assigned_to":"post_id","post_id":"5"} /-->
    
    <!-- wp:site-reviews/form {"assign_to":"post_id","category":"5"} /-->
                        [post_title] => Никита
                        [post_excerpt] => 
                        [post_status] => publish
                        [comment_status] => closed
                        [ping_status] => closed
                        [post_password] => 
                        [post_name] => nikita
                        [to_ping] => 
                        [pinged] => 
                        [post_modified] => 2020-06-02 22:09:27
                        [post_modified_gmt] => 2020-06-02 19:09:27
                        [post_content_filtered] => 
                        [post_parent] => 0
                        [guid] => https://top.gusakdmitry.ru/?p=5
                        [menu_order] => 4
                        [post_type] => post
                        [post_mime_type] => 
                        [comment_count] => 0
                        [filter] => raw
                    )
    
                [1] => WP_Post Object
                    (
                        [ID] => 30
                        [post_author] => 1
                        [post_date] => 2020-06-03 02:01:50
                        [post_date_gmt] => 2020-06-02 23:01:50
                        [post_content] => <!-- wp:site-reviews/summary {"assigned_to":"post_id","post_id":"22"} /-->
    
    <!-- wp:paragraph -->
    <p></p>
    <!-- /wp:paragraph -->
    
    <!-- wp:site-reviews/reviews {"assigned_to":"post_id","post_id":"22"} /-->
    
    <!-- wp:site-reviews/form {"assign_to":"post_id","category":"4"} /-->
                        [post_title] => Товар 2
                        [post_excerpt] => 
                        [post_status] => publish
                        [comment_status] => open
                        [ping_status] => open
                        [post_password] => 
                        [post_name] => product-2
                        [to_ping] => 
                        [pinged] => 
                        [post_modified] => 2020-06-04 03:08:18
                        [post_modified_gmt] => 2020-06-04 00:08:18
                        [post_content_filtered] => 
                        [post_parent] => 0
                        [guid] => https://top.gusakdmitry.ru/?p=30
                        [menu_order] => 1
                        [post_type] => post
                        [post_mime_type] => 
                        [comment_count] => 0
                        [filter] => raw
                    )
    
                [2] => WP_Post Object
                    (
                        [ID] => 20
                        [post_author] => 1
                        [post_date] => 2020-06-02 22:03:29
                        [post_date_gmt] => 2020-06-02 19:03:29
                        [post_content] => <!-- wp:site-reviews/summary {"assigned_to":"post_id","post_id":"20"} /-->
    
    <!-- wp:site-reviews/reviews {"assigned_to":"post_id","post_id":"20"} /-->
    
    <!-- wp:site-reviews/form {"assign_to":"post_id","category":"5"} /-->
                        [post_title] => Иван
                        [post_excerpt] => 
                        [post_status] => publish
                        [comment_status] => closed
                        [ping_status] => closed
                        [post_password] => 
                        [post_name] => ivan
                        [to_ping] => 
                        [pinged] => 
                        [post_modified] => 2020-06-02 22:11:58
                        [post_modified_gmt] => 2020-06-02 19:11:58
                        [post_content_filtered] => 
                        [post_parent] => 0
                        [guid] => https://top.gusakdmitry.ru/?p=20
                        [menu_order] => 3
                        [post_type] => post
                        [post_mime_type] => 
                        [comment_count] => 0
                        [filter] => raw
                    )
    
                [3] => WP_Post Object
                    (
                        [ID] => 22
                        [post_author] => 1
                        [post_date] => 2020-06-02 22:06:04
                        [post_date_gmt] => 2020-06-02 19:06:04
                        [post_content] => <!-- wp:site-reviews/summary {"assigned_to":"post_id","post_id":"22"} /-->
    
    <!-- wp:paragraph -->
    <p></p>
    <!-- /wp:paragraph -->
    
    <!-- wp:site-reviews/reviews {"assigned_to":"post_id","post_id":"22"} /-->
    
    <!-- wp:site-reviews/form {"assign_to":"post_id","category":"4"} /-->
                        [post_title] => Товар 1
                        [post_excerpt] => 
                        [post_status] => publish
                        [comment_status] => closed
                        [ping_status] => closed
                        [post_password] => 
                        [post_name] => product-1
                        [to_ping] => 
                        [pinged] => 
                        [post_modified] => 2020-06-03 01:40:27
                        [post_modified_gmt] => 2020-06-02 22:40:27
                        [post_content_filtered] => 
                        [post_parent] => 0
                        [guid] => https://top.gusakdmitry.ru/?p=22
                        [menu_order] => 2
                        [post_type] => post
                        [post_mime_type] => 
                        [comment_count] => 0
                        [filter] => raw
                    )
    
            )
    
        [post_count] => 4
        [current_post] => -1
        [in_the_loop] => 
        [post] => WP_Post Object
            (
                [ID] => 5
                [post_author] => 1
                [post_date] => 2020-06-02 20:27:36
                [post_date_gmt] => 2020-06-02 17:27:36
                [post_content] => <!-- wp:site-reviews/summary {"assigned_to":"post_id","post_id":"5"} /-->
    
    <!-- wp:paragraph -->
    <p></p>
    <!-- /wp:paragraph -->
    
    <!-- wp:site-reviews/reviews {"assigned_to":"post_id","post_id":"5"} /-->
    
    <!-- wp:site-reviews/form {"assign_to":"post_id","category":"5"} /-->
                [post_title] => Никита
                [post_excerpt] => 
                [post_status] => publish
                [comment_status] => closed
                [ping_status] => closed
                [post_password] => 
                [post_name] => nikita
                [to_ping] => 
                [pinged] => 
                [post_modified] => 2020-06-02 22:09:27
                [post_modified_gmt] => 2020-06-02 19:09:27
                [post_content_filtered] => 
                [post_parent] => 0
                [guid] => https://top.gusakdmitry.ru/?p=5
                [menu_order] => 4
                [post_type] => post
                [post_mime_type] => 
                [comment_count] => 0
                [filter] => raw
            )
    
        [comment_count] => 0
        [current_comment] => -1
        [found_posts] => 4
        [max_num_pages] => 1
        [max_num_comment_pages] => 0
        [is_single] => 
        [is_preview] => 
        [is_page] => 
        [is_archive] => 
        [is_date] => 
        [is_year] => 
        [is_month] => 
        [is_day] => 
        [is_time] => 
        [is_author] => 
        [is_category] => 
        [is_tag] => 
        [is_tax] => 
        [is_search] => 
        [is_feed] => 
        [is_comment_feed] => 
        [is_trackback] => 
        [is_home] => 1
        [is_privacy_policy] => 
        [is_404] => 
        [is_embed] => 
        [is_paged] => 
        [is_admin] => 
        [is_attachment] => 
        [is_singular] => 
        [is_robots] => 
        [is_favicon] => 
        [is_posts_page] => 
        [is_post_type_archive] => 
        [query_vars_hash:WP_Query:private] => d7e9ef92e10fc49bc6e01b60ae0f0591
        [query_vars_changed:WP_Query:private] => 
        [thumbnails_cached] => 
        [stopwords:WP_Query:private] => 
        [compat_fields:WP_Query:private] => Array
            (
                [0] => query_vars_hash
                [1] => query_vars_changed
            )
    
        [compat_methods:WP_Query:private] => Array
            (
                [0] => init_query_flags
                [1] => parse_tax_query
            )
    
    )
    
    Thread Starter gusakdmitry

    (@gusakdmitry)

    Maybe I’m just adding this code to the wrong place?

    if( $query->have_posts() ) {
    while( $query->have_posts() ) {
    $query->the_post();
    $average = sprintf( '%s (average rating: %s)',
    get_the_title(),
    get_post_meta( $post->ID, '_glsr_average', true )
    );
    $ranking = sprintf( '%s (ranking: %s)',
    get_the_title(),
    get_post_meta( $post->ID, '_glsr_ranking', true )
    );
    apply_filters( 'glsr_debug', 'Site Reviews is not installed', $average, $ranking );
    }
    wp_reset_postdata();
    }

    How to do it right?

    Thread Starter gusakdmitry

    (@gusakdmitry)

    “Recalculate Summary Counts” did not help
    Plugin https://www.ads-software.com/plugins/ultimate-posts-widget/ works correctly, but I need to organize the output of posts to the page, and not to the sidebar.

    Thread Starter gusakdmitry

    (@gusakdmitry)

    This is what a typical post code looks like:

    <!-- wp:site-reviews/summary {"assigned_to":"post_id","post_id":"22"} /-->
    
    <!-- wp:paragraph -->
    <p></p>
    <!-- /wp:paragraph -->
    
    <!-- wp:site-reviews/reviews {"assigned_to":"post_id","post_id":"22"} /-->
    
    <!-- wp:site-reviews/form {"assign_to":"post_id","category":"4"} /-->

    And this is the code on the page where I want to organize the output of the results

    <?php
    $query = new WP_Query([
    'meta_query' => [
    ['key' => '_glsr_ranking', 'compare' => '>', 'value' => 0],
    ],
    'order' => 'DESC',
    'orderby' => 'meta_value_num',
    'post_status' => 'publish',
    'post_type' => 'post', // change this as needed
    'posts_per_page' => 10, // change this as needed
    ]);
    
    if( $query->have_posts() ) {
    while( $query->have_posts() ) {
    $query->the_post();
    $average = sprintf( '%s (average rating: %s)',
    get_the_title(),
    get_post_meta( $post->ID, '_glsr_average', true )
    );
    $ranking = sprintf( '%s (ranking: %s)',
    get_the_title(),
    get_post_meta( $post->ID, '_glsr_ranking', true )
    );
    apply_filters( 'glsr_debug', 'Site Reviews is not installed', $average, $ranking );
    }
    wp_reset_postdata();
    }
    
Viewing 15 replies - 1 through 15 (of 15 total)