Viewing 8 replies - 1 through 8 (of 8 total)
  • I think you would need to create a page template (or a category template maybe more appropriate?) and probably utilise custom fields as well.

    I want to do something similar as i have quarterly PDF newsletter i want to make av. to download on one page, i know you can upload media etc but i want more control.

    There are download managers availiable dont know if they will help?

    https://www.ads-software.com/extend/plugins/download-monitor

    As far as I am aware, the Download Monitor plugin (or an alternative called Download Manager) is an interface to ‘manage’ files in a more organised way, and helps with determining the popularity of the file (maybe I’ve got the wrong idea! But that’s my experience so far) and make it easier to embed within content.

    I believe it should be quite straightforward to create a Page (rather than multiple posts) manually with all the download ids (used by Download Manager) and styling the main template used by the plugin, although it might get a bit complicated if e.g. images were needed perhaps?

    cheers mosey, yes ive ive put on my other post this was usefull: https://giulio.ganci.eu/category/wordpress/ with this you can style the download easily using css in the admin for the plugin

    the one you mentioned is the same sort of thing i think. either one seems the best way to create a page dedicated to downloads

    Thanks for the alternative suggestion ?? At the moment I’m using Download Monitor, but I will definitely look into the the one you’ve mentioned when I upgrade my site.

    Thread Starter jeeremie

    (@jeeremie)

    Ok, I resolved it. I created a page template (I named it freebies) where I call different categories into it (my categories are “Free WordPress Themes”, “Free Web Templates”, “Free Menus”…) and I have created few custom fields (Name, Date, Width, Widget Ready, Info…).

    For future reference, I will put the code here.

    Here’s the freebies page (freebies.php):

    <?php
    /*
    Template Name: freebies
    */
    ?>
    
    <?php get_header(); ?>
    
    <?php get_sidebar(); ?>
    
    	<div id="rightCol">
    
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<div class="post" id="post-<?php the_ID(); ?>">
    
    				<div class="title page clearfix">
    					<em><h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a> <span><?php edit_post_link('Edit Page', ' [', ']'); ?></span></h1></em>
                    </div> <!-- title -->
    
    				<div class="entry">
    					<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
    
    					<h3 id="wordpress">Free WordPress Themes <span>for WordPress 2.1 or higher</span></h3>
    						<?php include (TEMPLATEPATH . '/category-47.php'); ?>
    
    					<h3 id="templates">Free Web Templates <span>(x)HTML/CSS</span></h3>
    						<?php include (TEMPLATEPATH . '/category-48.php'); ?>
    
    					<h3 id="forms">Free Web Forms <span>Mostly PHP/AJAX contact forms</span></h3>
    						<?php include (TEMPLATEPATH . '/category-50.php'); ?>
    
    					<h3 id="menus">Free Menus <span>Horizontal and vertical (x)HTML/CSS Web menus</span></h3>
    						<?php include (TEMPLATEPATH . '/category-49.php'); ?>
    
    				</div><!-- / Entry -->
    			</div>  <!-- / POST -->
    
    		<?php endwhile; endif; ?>
    
    	</div>  <!-- / RightCol -->
    
    <?php get_footer(); ?>

    … and one category page (the “Free WordPress themes” one):

    <?php
    		$post = query_posts('cat=47&showposts=&paged=' . $paged);  //Show WordPress Theme category only
    	?>
    
    	<?php  if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    			<UL class="freebies" id="post-<?php the_ID(); ?>">
    				<LI>
    					<ul>
    		                <?php $thumbnail = get_post_meta($post->ID, 'thumbnail', $single = true); if($thumbnail !== '') { ?>
    			            <li><?php $preview = get_post_meta($post->ID, "Preview", $single = true); ?>
    						<a href="<?php echo $preview; ?>"> <img src="<?php echo get_option('home'); ?>/<?php echo $thumbnail; ?>" class="alignleft ptf" alt="<?php echo the_title(); ?>" /></a></li>
    
    						<?php } // end if statement
    						// if there's not a thumbnail
    						else { echo ''; } ?>
    
    						<?php $name = get_post_meta($post->ID, "Name", $single = true); if($name !== '') {echo '<li><b>Name:</b> ' . $name . '</li>';} ?>
    						<?php $date = get_post_meta($post->ID, "Date", $single = true); if($date !== '') {echo '<li><b>Added:</b> ' . $date . '</li>';} ?>
    						<?php $width = get_post_meta($post->ID, "Width", $single = true); if($width !== '') {echo '<li><b>Width:</b> ' . $width . '</li>';} ?>
    						<?php $widget = get_post_meta($post->ID, "Widget Ready", $single = true); if($widget !== '') {echo '<li><b>Widget Ready:</b> ' . $widget . '</li>';} ?>
    						<?php $info = get_post_meta($post->ID, "Info", $single = true); if($info !== '') {echo '<li><b>Info:</b></li><li style="text-align: justify"> ' . $info . '</s></li>';} ?>
    						<!-- The links -->
    						<?php $preview = get_post_meta($post->ID, "Preview", $single = true); if($preview !== '') { ?>
    						<li class="links"><a href="<?php echo $preview; ?>">Preview</a>&nbsp;|&nbsp;<?php the_content(); ?>
    						<?php } ?>
    
    						<?php edit_post_link('Edit', '<li class="edit"><small>[ ', ' ]</small></li>'); ?>
    						</li>
    					</ul>
                    </LI>
    			</UL>
    
    	<?php endwhile; endif; ?>

    I just uploaded the Download Monitor through FTP to the appropriate path wp-content/plugins. When I click on Plugins in WP admin it is not listed. I did change the file permission to 777 but after the installation, but all files were present. What am I doing wrong and why can I not see this plugin in the list to activate? Thanks any help anyone?

    @kidsbesafeonline: Take a look at the this video tutorial by whooami, and it should help you to troubleshoot your plugin installation process: https://www.village-idiot.org/plugin-howto/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘I want to create a download page’ is closed to new replies.