Jan Koester
Forum Replies Created
-
Forum: Plugins
In reply to: [RecipePress Reloaded] Backwards compatibility?I can’t promise backwards compatibility is still there. I didn’t test migrating since release 0.5 and some things have changed.
If you hit any bugs on your test environment I’ll e happy to fix them.Forum: Plugins
In reply to: [RecipePress Reloaded] Can't edit optionsNo idea. Probably something is wrong with your installation of wordpress or even the webserver.
I’d check the .htacces first.It’s on the list for the next release. Thank’s for the suggestion.
Forum: Plugins
In reply to: [RecipePress Reloaded] Print button does not workThe print link generated is correct. When clicking thee browsers print dialog should be opened by JavaScript. Please make sure JS is enabled in your browser.
For me the link works well in FF38.Forum: Plugins
In reply to: [RecipePress Reloaded] Recipe Priview dosent workThanks for reporting this issue.
Mist probably this is a problem of your theme and not of RecipePress reloaded. Please provide more information:
– the theme you are using
– a link to your page or a screenshotForum: Plugins
In reply to: [RecipePress Reloaded] Instruction photosThanks for reporting this bug. It’s been fixed in release 0.7.9
Forum: Plugins
In reply to: [RecipePress Reloaded] Where are my taxonomy?Please try release 0.7.9. This should help you to recover your lost taxonomies.
Forum: Plugins
In reply to: [RecipePress Reloaded] Where are my taxonomy?I’m pretty sure the problem is exactly there. Although I can’t tell you how it could happen.
It’s a bit difficult at this point. Usually you have taxonomies defined in your source code and can tell at any point which taxonomies are there. In RecipePress reloaded taxonomies are created dynamically and stored in the database. This far more complex.If I understood you right, the field above shows the value before the update and the field below after the update. You can try to copy the content from before the update. This should bring your taxonomies back.
Regards
JanForum: Plugins
In reply to: [RecipePress Reloaded] Where are my taxonomy?I can’t tell you why this is happening. Quite obviously you install of RecipePress reloaded forgets about it’s taxonomies upon update. However this should not happen!
A quick fix could be:- Go into your MySQL-Database
- Go to the table
wp_option - Find the entry
rpr_taxonomiesand save it somewhere - Perform the update
- Replace the entry
rpr_taxonomieswith the older version. Taxonomies now should be there again.
I will think about a ‘recover taxonomies’ feature for the next release, but this might take some time.
Forum: Plugins
In reply to: [RecipePress Reloaded] Where are my taxonomy?Then it’s something completely different than I thought. Please tell me more.
– Is it a built in or a custom taxonomy?
– does it appear on the manage taxonomies page?Probably something went wrong in the database update in release 0.7.7 that needs to be individually fixed in your database. I’ll tell you then what to do.
Forum: Plugins
In reply to: [RecipePress Reloaded] Where are my taxonomy?This looks like a rather strong effect of a problem I noticed yesterday. To solve it please edit php/class/rpr_taxonomies and insert some code around line 62 just after
$this->taxonomies = get_option('rpr_taxonomies', array());
and before// register taxonomies:// Restore taxonomies if active but deleted: if( !isset($this->taxonomies['rpr_ingredient']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_ingredient', __( 'Ingredients', $this->pluginName ), __( 'Ingredient', $this->pluginName ), true); } if( $rpr_option['taxonomies']['rpr_category'] == '1' && !isset($this->taxonomies['rpr_category']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_category', __( 'RPR Categories', $this->pluginName ), __( 'RPR Category', $this->pluginName ), true); } if( $rpr_option['taxonomies']['rpr_tag'] == '1' && !isset($this->taxonomies['rpr_tag']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_tag', __( 'RPR Tags', $this->pluginName ), __( 'RPR Tag', $this->pluginName ), false); } if( $rpr_option['taxonomies']['rpr_course'] == '1' && !isset($this->taxonomies['rpr_course']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_course', __( 'Courses', $this->pluginName ), __( 'Course', $this->pluginName ), true); } if( $rpr_option['taxonomies']['rpr_cuisine'] == '1' && !isset($this->taxonomies['rpr_cuisine']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_cuisine', __( 'Cuisines', $this->pluginName ), __( 'Cuisine', $this->pluginName ), true); } if( $rpr_option['taxonomies']['rpr_season'] == '1' && !isset($this->taxonomies['rpr_season']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_season', __( 'Seasons', $this->pluginName ), __( 'Season', $this->pluginName )); } if( $rpr_option['taxonomies']['rpr_difficulty'] == '1' && !isset($this->taxonomies['rpr_difficulty']) ){ $this->taxonomies = $this->add_taxonomy_to_array($this->taxonomies, 'rpr_difficulty', __( 'Difficulties', $this->pluginName ), __( 'Difficulty', $this->pluginName )); }This should do the trick.
What I did not test yet is what happens to custom taxonomies. Will look into that later today.
Hi,
First I would turn on WP_DEBUG (codex) on your testing system. It’s probably not such a good idea to do this on publicly available site. A blank page usually is caused by a PHP fatal error.
Second there some spelling mistakes:<?php $args = array( 'taxonomy' => 'rpr_course', 'term' => 'breads', 'post_type' => 'rpr_recipe', 'posts_per_page' => 10, 'ignore_sticky_posts' => 1 ); $query = new WP_Query( $args ); ?>In general your query looks good and should work now.
Regards
JanThe sorting on the recipe index page is alphabetical by title as done by wordpress. In the alphabet characters like ” come before the letter A. This cannot be changed easily as I’d have to recode the database query. And I’m not going to do that …
Problem was that in the backend form the quotes in your ingredient name got mixed up with the quotes used in HTML to define the form field value.
I think I found a solution to this and will make it available in release 0.7.8 this week.
Other parts of the plugin might be affected as well by this problem. If you observe anything please tell me.Thanks for reporting this issue. I will look into this as soon as possible.
I’d suggest not to use quotes in ingredient names. Instead use the comment field to store brands etc.
Internally ingredients are stored as taxonomy terms similar to categories. I’m not sure if wordpress supports special characters in terms.
Have a look at the ingredients list in the back end. Do “Brooks” Chili Beans show up there?