Custom meta box data in rss feed

Ok I got it // Add the audio link to the feeds so we can podcast function feed_customMeta($content) { global $post, $id, $radioMeta; if ( !is_feed() ) return $content; $getRadioLink = ‘<a href=”‘.$radioMeta->get_the_value(‘radioLink’).'”>Download Audio</a>’; if( $getRadioLink) $content .= $getRadioLink; return $content; } add_filter(‘the_excerpt_rss’, ‘feed_customMeta’); add_filter(‘the_content_feed’, ‘feed_customMeta’);

Include a metabox in the ‘home’ screen of a custom post type? If not, then the dashboard page?

Try something like this. I haven’t actually done this yet, it is something I was looking into, so please let me know how it goes. add_action(‘wp_dashboard_setup’, ‘custom_dashbox’); function custom_dashbox() { global $wp_meta_boxes; wp_add_dashboard_widget(‘widget_slug’,’Widget Name’, ‘widget_display’,’widget_submission’); } function widget_display() { echo ‘<input type=”text” name=”youtube_id” /><br/> <input type=”submit” name=”submit_youtube” />’; } function widget_submit() { //Do what you … Read more

How to display multiple $meta_boxes into separate tables

The Problem is in your ri_display_metaboxes() function more specifically this line: foreach ($meta_boxes as $meta_box) { Which tells WordPress to render both/all metaboxes on every single metabox display callback. to get over it you can use the $callback_args parameter of add_meta_box function so try this: function ri_add_custom_box() { global $prefix, $meta_box, $meta_boxes; $prefix = ‘_ri_custom_meta_’; … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)