MichaelH
Forum Replies Created
-
Forum: Plugins
In reply to: how to identify more than one page in using conditionalsIn the example from http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page
if ( is_page(array(42,'about-me','About Me And Joe')) ) { //do something }Forum: Fixing WordPress
In reply to: Feature Post?Put that in whatever template is displaying your posts.
Review:
Stepping Into Template Tags
Stepping Into Templates
Template HierarchyForum: Fixing WordPress
In reply to: Posted Date is wrong, doesn't match published datePlease paste all the code from the theme template file (probably index.php) that is displaying those posts into a pastebin such as wordpress.pastebin.com, and report the link back here. Maybe someone can spot your problem. Thanks.
Forum: Plugins
In reply to: How to make my post appear in a static page.It would seem if you put your loop for 1 post and another loop for 5 posts (use
'offset'=>1,) those two loops should go right before the get_footer.Forum: Fixing WordPress
In reply to: Exclude a category post from recent post listsWhat could I use in place of wp_get_archives
Did you get a chance to look at any of those plugins listed above?
Forum: Fixing WordPress
In reply to: Exclude a category post from recent post listsCan’t exclude categories with wp_get_archives.
Since you don’t want to craft your a query loop as suggested by t-p, then consider these:
* http://wordpress.org/extend/plugins/query-posts/
* http://wordpress.org/extend/plugins/wordpress-loop/
* http://wordpress.org/extend/plugins/category-posts/
* http://wordpress.org/extend/plugins/list-category/
* http://wordpress.org/extend/plugins/bns-featured-category/Forum: Installing WordPress
In reply to: questions about multiple installs, single DBContinue discussion here:
http://wordpress.org/support/topic/multiple-wordpress-installs-under-one-db-1?replies=11Forum: Fixing WordPress
In reply to: HTML code for table of contents?Haven’t used it but have you looked at http://wordpress.org/extend/plugins/table-of-contents-creator/
generic:
http://www.google.com/search?q=wordpress+plugin+tocForum: Fixing WordPress
In reply to: Get Post lengthYou mean like:
<?php $args=array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> <?php echo 'length of post content is '. strlen( $my_query->post->post_content); endwhile; } wp_reset_query(); // Restore global post data stomped by the_post(). ?>Forum: Fixing WordPress
In reply to: Add custom sidebar widgets to widgets listYou might want to start here: Widgets_API
Also remember Otto’s PHP code widget can be used to create widgets that do useful things.
Forum: Plugins
In reply to: [WP Hide Post] [Plugin: WP Hide Post] Please update!To help the plugin author it’s useful to suggest specific things that need to be fixed or improved.
Forum: Hacks
In reply to: grabbing posts by meta the advanced wayWell then you might have to resort to using wpdb and the example that is here http://codex.wordpress.org/wpdb#SELECT_a_Column
Forum: Hacks
In reply to: grabbing posts by meta the advanced wayNot sure but have you tried the orderby=meta_value argument with query_posts?
http://codex.wordpress.org/Template_Tags/query_posts#Order_Parameters
Forum: Themes and Templates
In reply to: customizing a templatePlease consider posting a “New Job Request” [1] [2] to have a professional work with you.
[1] http://jobs.wordpress.net/postajob.php
[2] http://www.elance.com/php/search/main/eolsearch.php?matchType=profile#page=1&matchKeywords=wordpress&catFilter=100Forum: Fixing WordPress
In reply to: Please help I can't open my websiteMight try backing up your WordPress files first (see WordPress Backups), then delete the wp-content/themes/Ecosomo folder and WordPress will revert to using the default theme then install a clean copy of your theme Ecosomo.