Forum

Thread tagged as: Meta, Blog, Twitter
Drew McLellan

Drew McLellan 2638 points
Perch Support

We've just released Blog 5.0 to make this simpler. It has a dedicated section for entering Facebook and Twitter meta data, and a simple function to output it all in the head of your page.

Blog: https://grabaperch.com/add-ons/apps/blog

New page function: https://docs.grabaperch.com/addons/blog/page-functions/perch-blog-post-meta/

Hi Drew,

I've updated to the new version of Perch (2.8.16) and I've also updated the Blog app to 5.0, but I'm missing the new templates. In the download there is only the 'add ons' folder which includes the Blog app, and there is a folder named 'blog' with example php pages and that's it. (BTW online it states version 4.6 on the Blog App download page still https://docs.grabaperch.com/addons/blog/ …)

The post link about 'perch_blog_post_meta' states 'this uses the blog/meta_head.html template' So where can I find 'blog/meta_head.html' ?

Thank you for the help.

Warm Regards, Veerle

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Hi Veerle

If you have replaced your blog install you will have the new templates in perch/addons/apps/blog/templates/blog

To make changes to them copy any new ones to your perch/templates/blog folder (just as you would do for a new install) and edit them.

Don't copy over templates you already have though as that would overwrite your changes :)

Rachel

Hi Rachel,

Ah! Found them. Thank you for the quick reply.

Warm Regards, Veerle

Hi Rachel, Drew,

It's fixed now! Thank you :)

I've copied the meta_head.html template inside templates/blog the folder, and then added the php code/tag

<?php perch_blog_post_meta(perch_get('s')); ?>

into my global.header-blog.php file and I was all set :)

Warm Regards, Veerle