Simple Data Table Update and Page Integration

Though I don’t think this is really a WordPress question, I’ll go ahead and answer anyway. 😉 I think you’d be much better off using an unordered list and some css to get the 2 column effect you’re looking for without much effort when updating. The markup for your lists would look something like this: … Read more

register_taxonomy – show in admin menu, but not on post type (edit) screen

As per le comment. function remove_artist_meta() { remove_meta_box( ‘{taxonomy name}’, ‘post’, ‘side’ ); } add_action( ‘admin_menu’ , ‘remove_artist_meta’ ); The Admin menu has been always difficult to deal with, some help here would be nice: http://core.trac.wordpress.org/ticket/12718 But I think that this could be added a a parameter to register_taxonomy. http://core.trac.wordpress.org/ticket/21543

Include subtitle display to slideshow

Subtitles aren’t standard in wordpress so it’s hard to know where to find yours. This code needs to be placed in the frontpageSlideShow function. Below where it says //format informations add: $subtitle = //wherever your post subtitles can be found, probably in a custom //meta Then, you need to add your subtitle to the $fscontent … Read more

Showing all post from all post type in admin backstage

You can use a $wpdb->get_results for this. I am not an mySQL expert so I will give you the pseudo code instead global $wpdb; $data = $wpdb->get_results( SELECT posts.ID ID, posts.post_title title, posts.post_author author, postmeta.isbn isbn FROM $wpdb->posts posts JOIN $wpdb->postmeta postmeta ON posts.ID = postmeta.post_id WHERE posts.post_type=”post_type_1″ OR ‘post_type_2’ OR ‘post_type_3’ GROUP BY posts.ID … Read more

WXR XML import is stripping php tags that I need to keep

Changing WordPress — installed all the right plugins? Just wondering are you migrating WordPress? … Did you have a plugin like Exec-PHP allowing PHP content in posts and pages on one install and that plugin is not active in another install of WordPress? WordPress by default doesn’t allow PHP in posts and pages so this … Read more

How to display posts list on my plugin page?

Better would be the use of WordPress’ function get_posts(): $args = array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’ ); $posts = get_posts( $args ); echo ‘<ul>’; foreach ( $posts as $post ) { echo ‘<li>’ . $post->post_title . ‘</li>’; } echo ‘</ul>’; http://codex.wordpress.org/Template_Tags/get_posts

Hierarchical gallery

WordPress Posts (First level) Yes, the posts feature can be used as a gallery. WordPress provides nice short code to show all the attached images in post. While adding galleries make sure they point to attachment page not to the real file. When user clicks on any of image from the gallery they’ll get to … Read more

jscrollpane problem with my child theme

i did it like that and its working now function kia_enqueue_scripts() { //use google’s jquery wp_deregister_script( ‘jquery’ ); wp_enqueue_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js’); //load up your own plugin wp_enqueue_script(‘easing’, get_stylesheet_directory_uri() . ‘/js/jquery.easing.1.3.js’); wp_enqueue_script(‘custom’, get_stylesheet_directory_uri() . ‘/js/jquery.custom.js’); wp_enqueue_script(‘mousewheel’, get_stylesheet_directory_uri() . ‘/js/jquery.mousewheel.js’); wp_enqueue_script(‘jscrollpane’, get_stylesheet_directory_uri() . ‘/js/jquery.jscrollpane.js’); } add_action(‘wp_enqueue_scripts’, ‘kia_enqueue_scripts’);