Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Change the title of the discussion thread created when using embedded Blog Comments

Hello! As the title states, my goal is to be able to manipulate the name of the forum thread created when the first blog comment is made via the embed script.

Currently it's appending my site title at the end of every post title (since that's the HTML title for the page) and it's very redundant. Here's what I mean..

*New blog post made
*Blog post title: TITLE HERE
*Viewer visits blog post
*HTML title: TITLE HERE | SITE TITLE
*Viewer makes first comment
*Forum thread is created, called: TITLE HERE | SITE TITLE

What I want is for the forum thread to be called just TITLE HERE

If it fetches the site title via JS, then all I need to know is what variable to manipulate so I can search and replace the "SITE TITLE" part.

Comments

  • Options

    Got it! It's the 'vanilla-title' variable in the /js/embed.js script.

Sign In or Register to comment.