Vahan
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Build a Gutenberg blockhi @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!
Forum: Developing with WordPress
In reply to: Block Editor InserterThanks for your help! ??
Forum: Developing with WordPress
In reply to: Block Editor InserterHi @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,
VahanForum: Developing with WordPress
In reply to: Block Editor InserterHi @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!
VahanHi 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.
Forum: Plugins
In reply to: [LiteSpeed Cache] “Site reviews” reviewer avatars are brokenForum: Plugins
In reply to: [Site Reviews] Paginate without reloading the pagehi @geminilabs ,
Thank you, it works.
Forum: Plugins
In reply to: [Site Reviews] Duplicated reviewshi @geminilabs , great, it works. Thank you!
Forum: Plugins
In reply to: [Site Reviews] Duplicated reviewshi @geminilabs
One question, is there a way to delete all reviews?
Just FYI, I have 270k reviews to delete.Thanks
Forum: Plugins
In reply to: [Site Reviews] Duplicated reviewsOk.
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
Forum: Plugins
In reply to: [Site Reviews] Print a stars and rating info onlyThank you, for fast reply also!
Forum: Plugins
In reply to: [Site Reviews] Print a stars and rating info onlyhi 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,
VahanIt works perfect! Thank you.
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 ) )
Forum: Plugins
In reply to: [ReOrder Posts within Categories] Post are missing of the categoryhere 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.