Joshua Sigar
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Remove a div?If the theme has the file
comments.php, modify that.
If it doesn’t have one, copy one from Default theme folder to your theme folder, and modify the copy in your theme folder.Forum: Plugins
In reply to: show posts 11-20http://codex.wordpress.org/Template_Tags/get_posts
Read example above and pay particular attention to the parameter
numberpostsandoffsetForum: Themes and Templates
In reply to: Traditional Website ThemesJust pick any theme you want regardless, and we could probably help you remove the items you don’t want.
Forum: Fixing WordPress
In reply to: Link cat only on main page?we need the URL for the main page and one of the subpages.
Forum: Themes and Templates
In reply to: Remove a div?Normally, the file to edit is
comments.phpin the active theme folder; otherwise,index.php.Forum: Fixing WordPress
In reply to: Adding Link to Existing PostDo you use
the_excerptto output the posts on the main and category page? That template tag strips out html tags (e.g. img, a, etc) from the posts.For excerpt output with more control, use the following plugin.
http://guff.szub.net/the-excerpt-reloadedForum: Fixing WordPress
In reply to: Icon instead of an boring e for edit??<?php edit_post_link(
'<img src="http://mysite.com/images/edit.gif" alt="edit" />'
); ?>Adjust the path to the image as necessary.
Forum: Fixing WordPress
In reply to: One post per author<?php query_posts('author_name=admin&showposts=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
// and other output
<?php endwhile;?>Repeat the above code as many as authors you have
More info:
http://codex.wordpress.org/The_Loop#Multiple_Loops
http://codex.wordpress.org/Template_Tags/query_posts#Author_ParametersForum: Fixing WordPress
In reply to: Don’t Want to see the children! (pages on sidebar)Here goes.
<?php wp_list_pages( 'depth=1&title_li=<h2>' . __('On This Site') . '</h2>' ); ?>Forum: Fixing WordPress
In reply to: Don’t Want to see the children! (pages on sidebar)If you use wp_list_pages to display the Pages, then do the following.
<?php wp_list_pages( 'depth=1' ); ?>You can add other parameters as necessary as explained in the codex page above.
Forum: Fixing WordPress
In reply to: Page Template, query_posts() breaks is_page()?By having a “query_posts” in the template, you override the original, behind-the-scene “query_posts” which sets “is_page” as true.
You could restore the condition “is_page” back to true by adding the following after your custom “query_posts” and its associated loop.
// custom query_posts
// the Loop
$wp_query->is_page = true;
if( is_page() ) {
// code in this block will be executed
}
Note that the above is unofficial solution, which means that it may not be compatible with future version of WP.
Forum: Installing WordPress
In reply to: post going all over the pagesIf it’s a url you can use the following plugin to truncate it. http://www.coffee2code.com/archives/2004/07/08/plugin-auto-hyperlink-urls/
Otherwise, don’t invent and use 100-letter words
Forum: Fixing WordPress
In reply to: The first X letters from one articleThe following plugin allows you to specify word count
http://guff.szub.net/the-excerpt-reloadedForum: Plugins
In reply to: WP-Since Last Visit pluginPaste the content of the plugin file here: http://paste.uni.cc
And we’ll see what we can do.
Forum: Everything else WordPress
In reply to: ?? Desktop client for 1.5.2 ??Have you tried latest wbloggar? (Hey, it’s free; won’t hurt to try)