mayg
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: page template dropdown for post types other than ‘page’ok i just managed to resolve this..
there is a file meta-boxes.php within wp-admin\includes of the wordpress installation.. line 547 of the file, which is the function page_attributes_meta_box() just add the check for your particular post type name to be able to display the template pages drop down.
if ( ('page' == $post->post_type || 'yourcustomposttype' == $post->post_type) && 0 != count( get_page_templates() ) ) { $template = !empty($post->page_template) ? $post->page_template : false; ?>Forum: Alpha/Beta/RC
In reply to: page template dropdown for post types other than ‘page’i see the same problem.. has anybody managed to resolve this?
Forum: Fixing WordPress
In reply to: wp_enqueue_script(‘jquery’) stopped working after upgrade to 2.8.2I was wondering why suddenly my
wp_enqueue_script( 'comment-reply' ); wp_enqueue_script( 'jquery' );and a couple of others were not working after a WP upgrade.for jQuery i tried using the script tag and it started to work fine..
<script type="text/javascript" src="<?php echo get_settings('home'); ?>/wp-includes/js/jquery/jquery.js"></script>no clue how my nested comments thing will start working again.. even the script tag isn’t helping the situation 😐
<script type="text/javascript" src="<?php echo get_settings('home'); ?>/wp-includes/js/comment-reply.js"></script>Has anybody encountered a similar problem?