Lester Chan's Forums

Please login or register.

Login with username, password and session length
Pages: [1]   Go Down

Author Topic: Download Stats (Outside WP Loop)  (Read 2418 times)

0 Members and 1 Guest are viewing this topic.

marty.mc

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
    • View Profile
Download Stats (Outside WP Loop)
« on: 24 July 2007, 15:31 »
Let me quickly explain my scenario:

I have a brother-in-law that I'm helping with a website. He is a teacher. He wishes, among other things, to share
notes from the classes with students. Each class will have it's own page. I suggested he upload class notes within a
category that bears the class name. I have a link to the files within that category working fine, but am at a loss as
to adding a full listing of files within the category. Your Usage instructions provide the code, but WordPress will not
allow me to insert the code into a page. It converts it to something "else". What's the catch to adding this:

Code: [Select]
<?php if (function_exists('get_downloads_category')): ?>
   <?php get_downloads_category(5,20); ?>
<?php endif; ?>

to a WordPress Page?
Logged

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
Re: Download Stats (Outside WP Loop)
« Reply #1 on: 24 July 2007, 15:35 »
you need to have a plugin that can exec php code within the wordpress post.
Logged

++ lesterchan.net - Lester Chan's Website

I DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.

Ttech

  • Official Support
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
Re: Download Stats (Outside WP Loop)
« Reply #2 on: 24 July 2007, 23:23 »
That is on the forums.
Logged
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
Pages: [1]   Go Up
« previous next »
 

Page created in 0.027 seconds with 24 queries.