Joshua Sigar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: List of 5 Most Recent Posts Within a CategoryPass the “offset” parameter.
...
$posts = get_posts("category=" . $category->cat_ID . "&numberposts=5&offset=5");
...Forum: Themes and Templates
In reply to: playing with ‘the loop’1. Go to “Options” -> “Reading” and set “Show at most” to “10 posts.”
2. Copy “index.php” as “paged.php”
In “index.php”
3. Before the following line,if( have_posts() ) :…add the following.
<?php $wp_query->set( 'showposts', '5' ); ?>
<?php query_posts( '' ); ?>4. Inside the Loop, make sure to call the template tag “the_content()”
5. Still in “index.php,” add another Loop after the first one.
<?php $posts = get_posts( "numberposts=5&offset=5″ ); ?>
<?php if( $posts ) : ?><div class="section" id="theRest">
<h2>The rest...</h2>
<?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
<div>
// call "the_excerpt" and whatever you need
</div><?php endforeach; ?>;</div><?php endif; ?>6. to be continued…
Forum: Fixing WordPress
In reply to: Paragraph Spacing ProblemAdjust the margin/padding property of your P tag in CSS file.
Provide the link to your site if you need more info.Forum: Fixing WordPress
In reply to: share users table betwin 2 wordpressIn one of the WP installation, add the following in wp-config.php
Say you want to use
wp_userstable:
define('CUSTOM_USER_TABLE', 'wp_users');
define('CUSTOM_USER_META_TABLE'', 'wp_usermeta');
Insert that snippet before the following line.
require_once (ABSPATH.'wp-settings.php');Forum: Everything else WordPress
In reply to: Is this possible in Wp ?The answer is “Yes.” Any specific question?
Forum: Fixing WordPress
In reply to: Can I customise my feed addresses?Plugin solution below.
http://boren.nu/archives/2005/03/29/feed-director-plugin/Forum: Installing WordPress
In reply to: static front pages in 2.0Have you tried installing the plugin? Not being listed on the compatibility list does not mean the plugin is not compatible with 2.0.
Forum: Fixing WordPress
In reply to: Centering Text in Comment Headers…?why not? what does my code do? how does it not fit your want?
Forum: Fixing WordPress
In reply to: Centering Text in Comment Headers…?And my code didn’t do it (see above)? Add that to your CSS file.
Forum: Fixing WordPress
In reply to: Centering Text in Comment Headers…?Add the following?
.comment .header {
text-align: center;
}Otherwise, I don’t understand what you want. Rephrase your question or give us a mock-up.
Forum: Fixing WordPress
In reply to: Custom Fields (not showing on index but is elsewhere)Disable all plugins also, including the “Ultimate Tag Warrior.” If still no metas, then that’s it–I have no clue
Forum: Plugins
In reply to: Comments on main page?In index.php inside the Loop, add the following. (I hope it won’t break something else badly; if it is, oh, well.)
<?php
$withcomments = true;
comments_template();
?>
Forum: Fixing WordPress
In reply to: Custom Fields (not showing on index but is elsewhere)Meh, that plugin has too many files to look into.
Add
the_meta()to Default theme and activate that theme. Any metas?Forum: Fixing WordPress
In reply to: Custom Fields (not showing on index but is elsewhere)http://justpuremood.com/index.php?tag=photos
That URL above is not generated by WP. Is a plugin involved? A “tag” plugin? Give me a link to that one.
Forum: Fixing WordPress
In reply to: Custom Fields (not showing on index but is elsewhere)“Feeling: Good, Hungry Weather: 49, cloudy”
Are you saying that meta output like above should show up on index?
How do you enter the meta above? With that mood plugin? Can you give the link to that plugin?
It could be that the plugin stores the meta into its own table instead of into the one already provided by WP.