Joshua Sigar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: category display by categoryDownload this plugin. The instruction is in the file.
http://dev.wp-plugins.org/file/front-page-cats/trunk/front_page_cats.php?rev=57&format=rawForum: Themes and Templates
In reply to: Two Categories in two columns?Forum: Plugins
In reply to: How to get smaller size excerpt?Get the following plugin
http://guff.szub.net/the-excerpt-reloadedForum: Fixing WordPress
In reply to: comments under topicDoes it appear in Default theme?
Does it appear in “Manage” -> “Awaiting moderation?”Forum: Fixing WordPress
In reply to: categoryDownload this plugin. The instruction is in the file.
http://dev.wp-plugins.org/file/front-page-cats/trunk/front_page_cats.php?rev=57&format=rawForum: Fixing WordPress
In reply to: show all posts on category page?Play around with the values.
Forum: Fixing WordPress
In reply to: show all posts on category page?Add the following to your CSS file and play around with the values.
h5 {
margin: 0px 0px 0px 0px; /*top-right-bottom-left */
}p {
margin: 0px 0px 0px 0px;
}Forum: Fixing WordPress
In reply to: WP timeout on the_loopPossibly because you do it in the wrong order. Try the following.
<?php while (have_posts()) : the_post();
if(in_category(2)) : ?>
test<br/>
<?php endif;endwhile; ?>Forum: Your WordPress
In reply to: Certain posts on main pageDownload this plugin. The instruction is in the file.
http://dev.wp-plugins.org/file/front-page-cats/trunk/front_page_cats.php?rev=57&format=rawForum: Plugins
In reply to: Basic Plugin Questionfunction toUpperBlogDescription($info, $show) {
if ($show == 'description') {
$info = strtoupper($info);
}
return $info;
}//add_filter('filter_name', 'filter_func', priority, number of arguments)
add_filter('bloginfo', 'toUpperBlogDescription', 10, 2);The filter function toUpperBlogDescription is indeed invoked for every call to bloginfo; however, only if you retrieve the description then the output is converted to uppercase.
Forum: Plugins
In reply to: Basic Plugin Questionfunction toUpperBlogDescription($info, $show) {
if ($show == 'blogdescription') {
$info = strtoupper($info);
}
return $info;
}add_filter('bloginfo', 'toUpperBlogDescription')Off the top of my head, something like that minus the error if any.
Forum: Fixing WordPress
In reply to: How do I turn off the WYSIWYG editorGo to “Users” -> “Your Profile” and there is the option “Use the visual rich editor when writing” under “Personal Options”
Forum: Plugins
In reply to: Hide Post Previews and Have only Title???…font size for the names…
By “names” you meant “titles” in Archive page, correct? If so, add the following in your CSS file.h3 {
font-size: 10px; /* adjust the value */
}…to have more listed without creating more posts on the main page…
Plugin: http://mattread.com/projects/wp-plugins/custom-query-string-plugin/Forum: Plugins
In reply to: How can I get last post of specific category?Say category “News” has category id of 1.
<?php $posts = get_posts( "category=1&numberposts=3″ ); ?>
<?php if( $posts ) : ?><div class="section" id="latestNews">
<h2>Latest News</h2>
<ul>
<?php foreach( $posts as $post ) : setup_postdata( $post ); ?><li><span class="date"><?php the_time('F j'); ?></span> <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></li><?php endforeach; ?>
</ul>
</div><?php endif; ?>Forum: Plugins
In reply to: Hide Post Previews and Have only Title???If you have template file
category.php, just delete the template tagthe_excerpt()found in that file.If you don’t have template file
category.php, the template tagthe_excerpt()could possibly found inindex.phpin the theme folder.For the Search page, look in
search.php; otherwise, inindex.php.