developerx
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: mirror header imageas far as I know you cannot do that.
You need to edit your image in an image manipulation program such as paint shop pro, or photoshop, and create an image that is twice the width of your original image, and copy the original onto the new image, mirror it, then paste the original again, creating a seamless tiled image.If you cannot get it done, drop me an email with your image and I’ll do it for you.
email me: ccpsceo at gmail.com (replace at with @ of course)Forum: Fixing WordPress
In reply to: How to get my Latest Blog headings in a webpageForum: Fixing WordPress
In reply to: Is there an easy way to fetch the body from a specific post?Okay, I think I’ll answer this call. ??
<?php // My wordpress installation is in the wordpress sub folder // of the current directory require_once('./wordpress/wp-blog-header.php'); // make sure the post exists if (have_posts ()) { // output the title of the post the_title (); // output the time of the post the_time (); // fill the globals with the proper content the_post (); // display the content of the post the_content (); } ?>
and here is a way you can format the display:
<?php require_once('./wordpress/wp-blog-header.php'); if (have_posts ()) { ?> <div align="center" style="margin-top:128px;"> <div align="center" style="font-family:arial; width:500px; border:4px; border-style:solid; border-color:#000000; padding:16px; padding-bottom:32px;"> <div align="left"><h2><?php the_title (); ?></h2></div> <div align="right"><em><?php the_time (); ?></em></div> <?php the_post (); the_content (); ?> </div> </div> <?php } ?>
Have fun.
Viewing 3 replies - 1 through 3 (of 3 total)