301 Redirecting posts without %postid% (just %post_name%) in permalink to ones with %post_name%_%postid%
Have a look at the Redirection plugin.
Have a look at the Redirection plugin.
Firstly, your tax query is a little jumbled. The first nested array should actually be at the ‘root’ of your query_posts() argument, with tax_query as a key among them; array( ‘post_type’ => ‘review’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 10, ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘reviewcats’, ‘terms’ => array( ‘featured’ ), ‘field’ … Read more
When generating the form all you need is the post id of the product pages and you can use get_post_meta function to retive the information about that product , so basically you just need to pass the product post id. eg: $price = get_post_meta($product_post_id,’price’,true);
Short answer, yes WordPress can do this sort of things. You could create a custom post type called “Recepies”, and a custom taxonomy called “Ingredients”. Everything else is already included in the default WP setup, “Dishname” would be your post title, “Introduction” can be the “Excerpt” field, and photos are handled by the media gallery.
I agree that this is more of a basic PHP question, but I can see where you’re coming from. A lot of WordPress functions accept query string formatted parameters like you’re trying to do, so it would be a good idea to know exactly how they do it. Shortcode functions are guilty in particular. First … Read more
I am not sure what you mean by category searches? In is_category() branch of template hierarchy category.php precedes archive.php, it is intended and wanted behavior. If you want to change template behavior for specific category you will need to override that logic, likely in template_redirect hook or around that.
Unless you have a particular reason to have meta box order values , that would be overkill. Instead ditch the excerpt for pages, and add a meta box called “intro_content” (or whatever). Then in a home.php query you can easily grab this info and order it however you want using html. For instance: // replace … Read more
Found a solution. I divided my pictures into 3 templates and in the post admin i just have to load them with the drop-down menu. The value of “max_file_uploads” is still stuck at 20 but for now it’s the best solution i found.
You have some options: the cformsII plugin, with tracking enabled the Contact Form 7, plus the Contact Form 7 to Database Extension other may be suitable as well!
How do I protect my uploads?