• Resolved Toby

    (@toby-barnes)


    Hi there, when looking in index.php inside my theme-name folder, I cannot see the code:
    <?php while (have_posts()) : the_post(); ?> in which to place your suggested code after ( <?php if(function_exists('the_ratings')) { the_ratings(); } ?> ).

    I have looked at two sites I have access to. One uses Genesis in which the parent theme has an index.php. And I have looked in the index.php of another site using Canvas.

    I was wondering if you could throw me a bone here?

    Thank you
    T

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Sorry I don’t use most of the theme out there, so I can’t offer any input on it. All themes are coded differently, I would suggest contacting your theme author.

    Thread Starter Toby

    (@toby-barnes)

    That’s ok. I’ve managed to get it working using Genesis Simple Hooks, adding it inside the loop. Though it appears on every page now, and I’d prefer to get it only appearing on Posts. I will investigate further…

    Thanks for your fast reply anyway ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t find where to add PHP, in index.php’ is closed to new replies.