Daniel
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Amend Widget Widths and Positions in Twenty ThirteenHei Franc
– I’m not too sure how to read this function. Is the 228:245 a range of widths?
I tried to find an answer to that too, and can tell you this:
var columnWidth = body.is( ‘.sidebar’ ) ? 228 : 245;
means: if the body-tag has the class “sidebar” then columnWidth should be 228px. If not, the columnWidth should be 245px. Nothing more actually. Masonry is doing the rest (http://masonry.desandro.com/options.html#columnwidth)
Forum: Fixing WordPress
In reply to: Caption broken in new 3.4 postsIn my completely custom-theme, hand-coded, I removed this code in the functions.php:
/** * The TwentyTen Five Caption shortcode. * added by Richard Shepherd to include HTML5 goodness * * The supported attributes for the shortcode are 'id', 'align', 'width', and * 'caption'. * * @since TwentyTen Five 1.0 */ add_shortcode('wp_caption', 'twentyten_img_caption_shortcode'); add_shortcode('caption', 'twentyten_img_caption_shortcode'); /** * Prints HTML with meta information for the current post—date/time and author. * * @since TwentyTen Five 1.0 */ function twentyten_img_caption_shortcode($attr, $content = null) { extract(shortcode_atts(array( 'id' => '', 'align' => 'alignnone', 'width' => '', 'caption' => '' ), $attr)); if ( 1 > (int) $width || empty($caption) ) return $content; if ( $id ) $idtag = 'id="' . esc_attr($id) . '" '; $align = 'class="' . esc_attr($align) . '" '; return '<figure ' . $idtag . $align . 'aria-describedby="figcaption_' . $id . '" style="width: ' . (10 + (int) $width) . 'px">' . do_shortcode( $content ) . '<figcaption id="figcaption_' . $id . '">' . $caption . '</figcaption></figure>'; }.. and now the caption works fine again! Thanks to Andrew Nacin for the right tip!
Wow @mattyrob
I didn’t understand you that you mean I rather should have this set to “1”.. sorry! But it works with that!
Without the WP Mail SMTP-plugin, and only with the number of recipients per email changed to 1, the “Resend Digest” works!
Now I think, it also will send the next newsletter next week automatically! Cool! 🙂
Ok, I installed this plugin and it works with the test mails inside WP Mail SMTP.
Is there a way to tell Subscribe2 to use settings from WP Mail SMTP? Subscribe2 looks good when trying to send a Preview, but it never comes to my mailbox. And when I try to “Send an email to subscribers” I get: “Could not instantiate mail function.”
The number of recipients per mail is set to 0.
one.com says it’s unlimited for email addresses on the domain.
Forum: Installing WordPress
In reply to: Missing items in Admin after upgrading 2.9.2 -> 3.0.1Thanks for this!! It worked but it take some time, jeah…
If you know how, you can fix the database-stuff at your local installation (MAMP), that’s less stress then a long downtime.
And remember to take care of all settings (also from the plugins) before you take the last step – changing the database! 🙂
Good luck, and maybe there is a better way.
Forum: Installing WordPress
In reply to: Missing items in Admin after upgrading 2.9.2 -> 3.0.1same her, and with the same items missing.
I installed a fresh wp and copied only the database. And I god the problem again on this one..