Date in the URL with The Events Calendar

You could just try to change the slug to the value you need for each event. The problem arises if you have the same event twice (or more) in the same month though. You will need to create a new title for the event. you can try this plug-in: http://wordpress.org/extend/plugins/custom-post-type-permalinks It might help you with … Read more

Handling jQuery Component Collision

My suggestion would be to use a mix of code isolation in an anonymous function and checking if jquery is already present. Here’s an example: (function() { var jQuery; // your jquery variable // check if jquery is present and if it has the version you want if (window.jQuery === undefined || window.jQuery.fn.jquery !== ‘1.8.3’) … Read more

Editing Theme to apply Co-Authors Plus

I think you’re looking for something like this article. It’s rather comprehensive, but I’ll just cover the multiple BIOs and avatars. You’ll want to change your HTML code to this instead: <?php $i = new CoAuthorsIterator(); ?> <?php while( $i->iterate() ) : ?> <div id=”authorinfo” class=”columns alpha omega marT30 marB20″> <a href=”https://wordpress.stackexchange.com/questions/88548/<?php the_author_meta(“url’); ?>”><?php echo … Read more

Placement of Code in Plugin for hooking `save_post`

I’m not sure if if( !current_user_can( ‘edit_post’, $post_id ) ) return; really works. Maybe the current user isn’t set up there and you’ll have to work around it by passing the user ID in a hidden field, then retrieving it using $user = get_user_by( ‘id’, esc_attr( $_POST[‘user_id’] ) ); wp_set_current_user( $user->user_id ); if ( ! … Read more

WordPress 3.5 Media Manager – add a button

This block of code will add a button right next to the “Insert into post” one. When clicked, it will send selected images to WP editor, each wrapped inside your template HTML: var wpMediaFramePost = wp.media.view.MediaFrame.Post; wp.media.view.MediaFrame.Post = wpMediaFramePost.extend( { mainInsertToolbar: function( view ) { “use strict”; wpMediaFramePost.prototype.mainInsertToolbar.call(this, view); var controller = this; this.selectionStatusToolbar( view … Read more

Why does deactivating a plugin cause error: “You do not have sufficient permissions to access this page”?

For the specific case of bbPress, it adds new user roles and capabilities, like the “Keymaster” role. Those users who had a role that was bbPress specific won’t have access to anything anymore, because after you removed the plugin, the role no longer exists. Some users have reported that using the “User Role Editor” plugin … Read more