DenisCGN
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Customize WP-Query for radius searchHello Aliya,
thanks a lot. Is there a way to use the standard wordpress $meta-query so I can use my allready stored Lat&Lng custom fields?
As far as I searched Google, this is somehow not possible.
Cheers,
DenisForum: Developing with WordPress
In reply to: Change the “author_link”It seems to work now ??
Forum: Plugins
In reply to: [Custom Post Type UI] is_singular and CPTSomehow it seems to work now ??
Forum: Plugins
In reply to: [SI CAPTCHA Anti-Spam] Error messageForum: Plugins
In reply to: [SI CAPTCHA Anti-Spam] Error messageHello Mike,
no, it is not a Windows server…and before the 2 latest updates it worked fine.
Very strange.
I will ask my host why the$_SERVER[‘REQUEST_URI’]
does return nothing.
Cheers,
Denis- This reply was modified 7 years, 9 months ago by DenisCGN.
Forum: Fixing WordPress
In reply to: CSS problemAndrew,
perfect!
Thanks a lot!
Cheers,
DenisForum: Fixing WordPress
In reply to: CSS problemHello Andrew,
sorry, here it is again.
https://wundervolles-deutschland.de/neues-bild/
Cheers,
DenisForum: Developing with WordPress
In reply to: Pre_Get_Posts – only Category 9It seems to work with:
function archive_ausblick_order( $query ) { if ( is_category( 9 ) ) { if ( !is_admin() && $query->is_main_query() ) { $query->set( 'meta_key', 'my_meta_box_dateBegin' ); $query->set( 'orderby', 'meta_value_num' ); $query->set( 'order', 'DESC' ); } } } add_action( 'pre_get_posts', 'archive_ausblick_order' );
Can someone please check if this code is correct, or is there a better way to do this query customization?
Cheers,
DenisForum: Developing with WordPress
In reply to: User ProfileHello a2hostinglk,
I use user-meta plugin this works great.
But I like to change the backend profile page.
And I like to know how to creat such a page.
Cheers,
DenisForum: Plugins
In reply to: [Custom Post Type UI] CPT DELETE when DELETE USERHello Michael,
this works fine, thanks a lot.
Cheers,
DenisForum: Plugins
In reply to: [Delete Me] Seems not to work with CPTIf someone is using CPT UI plugin. Here is some code that does a work around untill it is added to the plugin.
cpt_cptui_delete_with_user( $args ) { $args['delete_with_user'] = true; return $args; } add_filter( 'cptui_pre_register_post_type', 'cpt_cptui_delete_with_user' );
Thanks to cmc3215 & Michael Beckwith (CPT UI)
Forum: Plugins
In reply to: [Custom Post Type UI] CPT DELETE when DELETE USERHello Michael,
first of all, thanks for your answer and adding it to an update.
if ( true === $yarpp ) { $args['yarpp_support'] = $yarpp; $args['delete_with_user'] = TRUE; }
Should I put this into the code and add it to my functions.php page?
Cheers,
DenisForum: Plugins
In reply to: [Delete Me] Seems not to work with CPTHello CMC3215,
thanks for the Information…I found this:
‘delete_with_user’
(bool) Whether to delete posts of this type when deleting a user. If true, posts of this type belonging to the user will be moved to trash when then user is deleted. If false, posts of this type belonging to the user will *not* be trashed or deleted. If not set (the default), posts are trashed if post_type_supports(‘author’). Otherwise posts are not trashed or deleted. Default null.I use the CPT UI plugin…and I cant find it in the settings. Where do I have to put it manually?
Thanks a lot,
DenisForum: Hacks
In reply to: Google Maps for Plugin JSONI got it ??
$_coordinates->results[0]->address_components[3]->long_name;
My fault…I was admin and editor.
It works fine.