Is it possible to change the static “Blog – Latest News” title in the header of a post to the title of that post?
Yes there is but you need to use a template builder template to do so. Create a new template that has the Heading element, Horizontal Rule and Post/Page content elements. Then you can apply that template to each post and it will have that format.
Thank you for the reply, but i would like all posts to have this. So also plugins that use post features. Would it be an option to adjust the single.php e.g. this line: $title = __(‘Blog – Latest News’, ‘avia_framework’); ?
Try going into includes>loop-index.php and look for:
and change it to
I changed it, but it doesn’t have any effect. Still shows “BLOG – LATEST NEWS”
Make sure to give your site a 3-4 refreshes within the browser just to make sure you aren’t viewing any browser cache. If you have any caching plugins, disable them as well.
Already got it…i changed this in single.php
$title = __('Blog - Latest News', 'avia_framework');
$title = get_the_title($post->post_parent);
The topic ‘"Blog – Latest News" different title for post’ is closed to new replies.