Creating a page for custom taxonomy archive
That`s the suggestion: make a “news” page with a custom page template for it. Inside there, just query your db as you need. For the moment, i can`t find another solution.
That`s the suggestion: make a “news” page with a custom page template for it. Inside there, just query your db as you need. For the moment, i can`t find another solution.
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’);
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
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.
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
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
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
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
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
Better if you stay use different post types but group its in one admin menu (look to http://wp.tutsplus.com/tutorials/creative-coding/customizing-your-wordpress-admin/ and http://codex.wordpress.org/Administration_Menus)