[Resolved] Page Template and Page Content
I’m trying to add video code to the page template and fill in the variables in the page content. I cant seem to get it to work.
I want to display in this order
back button – share buttons
I need a way to set the data for the video and back button link in the content. Things like file name, url and alt text.
Some test code that doesn’t work
In page template PHP file
<?php echo ‘<img class=”button” src=”Video-Background.jpg” alt=”‘.$videoAlt.'”>’ ?>
And in the page content
<?php $videoAlt = “text alt text”; ?>
- The topic ‘[Resolved] Page Template and Page Content’ is closed to new replies.