• I use the plugin wp-postratings and created a page template to see a top list, but I don’t know how to visit that page. Probably a very simple problem 😛

    Thanks
    //Felix Karlsson

Viewing 7 replies - 1 through 7 (of 7 total)
  • have you actually made a page using that page template?

    Thread Starter felixkarlsson

    (@felixkarlsson)

    I followed this link: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    And don’t know what i should type in to visit the page i created.

    thats a template…..you have to actually make a page using that template. The page uses the template. You create a template just like apost from the admin area…. when creating the page you can select the template you just created. Once you make the page, it will have a permalink, just like a post that you can link to

    –I’m not even sure if a template is the way to go for what you are doing? Couldn’t you just display your content on a page? (I’m not familiar with the plugin…sorry)

    Templates are set up to change the appearance/behaviour of pages…. you make a template and then can apply that to one page, or many pages….

    Thread Starter felixkarlsson

    (@felixkarlsson)

    Thank’s for your answer.

    Okey, but how should i do otherwise?

    To show the highest rated from the readme file:

    <?php if (function_exists('get_highest_rated')): ?>
       <ul>
          <?php get_highest_rated(); ?>
       </ul>
    <?php endif; ?>

    Should I just post that as a “page” from the admin page?

    ok…here is the easy way to do that I believe.

    get the exec-php plugin http://wordpress.org/extend/plugins/exec-php/

    That lets you use php in the body of your pages.

    Then just drop the php code you are trying to use into the body of a page.

    (That’s how I would do it…hopefully that works?)

    Thread Starter felixkarlsson

    (@felixkarlsson)

    Yes it worked fine!

    Now over to another question, how can I put this page in the sidebar, not as a link but the whole thing.

    //Felix Karlsson

    how can I put this page in the sidebar

    http://wordpress.org/extend/plugins/query-posts/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Link to my own page template’ is closed to new replies.