Support

Account

Forum Replies Created

  • Hi Elliot,

    Thanks for the great work on this pluginβ€” always the first one I install on all projects.

    Most of the work I do is multilingual using the multisite approach. This incompatibility has been a burden from the beginning, but has really hit a serious problem for my most recent client who is a pro photographer.

    For complex portfolio layouts involving flexible content and repeater fields, the WYSIWYG field workaround is simply not an option.

    I have no idea what’s involved to add the “sidebar” functionality/compatibility, but given this thread is over 2 years old, I would love to hear if this is even in the works? …please say it is πŸ™‚

    Thanks a lot!

  • Would love to hear about any updates to this as well.
    Thanks!

  • Oh this is exactly what I’m looking for as well. I know there was nothing built-in available when this was first posted, but is this feature in the works at all for the near future?
    Thanks!
    Lucas

  • I’ll post the my full code here in hopes that seeing all of it might reveal some issues. I am extremely new to PHP so this may look like a train wreck. (I use the genesis framework).

    <?php
    /**
     * Template Name: Professional Single
     */
    
     //* Adding ACF on prefessionals pages 
    add_action( 'genesis_before_entry_content', 'rma_pro_single_acf' );
    function rma_pro_single_acf() {
    
    // If fields are present
    if( get_field('headshot') ||
    	get_field('pro_role') ||
    	get_field('pro_office_phone') ||
    	get_field('pro_cell_phone') ||
    	get_field('pro_email') ||
    	get_field('pro_linkedin')):
    
    $theEmail = get_field('pro_email');
    
      echo
    '<div class="professional-details clearfix">
    			<div class="one-third first">
    				<img src="' . get_field('headshot') . '">
    			</div>
    
    			<div class="two-thirds contact-details">
    				<h6>' . get_field('pro_role') . '</h6>
    				<p><span class="data">Office:</span>' . get_field('pro_office_phone') . '</p>
    				<p><span class="data">Mobile:</span>' . get_field('pro_cell_phone') . '</p>
    				<p><span class="data">Email:</span><a href="mailto:'.antispambot($theEmail).'">' . $theEmail . '</a></p>
    				<p><span class="data">Connect:</span><a href="' . get_field('pro_linkedin') . '"><i class="fa fa-linkedin-square fa-lg"></i> Linkedin</a></p>
    			</div>
    		</div>';    
    
        endif;
    
     }
    
    genesis();
     
    ?>
  • Thanks, tried it exactly as you had it. Nothing. πŸ™

  • Sadly changing the link text doesn’t make any difference.

    <a href="mailto:'.antispambot($email).'">email me</a></p>

    Same problem. Unless there was another point in your reply which I am missing (I am VERY far from an expert πŸ˜‰

  • Hi I’ve been trying all day to get this to work, but no dice. Here is my code, but it always displays the plaintext email in HTML.

    $email = get_field('pro_email');
    <a href="mailto:' .  antispambot(get_field('pro_email')) . '">'. get_field('pro_email') .'</a>

    Any help would be greatly appreciated!

Viewing 7 posts - 1 through 7 (of 7 total)