Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Same here – got 500 because of this error:
    PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/amazon-associates-link-builder/ip2country/aalb_maxmind_db_manager.php:94

    I went back to version 1.4.13 because 1.5.1 is not working for me (WordPress 4.9.1)

    Sandra

    (@foodcat)

    I’m just a user like you and also low on funds ?? my goal is to offer delicious meals with a clear amount of calories and tips how to be slimmer.

    so I don’t know if the pro will help with your problem or not.
    Did you try editing the search page? what happens if you delete the shortcode?

    Sandra

    (@foodcat)

    I would say it’s not feature included in this plugin. But you can easily make your on php function for that, if you can program a little.
    Get all the cooked categories and show them in a table. Including title and description. Then add a link to your filtert categorie for example my link for bento (https://www.foodcat.de/rezepte/rezepte-kategorie/bento/) the link can be found in the settings because you can customize it.

    In the admin view add for every categorie your favorite image into the descrition.

    That should do it ??

    • This reply was modified 7 years ago by Sandra.
    Sandra

    (@foodcat)

    Hi,
    I use the same shortcode and it shows the “browse” button
    https://www.foodcat.de/rezepte/

    Maybe it’s because you still don’t have any recipe with a categorie there.

    PS: your website reminds me of my vegan recipes I want add (almond milk, peanut rice, etc.) But I’m still at the beginning too

    Thread Starter Sandra

    (@foodcat)

    I found the reason:
    If you open the editor in text mode first (so TinyMCE isn’t initialized) the error occurs. So you can’t save your templates only using text mode.
    The problem I have: the TinyMCE adds some p in my bootstrap rows where there should be, so I nearly use text mode all the time.
    So you have to initialize tinymce first or make a simple if that for saving (pseudocode):

    var valueoffield= null;
     if (tinymce.get("_recipe_settings_content") is null) { 
    valueoffield=document.getElementById('_recipe_settings_content').value; 
    } else {
    valueoffield=tinymce.get("_recipe_settings_content");
    }

    restoring

    var newvalueoffield= getSavedDataFromDatabase();
     if (tinymce.get("_recipe_settings_content") is null) { document.getElementById('_recipe_settings_content').value(newvalueoffield); 
    } else {
    tinymce.get("_recipe_settings_content").setContent(newvalueoffield);
    }

    I hope, I explained things clearly ^^”

    I also found something strange:
    If you open a new recipe the standard, you saved loads- fine. If you press restore now, the plugins first config loads – bug or feature ;).

    • This reply was modified 7 years ago by Sandra.
    • This reply was modified 7 years ago by Sandra.
    Thread Starter Sandra

    (@foodcat)

    Hi, thanks for your reply.

    That would be great, I look forward to it.

    It’s something like a legal notice. See Wikipedia: https://en.wikipedia.org/wiki/Impressum
    You know who your contractor will be and so people will trust you and your website more. But that is just my two cents.

    PS: I’m making a German translation in Loco. Do you want to have it?

    • This reply was modified 7 years ago by Sandra.
Viewing 6 replies - 16 through 21 (of 21 total)