Results 1 to 4 of 4
-
27th Jul 2011, 05:06 PM #1OPMember
need help on wordpress template
i just installed a new wordpress template that has a preview on the homepage but the problem is it only shows the preview and not the title of the post
i just want the title to appear on the top of the preview
here's the screenshot
and here's the index code of the template
Code:<?php get_header(); ?> <?php $count = 0;?> <?php query_posts('showposts=16'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="postindex" id="post-<?php the_ID(); ?>"> <div class="entry"> <a href="<?php the_permalink() ?>" rel="bookmark"> <img src="<?php $values = get_post_custom_values("poster"); echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a> <?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_views')) { the_views(); } ?> </div> </div> <?php endwhile; else: ?> <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> <div class="alignleft"><?php next_posts_link('« previous') ?></div> <div class="alignright"><?php previous_posts_link('next »') ?></div> <?php get_footer(); ?>
thank youGodric Reviewed by Godric on . need help on wordpress template i just installed a new wordpress template that has a preview on the homepage but the problem is it only shows the preview and not the title of the post i just want the title to appear on the top of the preview here's the screenshot http://i56.tinypic.com/zsqveq.jpg and here's the index code of the template Rating: 5
-
27th Jul 2011, 05:15 PM #2Member
Whats your URL? Theme Name?
It's normally associated with:<?php the_title(); ?>
UltraIMG - Free Image Hosting
Want to ask me anything to do with UltraIMG?? Send me a PM.
Chances are that if you leave a message on the forum I might not see it. :)
-
27th Jul 2011, 05:39 PM #3OPMember
the theme name is movieXpress
sorry but i don't want to disclose my url
-
27th Jul 2011, 08:57 PM #4Member
Just place it within the div class entry. You'd have to look at WP api or theme functions list to get the title.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Please suggest me a wordpress template
By .nItIsH. in forum Webmaster DiscussionReplies: 4Last Post: 27th Sep 2012, 05:59 AM -
Need help with a wordpress template
By .nItIsH. in forum Webmaster DiscussionReplies: 1Last Post: 21st Jan 2012, 12:25 PM -
Sborg Wordpress Template
By porny in forum Web Development AreaReplies: 4Last Post: 10th Nov 2011, 02:18 AM -
[Buying] Template wordpress
By AiWaBR in forum Completed TransactionsReplies: 6Last Post: 15th Jun 2011, 03:48 PM -
(Free) HTML/CSS, Wordpress, Joomla etc Template to WCDDL Template (Limited offer)
By Smith in forum Forum and DDL DiscussionReplies: 0Last Post: 24th Mar 2010, 02:56 PM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...