Category Specific Archive
I found a plugin that does the job. http://wordpress.org/extend/plugins/wp-category-archive/installation/
I found a plugin that does the job. http://wordpress.org/extend/plugins/wp-category-archive/installation/
If you use post_class(), it will echo out your classes using just about everything it has on the post. If you need to manipulate it, get_post_class() function can be used.
Full Text Feed plugin shows full content….follow the installation steps there,and then goto settings->Reading->For each article in a feed, show=>select Full text and save.it’ll work.if you want to implement via the code means, <?php if (get_option(‘rss_use_excerpt’)) : ?> <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> <?php else : ?> <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> <?php if ( strlen( $post->post_content ) > … Read more
What about in_category() function? You can build a conditional for those categories and then use a $var to show just one post, filtering previously those cats on the query. It would be something like that: <?php query_posts( ‘posts_per_page=-1&cat=1,2,3,4,5,6’ ); $var = 0; ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); … Read more
yes you can do it but you need 301 Redirect category to Page with Follow links that is good for SEO ? links jus from category going to the page i make it for my sell landing page , because i don’t need my visiter going to category page what you need to do for … Read more
You want wp_remove_object_terms(). if ($category->name == “Uncategorized”) { wp_remove_object_terms( $post_ID, ‘uncategorized’, ‘category’ ); } Untested but “Attachments” are pretty much just posts under the hood, so I am fairly sure that should work.
The following will display in 4 columns 32 terms max at all (product categories) so 8 items by column. If there is more than 32 terms, it replace the 32th term by “View Categories” custom linked item: <?php ## Settings $items_per_col = 8; // Number of items by column $number_of_cols = 4; // Number of … Read more
To do what you want, you’ll need to get a list of all the child categories of the category you want, and then check those. But you don’t need to write that list manually. You can use get_term_children() to get the IDs of the child and grandchild categories: $cat_id = get_cat_ID( ‘FAQ’ ); $children = … Read more
get_categories() is just a wrapper for get_terms(), and you can use either function to get all the blog’s categories which I assume are of the standard category taxonomy?; however, you can set a custom taxonomy when calling get_categories(), and one good reason to using get_categories() instead of get_terms() is that the output is always an … Read more
To get all the categories, you need to use get_terms(). Give the taxonomy slug. Here “kormo-portfolio-cat” is used. Then the category list is retrieved like this: $cats = get_terms(‘kormo-portfolio-cat’); Let’s check, echo “<pre>”; print_r($cats); echo “</pre>”; We will see the code like these Array ( [0] => WP_Term Object ( [term_id] => 7 [name] => … Read more