For image, I only found that separate single meta must exist for image id and url to work binding image
Search block has hidden query attribute which can be used by building variations which will add additional query parameters. See this issue. It will add hidden input html tags with necessary query attributes.
Setting Ubuntu 24.04 in Hyper-V:
wget https://raw.githubusercontent.com/Hinara/linux-vm-tools/refs/heads/master/ubuntu/24.04/install.sh
sudo chmod +x install.sh sudo ./install.sh
reboot when needed and run again
In Windows powershell with admin rights:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// change webpack default config | |
const defaultConfig = require( '@wordpress/scripts/config/webpack.config.js' ); | |
// eslint-disable-next-line import/no-extraneous-dependencies | |
require( 'dotenv' ).config(); | |
/* Either define host, cert_location and key_location in .env file | |
i root directory of the project or encode strings here to use | |
https and hot reload under https. Alternatively, remove this config file | |
*/ |
phpcs --standard='WordPress-Extra' -s '<path to file>'
git config --edit --local
and change password in url url = https://ecostac-frontend:[email protected]
- ClamAV
- Wordfence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* add sizeSlug attribute where it is missing and update image src accordingly | |
*/ | |
// alternative only for fixing sizeSlug: | |
// wp search-replace '(<!-- wp:image\s{(?!.*"sizeSlug")[^}]*)' '$1,\"sizeSlug\":\"full\"' gr8_posts --regex --regex-delimiter='/' --include-columns=post_content --log=C:\Users\Admin\Downloads\replace.log --precise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp.domReady( () => { | |
const unsubscribe = wp.data.subscribe( () => { | |
const command = wp.data.select( 'core/keyboard-shortcuts' ).getShortcutKeyCombination( 'core/commands' ); | |
if ( command && command.character === 'k' ) { | |
wp.data.dispatch( 'core/keyboard-shortcuts' ).unregisterShortcut( 'core/commands' ); | |
unsubscribe(); | |
} |
NewerOlder