Support

Account

Forum Replies Created

  • wow, you are right, this things happens when working fast… this is what I was missing: [‘url’], I assumed that “full” in some way was the default image size, thank you!

  • Hi Dallen and Elliot;

    I’m trying to find an easy way to export all the settings of the ACF’s option page. I’m using ACF PRO, @dallen is your plugin still working for that version?, and where could I downlaod it to check it out?. Thank you very much.

    Elliot is out there another solution for this for ACF PRO, thank you.

  • bump!, some help with this would be great 🙂

  • I’m using this function to convert the string and use the special chracters which the dropdown selector is having problems. Hope this can be fixed soon:

    function select_wsafe_font($fs) {
        if ($fs == "arial_bla") $fs = "'Arial Black', sans-serif";
        if ($fs == "arial_hel") $fs = "Arial, Helvetica, sans-serif";
        if ($fs == "centh_got") $fs = "Century Gothic, sans-serif";
        if ($fs == "couri_new") $fs = "'Courier New', Courier, monospace";
        if ($fs == "georgia") $fs = "Georgia, Serif";
        if ($fs == "impact") $fs = "Impact, Charcoal, sans-serif";
        if ($fs == "lucid_san") $fs = "'Lucida Sans Unicode', 'Lucida Grande', sans-serif";
        if ($fs == "palatino") $fs = "'Palatino Linotype', 'Book Antiqua', Palatino, serif";
        if ($fs == "tahoma") $fs = "Tahoma, Geneva, sans-serif";
        if ($fs == "times_new") $fs = "'Times New Roman', Times, serif";
        if ($fs == "trebuc_ms") $fs = "'Trebuchet MS', Helvetica, sans-serif";
        if ($fs == "verdana") $fs = "Verdana, Geneva, sans-serif";
        // Google Fonts
        echo $fs;
    } // END Selector Web Safe Font
  • Hi Elliot, finally I get the data from the array in this way:

      if( is_array($checkbox_options)&& in_array( 'show_grid_bp', $checkbox_options ) ) {
        echo "border-right:dotted 1px black;";
        } else {
        echo "border:none;";}

    , I still don’t understand very well the docs, could you use the data above and use your code, so I can see?

  • Yes, thank you Elliot, that was the solution.

  • Hi Ben, I mean by custom link, some button to link whatever. Using for example this wp function: admin_url(‘post.php?post=63&action=edit’) to build that link. I want to integrate some menu items (eg. custom post type edit) in the ACF options menu.

    Sorry If I was not enough clear in my question.

  • It’s related with some chracters, probable “,” or spaces…, but I need to use spaces or commas…, I dont know how to get the label name, in the label its like there is no problems with special characters

  • Is the same for me. I use the selector to list font-families to apply them in CSS. I can make a selection but If I come back to settings panel and change other configuration (other field), the font-family fiels is overwritten with the first option.

    Some solution? I’m using ACF PRO 5.1.3 Pro in WP 4.0

  • Hi Oliver, I solve this needing with other plugin. If the next time I find the same problem (maybe I was doing somthing wrong ¿?) I wil open a new ticket. Thanks.

  • The same, no errors, but no output.
    The thing is that I’m using ACF pro with other filed types without problems, in the loop and as options page. I’ve just buy it to use the repeater field, and I followed the official reference here (http://www.advancedcustomfields.com/resources/repeater/) but is NOT working, and I need help with this.

    I’m using WordPress 4.0 and the las versión of ACF Pro.

    Im using it in header.php after body tag:

    <!doctype html>
    <html class="no-js" <?php language_attributes(); ?> >
    	<head>
    		<!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
    		<meta charset="utf-8" />
    		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    		<title><?php wp_title( '|', true, 'right' ); ?></title>		
    		<link rel="icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/favicon.ico" type="image/x-icon">
    		<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-144x144-precomposed.png">
    		<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-114x114-precomposed.png">
    		<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/img/icons/apple-touch-icon-72x72-precomposed.png">
    
    <?php wp_head(); ?>
    
    	<?php Short_head_styles(); ?>
    	<?php /* ACF - Options Page */ require_once('header-custom-styles.php');?>
    
    	<script type="text/javascript">
    	// SLIDE NAVIGATION
    		$(function() {
    	  $('a[href*=#]:not([href=#])').click(function() {
    	    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
    	      var target = $(this.hash);
    	      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
    	      if (target.length) {
    	        $('html,body').animate({
    	          scrollTop: target.offset().top
    	        }, 1000);
    	        return false;
    	      }
    	    }
    	  });
    	});
    	</script>
    	</head>
    
    	<body <?php body_class(); ?> id="home">
    
    <section id="main-container" class="container" role="document">
    <style type="">
    	#nav-menu{background: rgba(0,0,0,0.5);width:100%;}
    </style>
    <div id="nav-menu">
    	<div class="row"><?php CGrid_top_bar(); ?></div>
    </div>
    		<script>
    		      var navigation = responsiveNav(".nav-collapse", {
    		        animate: true,                    // Boolean: Use CSS3 transitions, true or false
    		        transition: 284,                  // Integer: Speed of the transition, in milliseconds
    		        label: "Menu",                    // String: Label for the navigation toggle
    		        insert: "after",                  // String: Insert the toggle before or after the navigation
    		        customToggle: "",                 // Selector: Specify the ID of a custom toggle
    		        closeOnNavClick: false,           // Boolean: Close the navigation when one of the links are clicked
    		        openPos: "relative",              // String: Position of the opened nav, relative or static
    		        navClass: "nav-collapse",         // String: Default CSS class. If changed, you need to edit the CSS too!
    		        navActiveClass: "js-nav-active",  // String: Class that is added to <html> element when nav is active
    		        jsClass: "js",                    // String: 'JS enabled' class which is added to <html> element
    		        init: function(){},               // Function: Init callback
    		        open: function(){},               // Function: Open callback
    		        close: function(){}               // Function: Close callback
    		      });
    	    </script>
    <!-- Ressponsive Nav Menu End -->
    
    	<?php // youtube video
        if 	( is_front_page() && $bkg_vid_online) {
    	require_once('video-bkgs.php');
    	} ?>
    
    <?php 
    
    // $bkg_slide_gallery =  get_field('bkg_slide_gallery', 'option');
    
    // echo $bkg_slide_gallery;
    // var_dump($bkg_slide_gallery);
    // check if the repeater field has rows of data
    if( have_rows('bkg_slide_gallery') ):
    
     	// loop through the rows of data
    	while ( have_rows('bkg_slide_gallery') ) : the_row();
    
    	    $image = get_sub_field('image');
    	    echo '<img src="'. $image['url'] .'" />';
    
    	endwhile;
    
    else :
    
        echo "nada que mostrar"; // no rows found
    
    endif;
    
     ?>
    
  • Hi Oliver, the subfield is an image type field, and yes, probably I added that echo trying options but it’s the same, there is nothing showing up without echo too.

    I read a ticket from yesterday in the ACF PRO support forums and it seem that maybe Elliot is trying to fix something related with this?

    Not sure, sorry because I add this post in General Forum and now I can’t change from forum (I think).

    Thank you Oliver for your reply anyway…

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