alexnn
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] remove the “AND”Hello Jim,
and next, how to get taxonomies (‘category’) term id for {@related} and separate them with commas?
I mean some function , something like this {@related.category.term_id,with_commas}- This reply was modified 6 years, 3 months ago by alexnn.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] remove the “AND”Hello Jim,
Thank you so much for leading me on the right path.
I twisted and changed this code for about 3 days… and I did it with function with_commas and {@related.ID,with_commas}!
p.s. I’m not a PHP Developer too, I’m just an energy engineer )Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] remove the “AND”Hello,
I use the ID’s to be sent into another shortcodeForum: Plugins
In reply to: [GEO my WP] Maps Provider LeafletHello,
I mean any Shortcodes like
[gmw_single_location elements=”title,distance,map,address,live_directions,directions_panel”]
doesnt work with Leaflet Maps Provider
Here is a screenshot https://imgur.com/2WXyPjfForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] remove the “AND”Hello Jim True,
So, how could I remove the “AND” without using [each related]?
Maybe some snippet could help me?Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] remove the “AND”Yes, these IDs then I want to use in the code and “AND” prevents it
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] PHP function or xPath?Hi!
Unfortunately this code does not work.
My {string[1]} contain “words blabla and date(d-m-Y format)”.
What date format does the function $data understand?
$data[‘format???’]Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] PHP function or xPath?Hi!
Thanks for such support!
Firstly I try to prepare a date from the string.
I try this code$desc='{string[1]}'; $data = preg_replace("/(.*?)((\d{1,2})-(\d{1,2})-(\d{4}))/i", "$5-$4-$3", $desc); $data = strtotime( $data ); function my_is_post_to_create( $continue_import, $data, $import_id ) { if ( $import_id == 8 ) { // Change this to your actual import ID. if ( $data >= strtotime( "Today" ) ) { return false; } else { return true; } } return true; } add_filter('wp_all_import_is_post_to_create', 'my_is_post_to_create', 10, 3);
but all the records are skipped…SKIPPED: By filter wp_all_import_is_post_to_create….
What could be wrong?Thank you for help!
my idea is
Insert Shortcode to Events > Settings > Formatting > Events > Single event page format[events_list scope=”#_EVENTDATES” search=”#_EVENTNAME” limit=10 order=”DESC” orderby=”event_name”/]#_EVENTLINK[/events_list]
but result looks like as the syntax is broken
How to make my idea work? anybody help me with this idea? ??