How to set product category base the same as shop base in WooCommerce?
Lots of people dealing with the same issue and I haven’t found a solution yet either. It’s like the whole thing is broken and most people just don’t care?
Lots of people dealing with the same issue and I haven’t found a solution yet either. It’s like the whole thing is broken and most people just don’t care?
Have you considered to create a symlink from your document root (wordpress) directory to the directories in upper levels? You’ll need to uncheck the “Restrict the ability to follow symbolic links” checkbox in Plesk Hosting & DNS > Apache & Nginx Settings for that to work.
It’s probable that HTML tags are being removed from output. You can test this by adding other HTML tags (ex: <strong>) and see if they are removed. If the bold text shows, it’s possible then that bold text is permitted but not links (using wp_kses() or similar). I backtracked the code quite a bit to … Read more
I think it’s late for the party but there is an action is core/editor package of block editor called isSavingPost. Haven’t used it but I think it’s worth giving a try. https://developer.wordpress.org/block-editor/reference-guides/data/data-core-editor/#issavingpost
You are obviously using full site editing theme if you have HTML templates. For classic themes you have PHP templates and there you can enter php code. Full site editing html templates use only blocks in their templates and you can’t use PHP there. You can only use existing or build new block and place … Read more
There are a couple GitHub Actions available in the Marketplace for checking response codes: https://github.com/marketplace/actions/check-url-status https://github.com/marketplace/actions/http-status There’s also this question on Stack Overflow if you want to do it custom: https://stackoverflow.com/questions/65728933/how-to-capture-a-curl-http-status-code-in-a-github-action-to-determine-success-f
I think you could do this with using the dynamic content of Elementor Pro. With the loop grid, there is an option to do a custom query with the query id. From that you would just write. a PHP snippet to do exactly as you are looking for. It may be necessary to also create … Read more
Putting the code below in the settings.php file to boycott cookies solved my issue. define( ‘AUTH_KEY’, ‘put your unique phrase here’ ); define( ‘SECURE_AUTH_KEY’, ‘put your unique phrase here’ ); define( ‘LOGGED_IN_KEY’, ‘put your unique phrase here’ ); define( ‘NONCE_KEY’, ‘put your unique phrase here’ ); define( ‘AUTH_SALT’, ‘put your unique phrase here’ ); define( … Read more
The correct action hook for printing custom column content is manage_loads_posts_custom_column, not manage_invoices_posts_custom_column (tested). This is because the row is itself for a loads post type, and not an invoices post type. Because you’re on the page for invoices, the filter to add columns works with invoices. Tested: add_action( ‘manage_loads_posts_custom_column’, ‘invoice_custom_column’, 10, 2 ); I … Read more
This was a good learning experience. The icon component and defaults are working just fine. My issue in this specific case is getting a grip on my source query within index.js, and making sure my save.js file represents its structure. Within my save.js file, I had data-icon={ item.icon } on the anchor element. But in … Read more