Fulgence Ridal
Forum Replies Created
-
Sorry, I solved the prb by :
Forminator_API::get_entries( $form_id );Documentation is so confusing for me.
thx
It works !
thx a lot Nastia
Hello,
So sorry. It is a very important prb for me to not have access to the results. I’ve tried a lot of things wih the API, and it seems it is not possible.Do you have an idea ?
thx for you help.
Forum: Plugins
In reply to: [AJAX Login and Registration modal popup + inline form] .po is not loadedHi MAx,
Thank you for your help but it doesn’t work.
I think, there is something strange because in backend, default .mo file is loaded cos half of words are translated (I suppose according to the .mo file). There are translated everywhere except inside the input occurences of expression section.
I suppose it is a bug or simply a multisite config. bug.info : for .mo & .po, I was using the default name when I downloaded the plugin.
Forum: Plugins
In reply to: [AJAX Login and Registration modal popup + inline form] .po is not loadedyou can download at :
https://french.run/wp-content/plugins/ajax-login-and-registration-modal-popup/languages/file : lrm-fr_FR.po
thx
Forum: Plugins
In reply to: [AJAX Login and Registration modal popup + inline form] .po is not loadedHi Max,
front-end … In fact tab “expressions” section is not translated, but I see inside the .po and .mo files and occurrences are translated but not appear translated in frontend. Ex. “Surname” appears in english, but in .po (and .mo) file, surname is translated.Of course I can change occurrences easily for one or few sites … but I have multisite config. and I’m just wondering why it appears not translated in the expressions sections (backend). Is-it normal or a bug ?
Thx
Forum: Plugins
In reply to: [AJAX Login and Registration modal popup + inline form] .po is not loadedHi,
sorry … in fact my .po and .mo files are in languages folder …
but it appears that the translation doesn’t work.(config. multisite and last version of wordpress and Ajax login plugin)
Forum: Plugins
In reply to: [Membership 2] Don’t show post at all in loop …In fact, it is a simple wp query post /// with this args :
$args = array(
‘post_type’=> ‘post’,
‘order’ => ‘DESC’,
‘posts_per_page’ => $my_nb,
‘auteur’ => $my_auteur,
‘category_name’ => $my_cat,
);I don’t why, when I make a query, it shows me all posts … and don’t hide protected posts … may be I missed something …
thx Predrag
Forum: Plugins
In reply to: [Membership 2] Don’t show post at all in loop …function ebooks_func( $atts ) { $a = shortcode_atts( array( ‘auteur’ => ”, ‘selection’ => ”, ‘tag’ => ”, ‘cat’ => ”, ‘nb’ => ”, ), $atts ); // return “{$a[‘auteur’]}”; $my_auteur = $a[‘auteur’]; $my_cat = $a[‘cat’]; $my_nb = $a[‘nb’]; $txt = “”; $args = array( ‘post_type’=> ‘post’, ‘order’ => ‘DESC’, ‘posts_per_page’ => $my_nb, ‘auteur’ => $my_auteur, ‘category_name’ => $my_cat, ); $the_query = new WP_Query( $args ); $txt .= “<div class=’grid’>”; if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); $txt .= ‘<div>’; // $my_post_id = $post->ID; $txt .= “<a href='”; $txt .= get_permalink(); $txt .= “‘>”; $txt .= get_the_post_thumbnail($the_query->post->ID); $auteur = strip_tags( get_the_term_list( $the_query->post->ID, ‘auteur’, ”, ‘, ‘, ” )); $categories = get_the_category(); $my_cat=””; if ( ! empty( $categories ) ) { $my_cat = $categories[0]->slug;} $txt .= ‘<h3 class=”‘.$my_cat.'”><span class=”cover_author”>’; $txt .= preg_replace(‘/(.*) /’,'<i>$1 </i>‘,$auteur).”</span><br>”; $title = get_the_title($the_query->ID); //$my_title = str_replace(“|”,”</span><br><span class=’cover_author’><i>”,$title); //echo preg_replace(‘/(.*) /’,’$1 </i>‘,$my_title); $txt .= “<span class=’cover_title’>”.$title; $txt .= ‘</span></h3>’; $txt .= ‘</div>’; } } wp_reset_postdata(); $txt .= “</div>”; return $txt; } add_shortcode( ‘ebooks’, ‘ebooks_func’ );
Forum: Plugins
In reply to: [Membership 2] Don’t show post at all in loop …hi Predag,
function ebooks_func( $atts ) {
$a = shortcode_atts( array(
‘auteur’ => ”,
‘selection’ => ”,
‘tag’ => ”,
‘cat’ => ”,
‘nb’ => ”,
), $atts );
// return “{$a[‘auteur’]}”;
$my_auteur = $a[‘auteur’];
$my_cat = $a[‘cat’];
$my_nb = $a[‘nb’];
$txt = “”;
$args = array(
‘post_type’=> ‘post’,
‘order’ => ‘DESC’,
‘posts_per_page’ => $my_nb,
‘auteur’ => $my_auteur,
‘category_name’ => $my_cat,
);
$the_query = new WP_Query( $args );
$txt .= “<div class=’grid’>”;
if ( $the_query->have_posts() ) {
while ( $the_query->have_posts() ) {
$the_query->the_post();
$txt .= ‘<div>’;
// $my_post_id = $post->ID;
$txt .= “<a href='”;
$txt .= get_permalink();
$txt .= “‘>”;
$txt .= get_the_post_thumbnail($the_query->post->ID);
$auteur = strip_tags( get_the_term_list( $the_query->post->ID, ‘auteur’, ”, ‘, ‘, ” ));
$categories = get_the_category();
$my_cat=””;
if ( ! empty( $categories ) ) { $my_cat = $categories[0]->slug;}
$txt .= ‘<h3 class=”‘.$my_cat.'”><span class=”cover_author”>’;
$txt .= preg_replace(‘/(.*) /’,'<i>$1 </i>‘,$auteur).”</span><br>”;
$title = get_the_title($the_query->ID);
//$my_title = str_replace(“|”,”</span><br><span class=’cover_author’><i>”,$title);
//echo preg_replace(‘/(.*) /’,’$1 </i>‘,$my_title);
$txt .= “<span class=’cover_title’>”.$title;
$txt .= ‘</span></h3>’;
$txt .= ‘</div>’;
}
}
wp_reset_postdata();
$txt .= “</div>”;
return $txt;
}
add_shortcode( ‘ebooks’, ‘ebooks_func’ );Forum: Plugins
In reply to: [Membership 2] Don’t show post at all in loop …Hi Kasia,
You are right /// thx a lot /// it ‘s due to my own theme …
I have :
$args = array(
‘post_type’=> ‘post’,
‘order’ => ‘ASC’,
‘posts_per_page’ => $my_nb,
‘post_parent’ => 0,
‘auteur’ => $my_auteur,
‘category_name’ => $my_cat,
);
$the_query = new WP_Query( $args ); // etc…as shortcode for my theme in home page … can you please tell me what king of variables must i specify to hide protected content ?
thx for your help …
Fulgence
Forum: Plugins
In reply to: [Membership 2] Don’t show post at all in loop …Hi Predrag,
if you look at first ebook : Fisher Irving, Illusion de la stable” … is a protected post.
thx for your help
FulgenceForum: Plugins
In reply to: [MarketPress - WordPress eCommerce] Show market window in custum post_typeHi Bojan,
Sorry … my english is not so good …
but i Will try to explain what i said …ie / event+ (wpmu plugin) when you edit an event in admin panel; you have an acces to a marketpress widget (in the right panel) to make a relation between event and marketpress product …
So i’m wondering how to to this job …
thx a lot
Fulgence
Forum: Plugins
In reply to: [CoursePress Learning Management System] Why not free choice ?Hi Bojan,
and very good job for your plugin … but I think it could a very very complete plugin if you have free choice response to a quiz like the other plugin.
Free choice quiz is something like that :
1 + ___ = 2
___ is an automatic input like that and if you enter “1” it enter the correct answer.
In admin area the configuration of free choice is something like that :
my sentence is {this|1} one…it produces this quiz :
my sentence is ___ one
when you enter “this” you have one point.
I Think, courepress would be very useful with this improvment.
thx a lot … to read me.
Fulgence.
Forum: Plugins
In reply to: [Polylang] polylang and wp_insert_postok solved … sorry
global $polylang;
$polylang->model->set_post_language($post_id, $lang);