MI
Forum Replies Created
-
Any news on this?
Forum: Plugins
In reply to: [Advanced Custom Fields Viewer] Not all fields are visibleStrange. Ok, I will try the newest version on the next my project and check if it works.
Forum: Plugins
In reply to: [Advanced Custom Fields Viewer] Not all fields are visibleIt was long time ago, so can’t post a screenshot. Does it allows you to scroll when where are more info and it doesn’t fits to screen?
Forum: Plugins
In reply to: [Advanced Custom Fields Viewer] Not all fields are visibleHey,
Yes ??
Forum: Fixing WordPress
In reply to: Separate search per page/post typeJeffhayford thanks for your link ?? I believe it works correctly ?? however i solved it somehow two months ago… ?? Thanks for help anyway ??
Forum: Plugins
In reply to: [Contact Form DB] Retrieve submission info on frontendWhat a great surprise to find out that Contact form db has shortcodes – https://cfdbplugin.com/?page_id=91
Amazing plugin ??
Forum: Plugins
In reply to: [Simple Membership] Retrieve user profile info on other pageJust found out it on your forum ??
Just need to add:
$auth = BAuth::get_instance();
So the whole code to retrieve f.e. first name would look like this:
$auth = BAuth::get_instance(); $name= $auth->get('first_name'); echo $name;
Forum: Fixing WordPress
In reply to: Referral as cookieThank you!
Forum: Fixing WordPress
In reply to: How to count posts in paginated loop?Perfect ?? Thanks for the solution! ??
Forum: Fixing WordPress
In reply to: Wp query by php variableYeah. However any ideas how to get it as variable without using custom field or db? Or where is no way to do it?
Forum: Fixing WordPress
In reply to: Wp query by php variableNo, it’s not a custom field. It’s just php variable like:
$total = '5.5'
$total is different on each single.php
Also that number is dynamic sum from different parameters (custom field values, frontend user data (user can vote and change total variable in that way), some other calculations). I suppose that I should write it to db or custom field (and update it each time it is changed?), but the question is – can i get this php variable on index page to use it with wp query?Thanks
I think it is possible. However it is quite hard, because i think WP uses .mo files and i’m translating everything using plugin string translation module. However i think it would be much better to have those WP messages assigned to Ajaxify plugin (just duplicating them, but giving ability to translate it for ajaxify not for wp). When you’ll be able to translate everything really easy. It looked as bug for me when i tried first to translate phrase “please type a comment” and it didn’t changed.
Thanks for reply.
No, I can’t. F.e. i can translate “Posting your comment” over WPML, but can’t translate “please type a comment”. WPML is working very simple – this plugin is searching for all available translations (like __() ) in plugin and gives the ability to translate it. WPML also found “please type a comment”, but when i’m trying to translate it – it still shows the same text. Again i think it is because some of text (as you confirmed too) are using WordPress texts and the solution would be to use separate texts.
Actually just checked out that some of the strings i can translate over WPML, but not all (f.e. please type a comment). i think it could be because you are using default WP messages?
Hi,
Thanks for reply. I will try to use that snippet, however meanwhile I found quick workaround for that by using php:
<?php $post_counter = 0; $args = array(...); $query = new WP_Query( $args ); while ( $query->have_posts() ) { $query->the_post() $id = $query->post->ID; $EM_Event = em_get_event($post->ID, 'post_id'); $availablespaces = $EM_Event->output('#_AVAILABLESPACES'); $post_counter++; if ($availablespaces <= 5 && $availablespaces != '0') { if ( $post_counter == 1 ) : ?> <a href="<?php echo the_permalink();?>" <?php echo $availablespaces; ?> <?php echo get_the_title($id);?> </a> ...