WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding pdf links using the loop? (6 posts)

  1. NNDT
    Member
    Posted 4 years ago #

    Is there any plugin that allows you to add pdf links to a menu using
    <?php $subMenu = wp_list_pages('child_of=30&title_li=&echo=0'); ?>

    Any help would be awesome!

    Thanks in advance,
    -NNDT

  2. MichaelH
    Member
    Posted 4 years ago #

    One simple method would be to create a page called PDF XYZ, then use the Pages Link To plugin to link that page to the actual PDF.

    Similar to the techinique here:
    How to easily display links to both Pages and Categories in the blog navigation header?

  3. NNDT
    Member
    Posted 4 years ago #

    Awesome, I've not seen that plugin; it looks like it'll be exactly what I need. Thank you sir!

  4. NNDT
    Member
    Posted 4 years ago #

    Do you know if there is a similar plugin for posts?

  5. MichaelH
    Member
    Posted 4 years ago #

    That plugin works for posts also.

  6. NNDT
    Member
    Posted 4 years ago #

    So it does. Sorry about that. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic