• Hello, I want to use WP Taxonomies to have PDF downloadable from the side bar. I have been looking to find the code to do just that.

    I want that to appear like a Widget on the side. I have done with other things, like show a picture, but not a pdf. And obviously I want to show the title, but the link be connected with the title, so you won’t have to read the long title.

    Any help?

Viewing 1 replies (of 1 total)
  • Thread Starter CreativeWP

    (@mevaser)

    This is what I meant:

    I want to have two things to be filled as Taxonomy.

    <conditional widget>
    Name of Website:
    Website address:
    <conditional widget>

    This what I got, but I do not know how to add one without breaking both. I am able to add the website. But not the name. I would love to be able to do both. So that the name will show up and it will become a link with the website. I hope this is clear.

    <?php if ( get_post_meta($post->ID, 'website') ) : ?>
    <div class="widget widget_text left first">
    Website: <a href="<?php echo get_post_meta($post->ID, 'website', $single=true) ?>"></a>
    </div>
    <?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Taxonomies download PDF document’ is closed to new replies.