alex46
Forum Replies Created
-
Forum: Plugins
In reply to: [RVM - Responsive Vector Maps] Portugal Map with position errorCan anyone help me? Please ?
Yes it’s the same i upload… but to make thumbnail i think they create a new one…
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Price in add advert whitespace validationOk thanks anyway Greg you’re really helpful ??
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Price in add advert whitespace validationIt’s default 0 ? It’s possible to change value to 1? if it’s 0 , don’t show that value in adverts_list below title of ad..
And if people put ” ” or is NULL don’t give error just put 0 ..
If put value=1 default for me it’s ok, people will see that stupid value and change but if have 0 doesn’t show any value…Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Price in add advert whitespace validationbut coz price filter, money filter function isn’t working ..autonumeric bug my other plugin to price filter.. can you help me in is_required validation? to validate empty space and NULL ?
thanksForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Price in add advert whitespace validationAt the moment in defaults.php i have:
array( "name" => "adverts_price", "type" => "adverts_field_text", "order" => 20, "label" => __("Pre?o (símbolo € é automático!)", "adverts"), "attr" => array( array( "key" => "value") ), "validator" => array( array( "name" => "is_required" ) ), "filter" => array( array ("name" => "money" ) ) ),
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Maps And Locations ProblemPossible to place only the district cities we choose ? Imagine that a user wants to announce put announcement of Lisbon and appears in all districts of Portugal . I want If we select Lisbon appear all areas of Lisbon nothing more ..
I’m using dropdown listForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Maps And Locations ProblemIt’s possible to dropdown in adverts_add only if selected for example:
If user select in other custom field Lisbon only show streets of lisbon..
If selected of Madeira Island only show street/address of madeira island..
It’s too confused show everything in same time….Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Maps And Locations Problemcan you help me to put that in profi search form?
i want to filter google autocomplete inputForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Bookmarking AdsI’m interested in that bookmarking, can anyone help us?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Maps And Locations ProblemYes , it’s custom field, it’s like adverts_location -> City and adverts_concelho -> Street
I can’t use Google Autocomplete coz i have filters to search default street, if i put that, will don’t have same name in search filters…Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Maps And Locations ProblemSorry it’s my mistake, i have adverts_location and adverts_concelho , i need to do that for concelho and not for city, to be more detailed what’s the exact street. Can you help me?
And in what file i can add that code?
function on_publish_wc_pending_post( $post ) { add_post_meta( $post->ID, "premium", 1 ); } add_action( 'wc_pending_to_publish', 'on_publish_wc_pending_post', 10, 1 );
problem is i have 3 paid adverts:
1) Premium – 7 days advert show
2) Gold – 14 days show
and Last) Company – 28 days advert showI want to select for WP_QUERY only paid ads Company on the left of the grid, also want to select the ads paid Premium and Gold on the grill above.
With this code I think it does not filter the various types of paid ads .Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Auto featured imageI forget actions of course xD
// Use it temporary to generate all featured images
add_action(‘the_post’, ‘auto_featured_image’);
// Used for new posts
add_action(‘save_post’, ‘auto_featured_image’);
add_action(‘draft_to_publish’, ‘auto_featured_image’);
add_action(‘new_to_publish’, ‘auto_featured_image’);
add_action(‘pending_to_publish’, ‘auto_featured_image’);
add_action(‘future_to_publish’, ‘auto_featured_image’);