Put a PHP Shortcode into an HTML site

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

vidalesa
New php-forum User
New php-forum User
Posts: 1
Joined: Sat Jun 09, 2012 11:19 am

Put a PHP Shortcode into an HTML site

Postby vidalesa » Sat Jun 09, 2012 11:27 am

I have a code to put a custom image in featured.php which displays on the blue area in the middle of the page.

<div class="slide clearfix">
code of your image goes here...
</div>

I would like to add a php code for this video gallery I just paid for to put on the front page below the image at http://www.xpresswebdesign.com/openschooldata.

echo do_shortcode('[videogallery id="1"]');

Is there anyway I can put this php code below the code above? If so, how?

Return to “HTML Basics”

Who is online

Users browsing this forum: No registered users and 1 guest

cron