Chris Harrison
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Break After UpdateMy WP backend seems to have also broken after the last update as well. No specific errors to report, but with latest CPT UI installed no wp-admin pages fully load.
Forum: Plugins
In reply to: [Quotable] Shorten characters to comply with tweet max length+1. Would love to have some control over this. even if it meant using a data attribute on a blockquote to force what I’d like shared… Even being able to specify things like a short url to use, account, etc. would be good.
<blockquote data-text="My custom tweet string..." data-shorturl="https://wp.me/example" data-account="@cdharrison" data-hashtags="wordpress quotable">Full text of quote goes here...</blockquote>
Forum: Plugins
In reply to: [Quotable] If blockquote contains a link, it breaks Twitter popup.You were absolutely right. Even encoding it with &+#37; seems to break it.
Forum: Themes and Templates
In reply to: [Eventbrite Venue] Eventbrite Services Plugin requiredFantastic. Thanks so much!
Forum: Alpha/Beta/RC
In reply to: WordPress failed to update to WordPress 3.7-beta2@ipstenu —?It worked, but it didn’t allow anything to be upgraded… (I attempted to update several plugins and it returned a very similar error before I did a manual update of WP core files…)
Forum: Alpha/Beta/RC
In reply to: WordPress failed to update to WordPress 3.7-beta2@ipstenu —?Yup, I haven’t had issues since the hiccup.
Forum: Alpha/Beta/RC
In reply to: WordPress failed to update to WordPress 3.7-beta2@Chantal — Any luck? (You manually updated via FTP/SFTP?)
Forum: Alpha/Beta/RC
In reply to: Automatic upgrades not firing(?)Something broke with last night’s build, I think. I was getting disk_free_space() errors causing automatic upgrades to fail. I had to manually replace my core WordPress files to get it working again: https://www.ads-software.com/support/topic/wordpress-failed-to-update-to-wordpress-37-beta2?replies=3
Forum: Alpha/Beta/RC
In reply to: WordPress failed to update to WordPress 3.7-beta2@gerd-e. — I just fixed my install by downloading the latest WordPress Nightly – https://www.ads-software.com/nightly-builds/wordpress-latest.zip – to my desktop, extracting the files and then uploading everything except for wp-content, replacing all that was already there.
Once I did that, I was then able to upgrade plugins (which was suffering from the same disk_free_space() issue).
Forum: Alpha/Beta/RC
In reply to: WordPress failed to update to WordPress 3.7-beta2I’m having the same issue. When I tried to trigger an update manually I get the following:
Warning: disk_free_space() [function.disk-free-space]: Value too large for defined data type in /nfs/c02/h11/mnt/16179/domains/cdharrison.com/html/wp-admin/includes/file.php on line 725
Could not create directory.Installation Failed
Forum: Plugins
In reply to: [Multiple Post Thumbnails] Fallback ImagesSorry, strike that. Code was a little out of whack, before. This works:
<?php if (class_exists('MultiPostThumbnails')) : if ( MultiPostThumbnails::has_post_thumbnail( get_post_type(), 'secondary-image', NULL, 'secondary-image') ) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image', NULL, 'secondary-image'); else : ?> <img src="<?php bloginfo( 'template_directory' ); ?>/i/generic.png" class="attachment-secondary-image" alt="<?php the_title(); ?>" /> <?php endif; endif; ?>
Forum: Alpha/Beta/RC
In reply to: Adding support for the_post_thumbnail in RSS Feeds@giant slayer – One of the issues I noticed with this approach is that it requires the feed be accessed at /feed/rss/
Are you getting any particular errors? What version of WordPress are you running?
(Sorry for delay in responding. I should have sub’d to the RSS fee for this thread.)
Forum: Alpha/Beta/RC
In reply to: How to show the description of the menuI revised this slightly so that it would use the Title Attribute from the Menu items instead, and would include that text outside of the link:
class My_Walker extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global $wp_query; $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; $class_names = $value = ''; $classes = empty( $item->classes ) ? array() : (array) $item->classes; $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) ); $class_names = ' class="' . esc_attr( $class_names ) . '"'; $output .= $indent . '<li id="menu-item-'. $item->ID . '"' . $value . $class_names .'>'; $attributes = ! empty( $item->attr_title ) ? ' title="' . esc_attr( $item->attr_title ) .'"' : ''; $attributes .= ! empty( $item->target ) ? ' target="' . esc_attr( $item->target ) .'"' : ''; $attributes .= ! empty( $item->xfn ) ? ' rel="' . esc_attr( $item->xfn ) .'"' : ''; $attributes .= ! empty( $item->url ) ? ' href="' . esc_attr( $item->url ) .'"' : ''; $item_output = $args->before; $item_output .= '<a'. $attributes .'>'; $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after; $item_output .= '</a><br /><span class="sub">' . $item->attr_title. '</span>'; /* This is where I changed things. */ $item_output .= $args->after; $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args ); } }
Forum: Alpha/Beta/RC
In reply to: Thumbnail menu not appearing on custom post typesDisregard. My issues ended up being related to the BuddyPress Classifieds plugin. Killing it fixed my issues. ??
Forum: Alpha/Beta/RC
In reply to: Thumbnail menu not appearing on custom post types@heroicnate, I’ve tried your example and can’t seem to get it to work. I’m beginning to wonder if it’s an issue with BuddyPress or a plugin I have installed. I can get Post Thumbnails to work fine on Pages & Posts. No dice on my custom post types.