Forum Replies Created
-
AuthorPosts
-
leviticus
Participant(Sorry, not quite sure how to post code on this forum.) Here’s the header php code:
script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js”leviticus
ParticipantDaniel, thanks for looking into this. I could use a little help on how to modify the code properly. I found the following code in the functions.php:
`// Cleaning up the WordPress Head
function bones_head_cleanup() {
// remove header links
remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); // Category Feeds
remove_action( ‘wp_head’, ‘feed_links’, 2 ); // Post and Comment Feeds
remove_action( ‘wp_head’, ‘rsd_link’ ); // EditURI link
remove_action( ‘wp_head’, ‘wlwmanifest_link’ ); // Windows Live Writer
remove_action( ‘wp_head’, ‘index_rel_link’ ); // index link
remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 ); // previous link
remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 ); // start link
remove_action( ‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0 ); // Links for Adjacent Posts
remove_action( ‘wp_head’, ‘wp_generator’ ); // WP version
if (!is_admin()) {
wp_deregister_script(‘jquery’); // De-Register jQuery
wp_register_script(‘jquery’, ”, ”, ”, true); // It’s already in the Header
}
}
// launching operation cleanup
add_action(‘init’, ‘bones_head_cleanup’);
// remove WP version from RSS
function bones_rss_version() { return ”; }
add_filter(‘the_generator’, ‘bones_rss_version’);// loading jquery reply elements on single pages automatically
function bones_queue_js(){ if (!is_admin()){ if ( is_singular() AND comments_open() AND (get_option(‘thread_comments’) == 1)) wp_enqueue_script( ‘comment-reply’ ); }
}`And then in the header after the css call:
` `Is this the culprit? What would I need to change to make jQuery load properly?
leviticus
ParticipantI switched to the default theme and deactivated other plugins and did not see a change in the date.
I haven’t made any changes to the core plugin itself. I did make template files as described in the 2.0 Theme Builders Guide before the upgrade to 3.0. I could go and make new template files for all the views using my previous date format code, but if there was a more elegant solution that would be plugin-wide, that would be preferable.
leviticus
ParticipantIn my wp_config.php: define(‘WP_DEBUG’, false);
Debug mode is also unchecked in the Events Calendar options page.leviticus
ParticipantThanks neillmcshea for the quick response. I do have the date/time settings in WordPress as the first option (July 9, 2013), but the year still doesn\’t show on the event post. http://www.formannd.com/event/trinity-church-turkey-dinner/
Is there any way to add the “Sunday” just on single event posts?
leviticus
ParticipantThanks Barry. It was the old jQuery that was causing the trouble. I wouldn’t have thought of that. I updated it to 1.9.0 and it is working again. 🙂
leviticus
ParticipantThanks, I just sent the files.
leviticus
ParticipantI am using the Default Page Template and that was showing my menus before the update. Even if I switch the template to the Default Events Template, my menus don’t show up on the main calendar page or the category pages. I even tried deleting the customizations I did to the /events/ files on my theme, but that didn’t solve it either.
With my current conditionals, it seems the proper header/footer/sidebar files are being called (ie:you can see the “News” banner on the pages), but some of the content in them is missing (ie: the article queries and dynamic menu calls). The exception to this is on the main calendar page the footer is missing entirely.
I can send you my template files if that will help me explain the trouble. I’m at a bit of a loss.
leviticus
ParticipantThanks so much. That did the trick!
leviticus
ParticipantI’m having the same conflict with the wpdownloadermanager plugin. Since I can get to the calendar admin via a direct link , would it be possible create a menu button in my functions.php to make the appropriate pages to the calendar admin area so the core files wouldn’t be edited?
http://www.wprecipes.com/add-custom-links-to-wordpress-admin-barIf not, could you walk me through the fix mentioned above?
leviticus
ParticipantI have a lot of venues and organizers that have the same (or very similar) names. In the event edit screen, it is difficult to tell them apart in the venue and organizer drop down selectors. It would be very helpful to see the city/state along with the venue and organizer name either in the drop down or have the location information appear after a venue/organizer is selected so I can be sure I’ve selected the correct one.
-
AuthorPosts
