Denis V (Artprima)
Forum Replies Created
-
Forum: Plugins
In reply to: [Foodlist] How can i change category of posts?Hi,
can you explain what you mean by “change “menu” as default category of plugin“?
Speaking of templates, if I understand you correctly, you can edit templates here:
WordPress Admin Menu on the right > Foodlist > Settings
. Check the templates there. They contain only html. If you want to change CSS, just change it in your wordpress theme or use some plugin for editing css in wp-admin.If you want different templates per menu, category or item, please check my answer here: https://www.ads-software.com/support/topic/seperate-menu-templates?replies=3
Forum: Plugins
In reply to: [Foodlist] TranslationsHi,
I guess it were you, who asked me for the Czech translation in email. Currently there is only Russian translation. And as I’m personally not a Czech native, I cannot provide you quality translation. But you may create your own with some tool like Poedit, and share it with me. I will include this translation in the plugin distribution, and thus you will be able to update the plugin later and not to lose your translation. I will of course put your credentials (unless you refuse :)) to the history log and readme of the plugin.
Forum: Plugins
In reply to: [Foodlist] Seperate Menu TemplatesYou might be also interested in filters for Menu Section and Menu Item:
foodlist_menu_section_template
, has two parameters:
1. your default section template
2. section post object
foodlist_menu_item_template
, has two parameters:
1. your default item template
2. item post objectForum: Plugins
In reply to: [Foodlist] Seperate Menu TemplatesHi,
There is a filter ‘foodlist_menu_template
‘ which has 2 parameters:
1. your default menu template
2. menu post objectyou can do something like this in your theme’s functions.php:
add_filter('foodlist_menu_template', function($html, $menu){ if ($menu && $menu->ID == 123 /* your menu post id */) { return ' <!-- some other template --> <div class="menuc1">[flmenu_section id="34"]</div> <div class="menuc2">[flmenu_section id="35"][flmenu_section id="32"]</div> <div class="menuc2">[flmenu_section id="33"]</div> '; // alternatively you can store the template in a file // and just read its contents and return here; } return $html; }, 10, 2);
Please let me know if it works for you. And don’t hesitate to ask me further questions.
Forum: Plugins
In reply to: [Foodlist] Warning: call_user_func_array()Thank you for your bug-report. I updated the plugin in svn and it should be soon available (version 1.3). But in your case it won’t help, because this plugin requires PHP >= 5.3.0, and you have an older version (5.2). Thefore, unfortunately I cannot help you – you need a hosting with the newer version of PHP.
P.S. A lot of hostings still use PHP 5.2, but this php version has a defined end-of-life on 6 Jan 2011 (and since that time no updates have been issued for this php branch). Therefore, I don’t see any reason to support such an old software (even though it is still supported by WordPress itself) in a newly written plugin.
Forum: Plugins
In reply to: [AP HoneyPot WordPress Plugin] Database Setup?It should create the table. But sometimes this is prevented by the limitations for the MySQL user used for WordPress.
p.s. Mike, thanks for your guide!
Forum: Plugins
In reply to: [Foodlist] Description required for menuAgain, thank you for your report. This bug should be fixed now with Foodlist version 1.2.
Forum: Plugins
In reply to: [Foodlist] Description required for menuIt shouldn’t be required. I’ll check and if it’s a bug, I’ll fix it shortly. Thank you for reporting this issue.
Forum: Plugins
In reply to: WP plugin directory falsely reports too old pluginOk, thanks, I will.
Forum: Plugins
In reply to: WP plugin directory falsely reports too old pluginI updated it via svn (you may see it in svn repo).
Also check this: Compatible up to: 3.6.1
This version even didn’t exist 2 years ago.
You can also check google cache: https://webcache.googleusercontent.com/search?q=cache:UeHq5Blkc4YJ:www.ads-software.com/plugins/ip-dependent-cookies/+&cd=1&hl=en&ct=clnkForum: Plugins
In reply to: WP plugin directory falsely reports too old pluginI’m the author.
Yeah, I get it. Anyway, changing url structure to https://site.com/lang_code/ solves the problem.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Number of notices and warningsSorry, it was a local problem. Solved.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Number of notices and warningsW3 Total Cache Version: 0.9.2.4
Now AP HoneyPot supports this feature (from the version 1.1).