nexusfred
Forum Replies Created
-
Hello, same issue with Avast. I had to downgrade to elementor V3.19.4.
Looks like a false positive
- This reply was modified 4 months, 2 weeks ago by nexusfred.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Forms : Custom Action = Fatal error ?Thanks, I deleted the plugin folder and reinstalled it, and now it works… No idea what was wrong.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Forms : Custom Action = Fatal error ?Hello, it doesn’t work.
I have a form named “super-form” with a Custom action named “super-action”
I call the form in a page with the shortcode [acfe_form name=”super-form”].
In this form I only have one text field.
In my functions.php page I wrote this code :
add_action('acfe/form/submit_super-action', 'my_form_submit', 10, 2);
function my_form_submit($form, $action){
echo 'I do it ! <br>';
die;
}This should kill the process, but no. When submitting, I get a “Post updated” message instead.
Whatever code I put in the function, this one is not executed.
Advanced Custom Fields: Extended Version 0.9.0.6 installed.
Thanks a lot
Thanks a lot. I replace “$post = get_post($_POST[‘post_id’]);” by “$post_id = get_the_ID();” :
add_filter( 'rank_math/opengraph/facebook/image', function( $attachment_url ) { $post_id = get_the_ID(); if( get_field('YOUR_IMG_FIELD_URL', $post_id )){ return get_field( 'YOUR_IMG_FIELD_URL', $post_id ); } else { return $attachment_url; } }); add_filter( 'rank_math/opengraph/twitter/image', function( $attachment_url ){ $post_id = get_the_ID(); if( get_field('YOUR_IMG_FIELD_URL', $post_id)){ return get_field( 'YOUR_IMG_FIELD_URL', $post_id ); }else{ return $attachment_url; } });
- This reply was modified 10 months, 1 week ago by nexusfred.
Thanks, I will try that !
Thanks, no wonder it didn’t work, I don’t use the Premium version ??
Forum: Plugins
In reply to: [Advanced Forms for ACF] Image Field PreviewHello @philkurth. Thanks a lot for this information
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Search StatisticsThanks !
Forum: Plugins
In reply to: [Insert PHP Code Snippet] Is this plugin abandoned?Forum: Plugins
In reply to: [A-Z Listing] Is this plugin abandoned?Did you post your problem here ?
Forum: Plugins
In reply to: [A-Z Listing] Custom Post Types Status is wrong from Archive PageI found a solution to get the correct Post Status.
Apparently there is a problem with the WP_Query cache.In file : a-z-listing/src/Shortcode/PostsQuery.php
Search for this code : (Line 62)
$query = wp_parse_args( $query, array( 'posts_per_page' => -1, 'nopaging' => true, ) );
and replace by :
$query = wp_parse_args( $query, array( 'posts_per_page' => -1, 'nopaging' => true, 'cache_results' => false ) );
Forum: Fixing WordPress
In reply to: get_post_status() return the wrong statusHello sorry for the delay. The bug seems to come from the plugin A-Z Listing.
Forum: Plugins
In reply to: [A-Z Listing] Get post in draft stateI found a solution in PHP
$args = array( 'post_type' => 'Post-Type', 'orderby' => 'title', 'order' => 'ASC', 'post_status' => 'any', ); the_a_z_listing( $args);
Forum: Plugins
In reply to: [Real-Time Find and Replace] Role optionThanks, “Will this happen any time soon, no.” = never ??