Add your Quriobot to your WordPress page
Everyone loves WordPress, right? Easy to use, easy to handle, lot’s of themes and it (usually) looks great! And now you can make it look even greater by adding Quriobot to your WordPress page!!
Just follow these easy steps:
Step 1: Login on your WordPress Admin page and go to the following page: Plugins > Add new and search for a “Quriobot” plugin.
Step 2: Once you have installed the Quriobot plugin, you can configure the plugin by going to Settings and selecting the plugin
Step 3: Copy your Bot Path which is shown on the Embed Code tab in the Quriobot Control Room:
Step 4: Paste the Bot Path to the Quriobot WordPress plugin settings’ Bot paths and press save!
Step 5 (optional): if you want to embed not a single but multiple bots at the same time, for example, to have different bots for the different website sections, then you can add more Bot Paths using newline as a separator.
You’ll then need to make sure that the trigger conditions of those bots are mutually exclusive.
Step 6: If you have the website caching enabled, please make sure to clean it.
If you’d like the bot to appear only on certain pages of your website, you can apply the trigger condition.
What if I need to embed the bot only for the logged-in users or based on some more advanced internal condition?
For a more advanced embedding with conditions, you can skip using the Quriobot official plugin and instead go with the Head, Footer, and Post Injections plugin.
Step 1.Install Head, Footer, and Post Injections plugin, and if you have the Quriobot plugin installed REMOVE it.
Step 2. Go to the plugin settings and add the code to the HEAD section:
You can see that some PHP code is used here, which makes use of the WordPress conditional tags. In this case, it’s is_user_logged_in which allows checking whether the user is logged in or not.
Step 3. Put the widget embed code instead of YOUR EMBED CODE and save
You’ve now conditionally embedded the bot only for the logged-in users!