Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Oohhhhh “Checkbox” now has multiple checkboxes. I get it!

    I’m interested in this feature, downloaded the ZIP file above, overwrote the old files in my plugin folder but don’t see a Field Type option for Multiple Checkboxes. What am I missing?

    Thread Starter glasspeach

    (@glasspeach)

    Updated: Deleted all my plugins, reverted to (an up-to-date copy of) Twenty Eleven, and I still couldn’t log in to my admin panel in Firefox.

    I’ve run in to this same error – specifically on lines 51 and 72 – when trying to use shortcodes. Lines in question are:

    foreach ( $ancestors as $ancestor ) {
    			if ( post_password_required( $ancestor ) ) {
    				$output = wpautop( __('There is no excerpt because this is a protected post.') );
    				return $output;
    
    }
    
    foreach ( $ancestors as $ancestor ) {
    
    			$ancestor_post = get_post( $ancestor );
    
    			if ( post_password_required( $ancestor ) || ( isset( $ancestor_post->post_password ) && !empty( $ancestor_post->post_password ) ) ) {
    
    				$protected_title_format = apply_filters( 'protected_title_format', __('Protected: %s') );
    				$title = sprintf( $protected_title_format, $org_title );
    				return $title;
    			}

    Any ideas why the shortcode call would generate this error?

    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/ft-password-protect-children-pages/ft-password-protect-children-pages.php on line 72

    Thread Starter glasspeach

    (@glasspeach)

    Yes, I’m using a child theme.

    Thread Starter glasspeach

    (@glasspeach)

    Thanks for your help thinking this through, Rev. V. I should have mentioned this in my previous post, but I’m using a heavily modified version of twentyten. Most of the code is still in place but I’ve got several custom templates and custom CSS.

    I’ve got a pretty standard set of plugins – W3 Cache, Superfish, etc. – but I’m hoping to explore all my template-related options before deactivating them.

    Thread Starter glasspeach

    (@glasspeach)

    Yes:

    <?php if ( have_posts() ) the_post();?>
    
    <?php if ( is_day() ) : ?>
    	<?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
    <?php elseif ( is_month() ) : ?>
    	<?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?>
    <?php elseif ( is_year() ) : ?>
    	<?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?>
    <?php else : ?>
    				<?php _e( 'Blog Archives', 'twentyten' ); ?>
    <?php endif; ?>
    <?php>

    Doesn’t archive.php only display a list of months (i.e., no actual posts?) Do the “posts by month” pages somehow refer to archive.php?

Viewing 7 replies - 1 through 7 (of 7 total)