WordPress
Three methods for adding JSON-LD, trust badges, and llms.txt to WordPress.
1. JSON-LD Structured Data
Option A: functions.php
Add this to your theme's functions.php (Appearance → Theme File Editor):
function nordax_jsonld() {
if ( is_front_page() ) {
echo '<script src="https://cdn.nordax.ai/cdn/entity/{slug}.js" defer></script>';
}
}
add_action( 'wp_head', 'nordax_jsonld' );Option B: Code Snippets Plugin
Install the Code Snippets plugin, create a new snippet, and paste the same PHP from Option A. Set it to run on the front-end only.
Option C: Header/Footer Plugin
Use any header injection plugin (e.g., Insert Headers and Footers) and add:
<script src="https://cdn.nordax.ai/cdn/entity/{slug}.js" defer></script>2. Trust Badge
Add a Custom HTML widget (Appearance → Widgets) to your footer or sidebar:
<div id="nordax-badge" data-entity="{slug}"></div>
<script src="https://cdn.nordax.ai/cdn/badge/embed.js" defer></script>Or add the same snippet directly to your theme's footer.php before the closing </body> tag.
3. llms.txt Hosting
Option A: FTP Upload
Download llms.txt from the Nordax dashboard (Integration → Exports), then upload it to your WordPress root directory via FTP (same folder as wp-config.php).
Option B: .htaccess Proxy (Recommended)
Add this to your .htaccess file using the WP htaccess Editor plugin or via FTP:
RewriteEngine On
RewriteRule ^llms\.txt$ https://entities.nordax.ai/{slug}/llms.txt [P,L]This proxies requests to the live Nordax endpoint, so it always stays current.