Display most recent posts in category with Twenty Ten theme widget
The fastest way, a plugin: http://wordpress.org/extend/plugins/category-posts/
The fastest way, a plugin: http://wordpress.org/extend/plugins/category-posts/
Looks like you got the hang of it. Taxonomy template is an archive of posts that share a term just like categories or tags, so if by looped view you mean archive then yes you are correct. you can create just one template that will include all taxonomies and use the get_template_part function to include … Read more
There is no built-in mechanism to access php in the post editor. The best solution would be to create a custom shortcode which you can use to access the variable. This is probably the safest and most secure method available.
So you want to import textual content and preserve its formatting, as opposed to parsing it into HTML? I suppose the <pre></pre> tags are meant for exactly this. However I would consider spending osme effort to parse input after all, otherwise there is little merit in having it in WordPress.
You could call a function whenever a user publishes a post (checkout the publish_post action here) In this function you would first check how many posts your user has already published, and only allow the new post to be published if this number is within a range you specify (ie. < 100) Then you would … Read more
I would check the reading settings in the admin section (Settings->Reading). Make sure that the setting “Blog pages show at most” didn’t get changed. If that doesn’t fix it, try swapping back to the previous theme and see if it is anything to do with the theme’s loop. Otherwise, my last thought on it would … Read more
Are you by any chance using special characters, such as accents? Did you try to change the encoding of the server by using the .htaccess file? php_value default_charset UTF-8 AddDefaultCharset UTF-8 Try replacing UTF-8 with iso-8859-1 or iso-8859-2. EDIT: Are you posting double spaces? WordPress interprets these (in rare occasions) as a forced space, a … Read more
You are doing so many things wrong there, for example, you should only use query_posts once in a template file and on the main query of the page, anything else should be done using get_posts or WP_Query. So to make you post types mingle you only need on query and you set the post type … Read more
For styling archive index pages for a given category, target body.category-slug (where slug is the category slug) in CSS. For styling single blog posts that have a given category, assuming your post container is a div, target div.category-slug (where slug is the category slug) in CSS. For PHP operations, you can also use is_category( ‘slug’ … Read more
The problem is you are not “filling” the custom field with data you are just outputting the value in the edit screen, so you must save or update, and to have that data inside all of your posts you will need to either create a custom query of all the posts and update there meta … Read more