How to get tags only with custom meta field and display them randomly?

You can get custom fields randomly using the below code that you can combine with your existing code to get desired output. function wpll_get_popular_nodes() { global $wpdb; $custom_fields = $wpdb->get_results( “select DISTINCT meta_value from $wpdb->postmeta pt LEFT JOIN $wpdb->posts p ON (pt.post_id = p.ID) where meta_key LIKE ‘tax_image_url_universal’ ORDER BY RAND()” ); if ( is_array( … Read more

Add tags to long page that is broken up into subpages?

You have to add tag support to your Pages. function page_tags() { register_taxonomy_for_object_type(‘post_tags’,’pages’); // adds tag support add_meta_box(‘tagsdiv-page_tag’,’tags’,’post_tags_meta_box’,’page’,’side’,’low’); // adds the meta box itself } add_action(‘admin_init’,’page_tags’); You still won’t see tags anywhere. You can move the meta box around using the ‘side’ and ‘low’ parameters. See the link below. Now look in TwentyEleven’s content-single.php and … Read more

WordPress Title Tag Not Changing

The return function doesn’t require (). So you’d want your function to look like this: function wpse_set_document_title_separator ( $sep) { return ‘-‘; } add_filter( ‘document_title_separator’, ‘wpse_set_document_title_separator’ );