Skip to content
WJunction - Webmaster Forum

small help on wordpress :)

Status
Not open for further replies.

5 comments

Didnt quite understand, but may be you mean the get the title function?
PHP:
<?php echo get_the_title(); ?>
 
Its easy :p

Code:
<img src="theurltothatimage" width="" height="" border="0" /><br />
<a href="URLHERE" title="Get <?php the_title(); ?> from Fast Server"><strong>Get <?php the_title(); ?> from Fast Server</strong></a>

Now this was just for a single set of image and link. You should edit and repeat it thrice to achieve what is there in the image.

Also, this should be inside the POST loop else it will not work.
 
As told by Blaze the code should be in the Loop, if u are using posts then edit ur single.php file & after the has_posts() function write down what Blaze wrote, it should be before the_content() function or after the_content() ur wish but before the endwhile statement.
 
Status
Not open for further replies.

About the author

J
Senior Member · Joined
1,201
Messages
191
Reactions
63
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom