nellone
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Enigma] Can’t change text in slider and other areas?you need to use the visual editor, if you use the text mode doesn’t work, just switch mode with the button next to the “text” one. I guess it’s named “visual”? I don’t know, my wordpress is not in english.
- This reply was modified 8 years, 6 months ago by nellone.
Forum: Themes and Templates
In reply to: [Enigma] bug Slider descriptionyou can write your text with the visual editor, on the slider page, click the visual editor button… instead of the text one.
Forum: Themes and Templates
In reply to: [Enigma] bug Slider descriptioni found the problem, description can be modified only with visual editor, the text one does not work
Forum: Themes and Templates
In reply to: [Enigma] bug Slider descriptionI have the same bug here, i just installed Enigma 3.5, i can edit only the 3rd description of the default sliders, the first 2 stick with lorem ipsum ecc..
- This reply was modified 8 years, 7 months ago by nellone.
Forum: Plugins
In reply to: [Contact Form 7] No subject when collected by FlamingoFlamingo should collect anything is written in the Subject textbox, not a not existing text data….
In the subject textfield i have a [_post_title] tag and this makes nosense, i should create an invisible div with the [text your-subject] tag only for FlamingoForum: Plugins
In reply to: [Simple Fields] getting fields data of a fieldgroup outside the loopI’m having some trouble with the query
My post are intended to be of custom type only, so i used pre_get_posts hook to modify the main loop, then i use the query->set to filter postsadd_action( 'pre_get_posts', 'filtri_di_ricerca'); function filtri_di_ricerca( $query ) { if ( is_admin() || ! $query->is_main_query() ) return; if (is_home()) { $query->set('post_type', 'post_annunci'); $meta_query = array('relation' => 'AND'); // Only check these form fields $fields = array( 'annuncio_contratto', 'annuncio_categoria', 'annuncio_tipologia', 'annuncio_citta'); foreach( $fields as $field ) { if( $_GET[$field] != '' ) { // We have something to match, otherwise ignore the field... $meta_query[] = array( 'key' => $field, 'value' => $_GET[$field], 'compare' => '=' ); } } $query->set('meta_query',$meta_query); }I have some problem obtaining the meta keys as _simple_fields_fieldGroupID_1_fieldID_3_numInSet_0 instead of $fields, because in the search form i use input fields slugs as input names, so my $_GET variabiles are like annuncio_contratto=dropdown_num_16
I seen an example in your blog post where you can order by the field slug, is there a similar way to launch a query with a field_slug?
Or get the meta_key giving the slug?
I cannot figure out to use action_pre_get_posts_meta($query)Forum: Plugins
In reply to: [Simple Fields] getting fields data of a fieldgroup outside the loopthank you a lot! it’s all what i needed!
If you could show me an example of query where i can find posts with simple fields … it will be great!this works?
query_posts(array('numberposts' => '10', 'post_type' => array('filmp', 'corp', 'post'), 'meta_key' => '_simple_fields_fieldGroupID_1_fieldID_3_numInSet_0', 'meta_value' => 'dropdown_num_3'));Forum: Plugins
In reply to: [Simple Fields] getting fields data of a fieldgroup outside the loopIs there not a specific post ID to pass, i need to find all posts matching the search query sent by the user.
To create the search query i need to build a form with inputs named as simple fields names and with related values.Forum: Plugins
In reply to: [Slideshow] Images used in slideshow results all unattachedyou can anyway add images that have already been attached.
The problem is where i open my media library and check for unattached images to be deleted (old deleted posts)Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 missing on_submit hook?= 3.3 =
* New: Introduce new additional setting on_submit. It works like on_sent_ok and has one-line JavaScript code, but on_submit code is fired regardless of whether or not the mail has been sent successfully.