Jump to content

Archived

This topic is now archived and is closed to further replies.

thesingleparentperspective

index.php

Recommended Posts

thesingleparentperspective

I need to add php to what would normally be the themes single.php page.  Where do I add this in the dms framework?

 

These are the instructions I am to follow

  1. Open wp-content/themes/<YOUR THEME NAME>/index.php
  2. You may place it in archive.php, single.php, post.php or page.php also.
  3. Find: <?php while (have_posts()) : the_post(); ?>
  4. Add Anywhere Below It (The Place You Want The Ratings To Show): <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

Share this post


Link to post
Share on other sites
Danny

Hi,

 

DMS doesn't follow the standard basic WP templates. Therefore, if you wish to add PHP to your theme, you will need to either create a custom section or use hooks.

 

For more information on creating your own section and hooks, view our documentation here - http://docs.pagelines.com/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×