<p>Looks like this was a <a href="https://sprout.barrelstrengthdesign.com/docs/craft-v2/seo/global-metadata.html#customization" rel="nofollow noreferrer">setting</a> in the <a href="https://sprout.barrelstrengthdesign.com/docs/craft-v2/" rel="nofollow noreferrer">Sprout SEO Plugin for Craft 2</a>, as a quick <a href="https://www.google.com/search?q=craft%20appendTitleValue" rel="nofollow noreferrer">Google search for 'craft appendTitleValue'</a> will tell you. Apparently, it has been removed in the version of the plugin for Craft 3.</p>
<p>I can't speak to the developer's motivation, but a likely explanation is that this is something you can and should handle in your templates. If you're not using the Sprout SEO plugin right now, you can just include the site name (or whatever you want) in your template:</p>
<pre class="lang-twig prettyprint-override"><code>&lt;title&gt;{{ entry.title }} | {{ currentSite.name }}&lt;/title&gt;
</code></pre>
<p>If you are using the Sprout SEO plugin, checkout the documentation on <a href="https://sprout.barrelstrengthdesign.com/docs/seo/template-overrides.html#templating" rel="nofollow noreferrer">template overrides</a> for specific meta fields. The following code should accomplish roughly the same thing:</p>
<pre class="lang-twig prettyprint-override"><code>{% do craft.sproutSeo.meta({
    title: &quot;#{entry.title} | #{currentSite.name}&quot;,
}) %}
</code></pre>

CC BY-SA 4.0
2022-03-01T13:25:17.400Z
The `do craft.sproutSeo.meta` tag gives the flexibility to append a title value from different points in the Twig template being loaded, if you need to customize things in the templates. In Sprout SEO's Globals->Customization settings there are three related settings: `Character used between Title segments`, `Append value to all Meta Titles`, and `Display Append Meta Title Value on Homepage`
Ben Parizek
CC BY-SA 4.0
2022-03-01T09:38:38.017Z
2022-03-01T09:38:38.017Z
MoritzLost
<p>There used to be something like <code>appendTitleValue</code> that could be overwritten from a template. This seems to be gone in the last major release.</p>
<p>Any chance to get that back or am I missing something here? It’s quite an important feature as it has direct impact on good, site specific titles generating SEO value.</p>
<p>Any hint is much appreciated.</p>

<seo><plugin-sproutseo>
How do I change the append title value from a template?
# How do I change the append title value from a template?

(Asked by: username_0 on 2022-03-01)

There used to be something like `appendTitleValue` that could be overwritten from a template. This seems to be gone in the last major release.

Any chance to get that back or am I missing something here? It’s quite an important feature as it has direct impact on good, site specific titles generating SEO value.

Any hint is much appreciated.

**Tags:** seo, plugin-sproutseo

---

## 1 answers

### Answer by username_1 on 2022-03-01. Score: 4

Looks like this was a setting in the Sprout SEO Plugin for Craft 2, as a quick Google search for 'craft appendTitleValue' will tell you. Apparently, it has been removed in the version of the plugin for Craft 3.
I can't speak to the developer's motivation, but a likely explanation is that this is something you can and should handle in your templates. If you're not using the Sprout SEO plugin right now, you can just include the site name (or whatever you want) in your template:
{{ entry.title }} | {{ currentSite.name }}

If you are using the Sprout SEO plugin, checkout the documentation on template overrides for specific meta fields. The following code should accomplish roughly the same thing:
{% do craft.sproutSeo.meta({
    title: "#{entry.title} | #{currentSite.name}",
}) %}

> **Comments:**
> **username_2**: The `do craft.sproutSeo.meta` tag gives the flexibility to append a title value from different points in the Twig template being loaded, if you need to customize things in the templates. In Sprout SEO's Globals->Customization settings there are three related settings: `Character used between Title segments`, `Append value to all Meta Titles`, and `Display Append Meta Title Value on Homepage`  

---

