jefflin
Forum Replies Created
-
It’s a rather useless and annoying “feature.” I hope it gets removed, or at least defaulted to off with the option to turn it on.
We had the same issue. Revert to 1.2.2 and all is good again.
To get older versions: http://wordpress.org/extend/plugins/jetpack/download/
Forum: Fixing WordPress
In reply to: Next Page link to traverse custom menujynk,
Yes, please post an answer if you find one. Thanks!
Forum: Fixing WordPress
In reply to: Curate Home Page ContentHi Gnuboss. Hit me up at jeff@bustoutsolutions.com.
Forum: Fixing WordPress
In reply to: Curate Home Page ContentThanks Rev Voodoo. Here’s the solution I came up with
<?php global $post; $args = array( 'numberposts' => 5, 'post_type' => 'any', 'meta_key' => 'frontpage', 'orderby' => 'rand' ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?> <div class="front-page-post"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a> <div class="front-page-post-text"> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <?php the_excerpt(); ?> </div> </div> <?php endforeach; ?>What this allows the user to do is just specify a custom field “frontpage” on either a post or a page and it shows up on the front page.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] How can I add “title=” attributeOpen the module file that you want a title for. For example, if you want to add a title attribute to text, open the modules/text.php file. Inside the wpcf7_text_shortcode_handler() function define a variable
$title_attin exactly the same way$class_attis defined.In the
foreachloop, add a case for the title_attelseif ( preg_match( '%^title:([-0-9a-zA-Z_@\.]+)$%', $option, $matches ) ) {$title_att .= ' ' . $matches[1];}Then below that, add an if statement to include the title attribute
if ( $title_att )<br /> $atts .= ' title="' . trim( $title_att ) . '"';Essentially, copy the
$class_attvariable but rename class to title.Forum: Themes and Templates
In reply to: Archives by categoryThanks, I looked at that, but am still having some trouble… It’s clear how to create an archive page for 1 specific category at a time by using category-1.php, but how do you create a monthly archive for all categories EXCEPT two specific categories?
Forum: Installing WordPress
In reply to: WP, Leopard and MAMPI don’t follow part a) of JohnL’s posting becuase I don’t have the mysql.server file, but part b) fixed my local wordpress DB connectivity issue. I had to create a php.ini file, which I did by copying php.ini.default. Thanks!