<?php echo?> ????????????????

Permalink
Hi
Wondering if any of you wonderful people can help me out.
I got a new theme i'm installing across 3 mini sites for one client, all concrete5.
Now, I'm really please with everything but I got one niggly thing thats got me scratching my head!!!
My question is this, currently I have this line of code;

<?php echo SITE?>

Is there any way of echoing the "meta title" here instead of the site???

Ive tried the obvious but is not 2.15am in the UK and I cant stay awake any longer ha ha, any help would be most appreciated

Many thanks, Tony

DigitalCrate
 
okhayat replied on at Permalink Reply
okhayat
The site here has some userful information to help you:
http://c5mix.com/tips/using-page-attributes-in-concrete5-themes...

You can use:
<?php
echo $c->getCollectionAttributeValue('meta_title
')?>
DigitalCrate replied on at Permalink Reply
DigitalCrate
Hey okhayat

Thats awesome and works perfectly. Thanks for sharing the knowledge :)