foooder
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Replacing comments text link with a buttonI think I got it, something like this:
href=”<?php the_permalink() ?>” rel=”bookmark” title=”Details”><img class=”detail_image” alt=”more information” src=”<?php bloginfo(‘template_url’); ?>/images/button_buy_now.gif” />
Forum: Fixing WordPress
In reply to: Splitting entire posts between columnsCharle,
Sorry for the delayed response but I had to tweek things a bit. The code you supplied works great, now the “posts” are splitting into 2 columns as intended (you can see a screen here: http://brianfoder.com/ewb/screen4.jpg). The only thing is it looks like if 2 posts are next to each other, they must be the same height or things get thrown off a little bit, and as a result will “bump” a post into the next row. That shouldn’t be a problem though because I intend to make all the boxes the same size. Thank you very much for your help.
Forum: Fixing WordPress
In reply to: Splitting entire posts between columnsYes Im sorta using the Connections theme.
Forum: Fixing WordPress
In reply to: Splitting entire posts between columnsHi Charle,
I added the css now exactly where do I add the code:
<div class=”main-box”>
<div class=”entry-box”>
most recent entry
</div><div class=”entry-box”>
next most recent
</div><div class=”entry-box”>
oldest entry
</div></div>
to my index.php or post.php?
Here is the code for my index.php:
<body>
<?php get_header(); ?>
<div id=”main”>
<div id=”content”>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class=”post”>
<?php require(‘post.php’); ?>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php endforeach; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>
<p align=”center”><?php posts_nav_link() ?>
</div><?php get_sidebar(); ?>
<?php get_footer(); ?>
</div>
</body>
</html>And this is my post.php:
<div class=”post-info”><h2 class=”post-title”></h2>
<?php the_time(‘D j M Y’); ?>. Posted to <?php the_category(‘ , ‘); ?> <?php edit_post_link(‘(edit)’); ?><br/> </div>
<div class=”post-content”>
<?php the_content(); ?>
<div class=”post-info”>
<?php wp_link_pages(); ?>
</div>
<div class=”post-footer”><span class=”post-info”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘[%] Comments’); ?>
</span></div>
</divForum: Fixing WordPress
In reply to: Splitting entire posts between columnsHi Charle, thank you for your reply. Sorry didnt see the code you put there right before I replied.
Hi Charle,
Thanks for your reply. Please excuse my ignorance but I’ve only been using WP for less then a week now so I’m not 100% (or even 50%) familiar with everything.
I think I know what you mean by restrict the entries but I’m not exactly sure what you mean by restrict the width of the box that will encapsulate the entries themselves. Here’s some more info. I’ve taken bits and pieces of many templates/themes but am using pretty much using the same index.php and post.php from the Connections template as well as the appropriate css so things work. Now what I did for my second screen shot is what I think is restricting the entries which is I did by simply adding this to my code “width:320px”, which made the box 320px across instead of 100%. Code now looks like this:
.post , .page {
margin: 2px 0px 0px 0px;
padding: 10px;
background: url(“images/table_bg.jpg”) repeat-x;
border-top: 2px solid #000;
border-right: 1px solid #696866;
border-bottom: 1px solid #696866;
border-left: 1px solid #696866;
width: 302px;
}And page now looks like this: http://brianfoder.com/ewb/screen3.jpg
Now the entries (or posts) are the width I want but are still posting one on top of each other. How would I go about restricting the width of the box that encapsulates these entries?
Forum: Fixing WordPress
In reply to: “Virus” PostingsI might be wrong but it sounds like they were published via email. I believe WP has “publish by email” capabilities so when you send an email to the specified publishing email address, the email automatically gets published to your site. The email address is supposed to be used just for publishing purposes and should be a “hidden or secret account” for obvious purposes. You might have your email account listed as your publishing email address so when an email is sent to that account it gets published to your site.