Forum Replies Created

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

    (@vahan889)

    hi @mjani ,

    Thanks for the reply.

    I got you and added a webpack.config.js file:

    const defaultConfig = require('@wordpress/scripts/config/webpack.config.js');

    module.exports = {
    ...defaultConfig,
    optimization: {
    splitChunks: {
    chunks: 'none',
    },
    },
    };

    But when I run this command wp-scripts build --webpack-src-dir=blocks/{the_block}/src --output-path=blocks/{the_block}/build it outputs this – see screenshot.

    Can you help me to figure it out what to setup?

    Thank you!

    Thread Starter Vahan

    (@vahan889)

    Thanks for your help! ??

    Thread Starter Vahan

    (@vahan889)

    Hi @aaronrobertshaw ,

    I got you, but can you explain what means “customize the?DefaultBlockAppender“? This is a JS function, is there a way (hooks maybe) to customize it? Or how?

    And can you share some documentation how to do this: “add a?renderAppender?function to a custom block that uses?InnerBlocks“? Because I didn’t find useful article for that.

    Thanks for your help!

    Regards,
    Vahan

    Thread Starter Vahan

    (@vahan889)

    Hi @aaronrobertshaw ??,

    Thanks for the reply.

    Yes, you are right about the second point, I want to add a button next to the insert button (“+”) and I agree with you about the user experience.

    That’s why I am also looking for a solution of the first point. I want to add a button like this. Do you have any suggestions for this case (first point)?

    Thank you!
    Vahan

    Thread Starter Vahan

    (@vahan889)

    Hi Adam.

    Thanks for the details. By the way, I just didn’t see an update option for this plugin and thought it was the latest version.

    So thanks for letting me know.

    Thread Starter Vahan

    (@vahan889)

    hi @qtwrk ,

    I fixed the issue disabling Gravatar Cache?option.

    Thanks

    Thread Starter Vahan

    (@vahan889)

    hi @geminilabs ,

    Thank you, it works.

    Thread Starter Vahan

    (@vahan889)

    hi @geminilabs , great, it works. Thank you!

    Thread Starter Vahan

    (@vahan889)

    hi @geminilabs

    One question, is there a way to delete all reviews?
    Just FYI, I have 270k reviews to delete.

    Thanks

    Thread Starter Vahan

    (@vahan889)

    Ok.

    I want to share one thing with you: I see a problem in the exported data. I used the option to export assigned posts in post_type:slug format, but in the CSV file, part of the slug is missing for existing posts (not all).

    Thanks

    Thread Starter Vahan

    (@vahan889)

    Thank you, for fast reply also!

    Thread Starter Vahan

    (@vahan889)

    hi Team,

    I just want to understand full usage of the site_reviews_summary this shortcode, can I use a hide attribute to hide text part or percentages part.

    BTW, if you have a full documentation URL please share it with me (I can’t find).

    Thanks in advance,
    Vahan

    Thread Starter Vahan

    (@vahan889)

    It works perfect! Thank you.

    Thread Starter Vahan

    (@vahan889)

    FYI, here is backtrace:

    Array
    (
    [0] => Array
        (
            [file] => [...]/public_html/wp-includes/query.php
            [line] => 341
        )
    [1] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/woocommerce/includes/wc-conditional-functions.php
            [line] => 59
        )
    
    [2] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/smart-search-for-woocommerce/includes/class-search.php
            [line] => 409
        )
    
    [3] => Array
        (
            [file] => [...]/public_html/wp-includes/class-wp-hook.php
            [line] => 310
        )
    
    [4] => Array
        (
            [file] => [...]/public_html/wp-includes/plugin.php
            [line] => 256
        )
    
    [5] => Array
        (
            [file] => [...]/public_html/wp-includes/class-wp-query.php
            [line] => 3147
        )
    
    [6] => Array
        (
            [file] => [...]/public_html/wp-includes/class-wp-query.php
            [line] => 3800
        )
    
    [7] => Array
        (
            [file] => [...]/public_html/wp-includes/post.php
            [line] => 2441
        )
    
    [8] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/woocommerce-order-status-manager/src/wc-order-status-manager-functions.php
            [line] => 53
        )
    
    [9] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/woocommerce-order-status-manager/class-wc-order-status-manager.php
            [line] => 259
        )
    
    [10] => Array
        (
            [file] => [...]/public_html/wp-includes/class-wp-hook.php
            [line] => 310
        )
    
    [11] => Array
        (
            [file] => [...]/public_html/wp-includes/plugin.php
            [line] => 205
        )
    
    [12] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php
            [line] => 106
        )
    
    [13] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-tweeter.php
            [line] => 82
        )
    
    [14] => Array
        (
            [file] => [...]/public_html/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/twitter/class-fue-addon-twitter-scheduler.php
            [line] => 165
        )
    
    [15] => Array
        (
            [file] => [...]/public_html/wp-includes/class-wp-hook.php
            [line] => 310
        )
    
    [16] => Array
        (
            [file] => [...]/public_html/wp-includes/class-wp-hook.php
            [line] => 334
        )
    
    [17] => Array
        (
            [file] => [...]/public_html/wp-includes/plugin.php
            [line] => 517
        )
    
    [18] => Array
        (
            [file] => [...]/public_html/wp-settings.php
            [line] => 495
        )
    
    [19] => Array
        (
            [file] => [...]/public_html/wp-config.php
            [line] => 94
        )
    
    [20] => Array
        (
            [file] => [...]/public_html/wp-load.php
            [line] => 50
        )
    
    [21] => Array
        (
            [file] => [...]/public_html/wp-blog-header.php
            [line] => 13
        )
    
    [22] => Array
        (
            [file] => [...]/public_html/index.php
            [line] => 17
        )
    )
    Thread Starter Vahan

    (@vahan889)

    here is the args of WP_Query:

    Array
    (
        [post_type] => my-post-type
        [meta_key] => visibility
        [meta_value] => visible
        [tax_query] => Array
            (
                [0] => Array
                    (
                        [taxonomy] => my-category
                        [field] => id
                        [terms] => 31
                    )
            )
        [paged] => 1
        [posts_per_page] => 25
        [orderby] => menu_order
        [order] => ASC
    )

    here is the request:

    SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts
    LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id)
    INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id )
    INNER JOIN wp_reorder_post_rel ON wp_posts.ID = wp_reorder_post_rel.post_id and incl = 1
    WHERE 1=1  AND ( 
      wp_term_relationships.term_taxonomy_id IN (31)
    ) AND ( 
      ( wp_postmeta.meta_key = 'visibility' AND wp_postmeta.meta_value = 'visible' )
    ) AND wp_posts.post_type = 'my-post-type' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled')
    AND wp_reorder_post_rel.category_id = '31'
    GROUP BY wp_posts.ID
    ORDER BY wp_reorder_post_rel.id ASC
    LIMIT 0, 25

    You can see here that added wp_reorder_post_rel.category_id = ’31’ this line and this term has only one post but in the wp_reorder_post_rel table there is no any information about the term.

Viewing 15 replies - 1 through 15 (of 20 total)