Need Category RSS Feed that shows all posts
WordPress generates category feeds automagically. See WordPress Feeds > Categories and Tags.
WordPress generates category feeds automagically. See WordPress Feeds > Categories and Tags.
Try this: $page = $wp_query->get_queried_object(); $slug = $page->post_name; PS I think next WP release will get proper custom post archives or something around that…
You should be able to create a single-your-post-type-name.php file and have it work. I currently have it working fine on 3 or 4 sites so if it’s not working for you you’re doing something wrong. Based on your code sample single-artwork.php should work as a single page post template. You could also redirect on single.php … Read more
You can create a separate category template for just that one category. If your category’s slug is reviews you can make a copy of your category template and save it as category-reviews.php. See the Category Templates page on Codex for more info about the template hierarchy. This still leaves you with the /category/ part in … Read more
you have to use archive-projects.php to work mysite.com/projects, that’s all
use this into the loop or if you want to change created date to modified date than replace that with below code. As I know this feature works from all version of wordpress after 2.1 <?php the_modified_date(); ?> More detail you can find here http://codex.wordpress.org/Template_Tags/the_modified_date
Put this code in your functions.php and check. function custom_gallery( $output, $attr ){ global $post, $wp_locale; static $instance = 0; $instance++; // We’re trusting author input, so let’s at least make sure it looks like a valid orderby statement if ( isset( $attr[‘orderby’] ) ) { $attr[‘orderby’] = sanitize_sql_orderby( $attr[‘orderby’] ); if ( !$attr[‘orderby’] ) … Read more
This is absolutely possible. By default, the category archive page will be at domain.com/category/the_category. The file that is typically used for this rendering is category.php, which is located in your theme directory. To remove the /category/ part, so that your category archives are at domain.com/the_category, you can use the SEO Ultimate plugin. After installing the … Read more
I was having the same problem as the OP, when working in a child theme and copying the sidebar-page.php file to make my own template file (named register.php). Then I noticed in the original template pages, in the body tag there is a class ‘.page-template-sidebar-page-php’ whereas in my new template it was showing up as … Read more
Do you have any output code we can reference? Put this in your Theme file: <img src=”https://wordpress.stackexchange.com/questions/45576/<?php get_the_value(“imgurl’); ?>” style=”width:100px;height:100px” /> if you have multiple you’ll have to go through a foreach loop: <?php foreach ($meta[‘imgurl’] as $img ) { echo ‘<a href=”#” /><img src=”‘. $img .'” /></a>’; } ?> Hope this helps, I don’t … Read more