panosru
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF-VC Integrator] ACF inside visual composer Grid BuilderI’m actually using this code: https://gist.github.com/panosru/f2d3d6f5008958ae81b71510800be108 in order to use acf values inside VC elements and templatera, @dejliglama in case you find any use of the code feel free to use it
Forum: Plugins
In reply to: [ACF-VC Integrator] ACF inside visual composer Grid Builderstrange as I use it for me and it works like a charm, I actually extended it a bit more to work with repeater field and integrated it with vc and templatera, take a look at the code here: https://gist.github.com/panosru/f2d3d6f5008958ae81b71510800be108
Forum: Plugins
In reply to: [ACF-VC Integrator] ACF inside visual composer Grid BuilderUpdate to the regexp due to an issue: https://pastebin.com/v3k5KNyW
Forum: Plugins
In reply to: [ACF-VC Integrator] ACF inside visual composer Grid Builderyou can find the code here: https://pastebin.com/46y2VYRk
I haven’t tested it from performance perspective
- This reply was modified 8 years ago by panosru.
Forum: Plugins
In reply to: [ACF-VC Integrator] ACF inside visual composer Grid BuilderI created this filter in order to archive my needs:
add_filter(‘the_content’, ‘apply_acf_shortcodes_to_content’);
function apply_acf_shortcodes_to_content ($content) {
// Check if “{
acf” appears in text
if (false !== strpos($content, ‘{
acf’)) {
// Find converted ACF shortcodes and bring them back to normal
preg_match_all(‘/{[^{]*acf[^}]*}
/i’, $content, $matches);// Set to current
$evaluated = $matches = current($matches);// Loop through matched shortcodes
foreach ($evaluated as &$value) {
$value = do_shortcode(str_replace(
array (‘{
‘, ‘}
‘, ‘‘),
array ( ‘[‘, ‘]’, ‘”‘),
$value
));
}// Replace matched with values
$content = str_replace( $matches, $evaluated, $content );
}return do_shortcode($content);
}Put it inside your theme’s functions.php file
- This reply was modified 8 years ago by panosru.
Forum: Plugins
In reply to: [ACF-VC Integrator] ACF inside visual composer Grid BuilderSeems like you can’t use a shortcode as a value inside a VC element, you can only use it inside textarea.
Also from what I understand this plugin just enhances the already existing functionality of ACF inside VC, it just allows you to render google maps for instance and others custom ACF fields, nothing besides that.
It’s a pity as I was expected to be used in the way you try to use it.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Gravity Forms Notification Emailbump… I guess Google has no intentions to make an alteration for this, well from perspective of spoofing its good but for functionality reasons on a website its not very useful ??
EDIT:
Jason, now that I check again, Session Transcript it shows that “From” is set to blog’s mail instead of the email field that was filled by the user. Instead user’s mail is set on “Reply-To”
- This reply was modified 8 years, 2 months ago by panosru. Reason: adding info
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Cannot configure GmailSeems that WooCommerce Advanced Ajax Layered Navigation was adding a bullet in front of every admin-ajax.php request so wp-admin ajax wasn’t functioning normal…
All solved now, thank you for your great plugin!