Title: Lomaski's Replies | WordPress.org

---

# Lomaski

  [  ](https://wordpress.org/support/users/lomaski/)

 *   [Profile](https://wordpress.org/support/users/lomaski/)
 *   [Topics Started](https://wordpress.org/support/users/lomaski/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lomaski/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lomaski/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lomaski/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lomaski/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lomaski/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Catalogue] List products by category](https://wordpress.org/support/topic/list-products-by-category/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/list-products-by-category/#post-5124718)
 * Hi! I meant:
    – Is possible to make a custom category list? I mean, not like 
   is already on the plugin but like in wordpress that I can list categories my 
   own way.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Search Page not working](https://wordpress.org/support/topic/search-page-not-working/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [14 years ago](https://wordpress.org/support/topic/search-page-not-working/#post-2692485)
 * Solved, the problem was in the title tag 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact Form 7 X jQuery Inputmask and validation](https://wordpress.org/support/topic/contact-form-7-x-jquery-inputmask-and-validation/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-x-jquery-inputmask-and-validation/#post-1948938)
 * Hi! Well since i didn’t got any answers i removed contact form 7, did the form
   by myself and it worked!
 * Dunno why didn’t worked with contact form 7 anyways 🙁
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Categories don't go to page 2!](https://wordpress.org/support/topic/categories-dont-go-to-page-2/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/categories-dont-go-to-page-2/#post-2325022)
 * LOL I –JUST– solved it!
 * In the reading configurations posts per page were 10 but only 4 posts are displayed
   by teh theme 😉
 * thanks anyways Digital Raindrops!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URGENT HELP](https://wordpress.org/support/topic/urgent-help-7/)
 *  [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/urgent-help-7/#post-2098300)
 * open the function.php with notepad++ or other code editing program. In line 2926
   or earlier you may notice an extra } that’s broking your code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact Form 7 X jQuery Inputmask and validation](https://wordpress.org/support/topic/contact-form-7-x-jquery-inputmask-and-validation/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-x-jquery-inputmask-and-validation/#post-1948573)
 * I got the inputmask to work ut still no validation, even contact-form regular
   validation it’s not working :/
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [tag.php not working (gets one tag but not any other)](https://wordpress.org/support/topic/tagphp-not-working-gets-one-tag-but-not-any-other/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/tagphp-not-working-gets-one-tag-but-not-any-other/#post-1867102)
 * Thanks! That worked perfectly!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [tag.php not working (gets one tag but not any other)](https://wordpress.org/support/topic/tagphp-not-working-gets-one-tag-but-not-any-other/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/tagphp-not-working-gets-one-tag-but-not-any-other/#post-1867090)
 * i’m aiming for the tag that was clicked in the page before that.
 * I have a page witch has a link for a tag (that is a tag of a post_type or a post)
   and when clicked I want to go to this tag.php with all the other post and post_types
   with this tag.
 * I don’t want to list all the tags i just want the tag that was clicked.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple Custom Fields](https://wordpress.org/support/topic/multiple-custom-fields-4/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/multiple-custom-fields-4/#post-1857118)
 * well since nobody answered this i’ve made some changes to the code by myself 
   and now I have this problem: it doesn’t save the value in the database
    the php
   code:
 *     ```
       add_action('save_post', 'save_price2');
           function meta_options2(){
               global $post, $meta_boxes;
               $custom = get_post_custom($post->ID);
       		$countm = $custom["_countm"][0];
       		for($i=0;$i<=$countm;$i++){
       			$male[$i] = $custom["_male[".$i."]"][0];
       		}
   
       		$countf = $custom["countf"];
       		for($i=0;$i<=$countm;$i++){
       			$female[$i] = $custom["_female[".$i."]"][0];
       		}
   
       // look up for the path
   
       global $wpdb;
   
       ?>
           <div class="form-field male"><label>Masculino:
           <?php for($i=0;$i<=$countm;$i++){?>
           	<input class="male" name="male[<?php echo $i;?>]" rel="0" value="<?php echo $male[$i]; ?>" />
           <?php ;}?>
           <input name="countm" class="countm" type="hidden" value="<?php echo $countm;?>" />
           </label></div>
           <br /><a class="maish" href="#">Adicionar mais um campo</a><br /><br />
           <div class="form-field female"><label>Feminino:
           <?php for($i=0;$i<=$countf;$i++){?>
           <input class="female" name="female[<?php echo $i;?>]" rel="0" value="<?php echo $female[$i]; ?>" />
           <?php ;}?>
           <input name="countf" class="countf" type="hidden" value="<?php echo $countf;?>" />
           </label></div>
           <br /><a class="maism" href="#">Adicionar mais um campo</a><br /><br />
   
       <?php
           }
   
       function save_price2(){
           global $post;
       	update_post_meta($post->ID, "_countm", $_POST["countm"]);
       	for($i=0;$i<$_POST["countm"];$i++){
       		update_post_meta($post->ID, "_male[".$i."]", $_POST["male[".$i."]"]);
       	}
       	update_post_meta($post->ID, "_countf", $_POST["countf"]);
       	for($i=0;$i<$_POST["countf"];$i++){
       		update_post_meta($post->ID, "_female[".$i."]", $_POST["female[".$i."]"]);
       	}
   
       }
       register_taxonomy_for_object_type( 'post_tag', 'lookbook');
       ```
   
 * the jquery code
 *     ```
       jQuery(document).ready(function() {
       jQuery('.maish').live("click", function(){
   
       	var numero = jQuery('.male:last').attr('rel');
   
       	if(numero<59){
   
       	prox = parseInt(numero);
   
       	prox = prox+1;
   
       		jQuery('.male:last')
   
       		.clone()
   
       		.appendTo('.form-field.male')
   
       		.attr('rel', prox)
   
       		.attr('name', 'male['+prox+']')
   
       		.focus()
   
       		jQuery('.male:last').val('');
   
       		jQuery('.countm').val(prox);
   
       	}else{
       		jQuery('.maish').empty();
       	}});
       jQuery('.maism').live("click", function(){
   
       	var numero = jQuery('.female:last').attr('rel');
   
       	if(numero<59){
   
       	prox = parseInt(numero);
   
       	prox = prox+1;
   
       		jQuery('.female:last')
   
       		.clone()
   
       		.appendTo('.form-field.female')
   
       		.attr('rel', prox)
   
       		.attr('name', 'female['+prox+']')
   
       		.focus()
   
       		jQuery('.female:last').val('');
   
       		jQuery('.countf').val(prox);
   
       	}else{
       		jQuery('.maism').empty();
       	}});
       });
       ```
   
 * now anyone can help?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Various post_types tag](https://wordpress.org/support/topic/various-post_types-tag/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/various-post_types-tag/#post-1854423)
 * Thanks it worked!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Various post_types tag](https://wordpress.org/support/topic/various-post_types-tag/)
 *  Thread Starter [Lomaski](https://wordpress.org/support/users/lomaski/)
 * (@lomaski)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/various-post_types-tag/#post-1854399)
 * that way i got all the post_types and all the tags. I just want the posts with
   the tag_id = 18

Viewing 11 replies - 1 through 11 (of 11 total)