Noob help with "user-submitted-posts", inserting template tag
-
Hello, I am very new to wordpress and webdesign in gerneral. I am VERY much in need of some help with installing this plugin. I’ve been all over google and I have read the read me but its over my head… There is alot of people on google who have the same problem, only I know what the problem is, just not how to fix it.
The problem is the plugin called “user-submitted-posts”, allows user to submit images to your blog. Well it doesnt actually post the images without using this template tag. From the read me file:
To display the images attached to user-submitted posts, use this template tag:
<?php post_attachments(); ?>
This template tag prints the URLs for all post attachments and accepts the following paramters:
<?php post_attachments($size, $beforeUrl, $afterUrl, $numberImages, $postId); ?>
$size = image size as thumbnail, medium, large or full -> default = full
$beforeUrl = text/markup displayed before the image URL -> default = <img src=”
$afterUrl = text/markup displayed after the image URL -> default = ” />
$numberImages = the number of images to display for each post -> default = false (display all)
$postId = an optional post ID to use -> default = uses global postAdditionally, the following template tag returns an array of URLs for the specified post image:
<?php get_post_images(); ?>
This tag returns a boolean value indicating whether the specified post is a public submission:
<?php is_public_submission(); ?>
Is there anyone out there that will give me help like I am slow? Telling me what line and where to paste it in? I dont see myself understanding it. My homepage is VERY simple and has almost nothing modified on it yet. And really im not even sure it goes on the homepage. The home page is where the posts are being posted with the needed image files that are not showing up.
- The topic ‘Noob help with "user-submitted-posts", inserting template tag’ is closed to new replies.