Kresimir Pendic
Forum Replies Created
-
Forum: Plugins
In reply to: [GenerateBlocks] Blocks layout questionDear Leo, thx for confirming.. that was my thought also
Kindly, Kres
are there any updates for this issue? Thanks
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Condition Field is emptyWe are using PHP 7.4.3
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Condition Field is emptyOK, so there is a issue with update!
What I’ve done is that I’ve downloaded and went from major versions -1 each time and I’ve landed on version 1.8.1 (you can download it from this site)
cf7-conditional-fields.1.8.1.zip
when our fields shown again!To makers of this plugin, I’d advise to check changes that were made after version 1.8.x and again, thanks for great plugin!
Forum: Plugins
In reply to: [Yoast SEO] After update one column is missing?1) correct v5.6
2) correct all themes, only Yoast active (others updated – but not active)
3) just installed it, activated, run “Reset index…” button, run that optimizer and now “SEO data optimization complete” – and no errors in queries — column was added ??Thank you very much – this is good info to know and maybe good place to save in your KB?
cheers, Kresimir
- This reply was modified 4 years, 1 month ago by Kresimir Pendic.
Forum: Reviews
In reply to: [Duplicate taxonomy terms and ACF fields] Bulk DuplicateHi @neueweide
thanks for suggestion man,
I’ll see my options here and add it when I get some free time
cheers
Forum: Plugins
In reply to: [WPS Hide Login] Get all sites in multisite it’s Dashboard urlbump
Also,
there is a great news for all Woocommerce shop sites,, Mike@woo published recently that ‘built-in’ solution is comming out soon ??
read more HERE
- This reply was modified 6 years, 10 months ago by Kresimir Pendic.
Hey @heateor,
thanks for info, and that’s something that I thought we should put up..
OK, so on your radar is update with GDPR, great news! And that opt-in (opt-out) checbox should be on the pages where the buttons for soc login/register is,, correct?
thank, Kres
Forum: Reviews
In reply to: [Duplicate taxonomy terms and ACF fields] “foreach” PHP errorHey Berubes,
please help me to diagnose your issue.
Can you give me this info maybe then I could help you debug it:
– What kinds of fields do you have, some custom ones or built-in ACF fields?
– what taxonomy do you work on?
– do you have access to error log files and see the error that gets logged thereForum: Plugins
In reply to: [Polylang] How to know the language of a post through the WordPress REST APIhey @jim,
just put it in your functions.php file
Forum: Plugins
In reply to: [ACF to REST API] v2/v3 and categories/usersHey,,
did you checked in Settings -> Permalinks what version are you working on?
hope that can be of help,, that recently fixed my blog, I just gone back on V2 ??
Forum: Plugins
In reply to: [Polylang] How to know the language of a post through the WordPress REST API@mastababa,, I’m sharing you how I leverege post’s segmentation in my plugin..
I will just copy / paste it here,, you’ll hve to remove $this from hooks if you use it in your functions.php file..
// fix polylang language segmentation add_action( 'rest_api_init' , array( $this, 'polylang_json_api_init') ); add_action( 'rest_api_init' , array( $this, 'polylangroute' ) ); public function polylang_json_api_init(){ global $polylang; $default = pll_default_language(); $langs = pll_languages_list(); $cur_lang = $_GET['lang']; if (!in_array($cur_lang, $langs)) { $cur_lang = $default; } $polylang->curlang = $polylang->model->get_language($cur_lang); $GLOBALS['text_direction'] = $polylang->curlang->is_rtl ? 'rtl' : 'ltr'; } public function polylang_json_api_languages(){ return pll_languages_list(); }
then on frontend I just read my url with lang parameter.. like this:
`
var lang = $(‘html’).attr(‘lang’); // read lang from html tag
$.ajax( ‘/wp-json/wp/v2/mycustomslag?lang=’ + lang + ‘&per_page=100’ ).done(fn);Forum: Fixing WordPress
In reply to: WP ADMIN : Sorry, you are not allowed to access this pageThanks Andy, you saved my day!
+1 your hints..
Hi Jon,
I’m no expert, but I guess that you can accomplish that with https://wp-cli.org/,, take a peek on this custom commands page: https://wp-cli.org/docs/internal-api/wp-cli-add-command/ I guess that you have to add command and you can execute it in shell before rsync-ing it..
If you manage to do it share it here please ??
cheers, k