Add the type property to that Image property in the Organization schema

add_filter( ‘aioseo_schema_output’, ‘add_author_name_when_missing’ ); function add_author_name_when_missing( $schema ) { foreach ( $schema as &$schemaItem ) { if ( isset($schemaItem[‘@type’]) && ‘Organization’ === $schemaItem[‘@type’] ) { if(!isset($schemaItem[‘image’][‘@type’])){ $schemaItem[‘image’][‘@type’] = ‘ImageObject’; } } } return $schema; }Continue reading

Set max-video-preview to 0

add_filter( ‘aioseo_robots_meta’, ‘aioseo_filter_robots_meta’ ); function aioseo_filter_robots_meta( $attributes ) { $attributes[‘max-video-preview’] = ‘max-video-preview: 0’; return $attributes; }Continue reading

Add CPTs for Typesense

function cm_typesense_add_available_post_types( $available_post_types ) { //Edit, delete or add according to your information $available_post_types[‘docs’] = [ ‘label’ => ‘Documentation’, ‘value’ => ‘docs’ ]; $available_post_types[‘actualites’] = [ ‘label’ => ‘Actualités’, ‘value’ => ‘actualites’ ]; $available_post_types[‘notes_versions’] = [ ‘label’ => ‘Notes de…Continue reading

Hide unnecessary roles

add_filter( ‘editable_roles’, function( $roles ) { if (!current_user_can(‘administrator’) && !is_admin()) { unset( $roles[‘administrator’] ); } unset( $roles[‘editor’] ); unset( $roles[‘subscriber’] ); unset( $roles[‘revisor’] ); unset( $roles[‘docspress_manager’] ); unset( $roles[‘author’] ); unset( $roles[‘contributor’] ); return $roles; } );Continue reading

Test Pricing js

document.addEventListener(“DOMContentLoaded”, () => { // Initialize drag and drop for filters initializeSortableFilters(); // Attach event listeners to locale links const localeLinks = document.querySelectorAll(‘#locales a’); localeLinks.forEach(link => { link.addEventListener(‘click’, handleLocaleLinkClick); }); // Populate the product table on initial load populateProductTable(); //…Continue reading

Test Pricing CSS

/* Custom Styles for Page ID 60 */ /* Container Layout */ .prices-container { display: flex; flex-direction: row; /* Default direction */ width: 100%; height: 100%; justify-content: space-between; } /* Filter Container Styles */ #filters-container { flex: 1; /* Takes…Continue reading

Test Pricing Html

Amazon Marketplace amazon.com amazon.co.uk amazon.de amazon.pl amazon.ca amazon.fr amazon.se amazon.in amazon.com.au ▼ See more Condition New Used Renewed Customer Reviews & Up & Up & Up & Up Discount & Deals Discount Price Ranges Under $25 $25 to $50 $50…Continue reading

WP Simple Pay: Custom Smart Tags for Fee Recovery and Subtotal Amounts

/** * Plugin Name: WP Simple Pay – Custom Smart Tags */ add_filter( ‘simpay_payment_details_template_tags’, function( $smart_tags ) { $smart_tags[] = ‘fee-recovery-amount’; $smart_tags[] = ‘pre-fee-amount’; return $smart_tags; } ); add_filter( ‘simpay_payment_confirmation_template_tag_fee-recovery-amount’, function( $value, $payment_confirmation_data ) { $object = current( $payment_confirmation_data[‘paymentintents’] );…Continue reading