Forum

Thread tagged as: Question, Problem, Configuration

Sorry for dragging this on,

Here is the region in my footer.php

<?php perch_content('Social media'); ?>
Drew McLellan

Drew McLellan 2638 points
Perch Support

So you can use:

PerchSystem::set_vars(perch_content_custom('Social media', [
    'skip-template' => true,
]));

That should pass all the fields from Social media through to the template engine. If you then display your other region, the fields should be available in the template.

Where do I put that?

I replaced the original with it and it disappeared?

Then what do I put in the seo template, the id?

<perch:content id="twitterhandle"/>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Put it before the original in your page. And then use the ID in your template. Make sure the tags are namespaced correctly for the context.

Do I have to use namespacing? I'm not too confident with stuff like that it confuses me so much.

Also do I need to use rescope or something?

Let's see if I can unsubscribe from that thread :-)

I think I know what you mean now.