If the Similar.AI WordPress plugin does not work, follow the steps below to integrate Similar AI API into your WordPress site using JavaScript (JS) for internal linking:
Make sure the WPCode plugin is installed prior to proceeding.
Navigate to https://wordpress.dev.similar.ai/wp-admin/admin.php?page=wpcode-headers-footers on your WordPress admin dashboard.
.png)
Create a Code Block:
Initiate a new code block within the post editor.
.png)
Paste HTML Code:
Copy <div id="similarai-relatedSearches"></div> and paste it into the code block.
Switch to Edit as HTML mode.
.png)
3. Re-paste the HTML code:
.png)
add HTML code into the post and the links will be displayed in the post like below.
.png)
<div id="similarai-relatedSearches"></div>