Appending a variable to RSS link url

add the following to your functions.php file: add_filter(‘feed_link’,’my_site_feed’, 10, 2); function my_site_feed($url, $feed_type ){ $user = my_get_the_username(); //this function should return the username. return add_query_arg( array(‘user’ => $user ), $url ); } And get your rss feed url using: echo get_bloginfo(‘rss2_url’); or bloginfo(‘rss2_url’);

Order by meta_key where value is serialized

Yes, it is possible, however your question is not really precise. What you experience is probably already that it is possible to sort by meta_key even the value of it is a string of some serialized data – it’s just that this is the standard binary sort and WordPress does not take care about that … Read more

1 post, 2 templates

Your best bet would probably be the Rewrite Endpoints API. The API allows you to create post URLs with endpoints like lorem.com/post/133/json/ or lorem.com/post/133/print/. You’ll find useful code examples in the link provided.

WordPress blog set up

It sounds like you should be looking into WordPress multisite. Multisite is a way to run multiple sites on a single installation of WordPress. WordPress.com is an example. One big advantage of multisite is that it runs off a single set of plugins and themes. That means you can allow separate users/authors to only have … Read more

Apply custom names for generic custom taxonomy name?

Yes, that’s certainly possible, but you wouldn’t override anything- instead you’d fetch and add the custom names when they’re registered. For a quick example, say you have an option that stores the names: $taxonomies = array( ‘ingredient_1’ => ‘Toppings’, ‘ingredient_2’ => ‘Sauce’ ); add_option( ‘my_tax_names’, $taxonomies ); Then when you register the taxonomies: $taxonomies = … Read more

How can i get the actor birthday by date?

For this to work you need the date stored in the database to match the $todaysDate and it probably doesn’t. If I am reading your somewhat confusing question correctly then you are storing dates like 20th Jan 2013 but you are matching it against a date that looks like 0120 (January 20). Even if you … Read more

Using and saving custom dropdown boxes on user profiles

You appear to be checking for variables that aren’t set. You set $selected $selected = get_the_author_meta( ‘user_top’, $user->ID ); But then you check for something called $topselected <select name=”user_top” id=”user_top”> <option value=”gotguns” <?php echo ($topselected == “gotguns”)? ‘selected=”selected”‘ : ” ?>>I got guns</option> The same thing happns with $middleselected and $bottomselected I think your problem … Read more

How can I make a custom post type that loops pages in a new dashboard page, each single page is a new dashboard page (all within the back-end)?

WordPress isn’t built with your idea in mind. That being said, add_menu_page on the WordPress Codex shows how to create an admin top-level menu page, i.e., a menu item within the left column of the admin section. add_submenu_page shows how to create submenus of top-level menu items. You could create a plugin, and add menu/submenu … Read more