Support » Themes and Templates » Page Template and Page Content

  • Resolved mikeGolf


    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

    page title
    page content
    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”; ?>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page Template and Page Content’ is closed to new replies.