Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Advancedcustomfields.com site is down

Viewing 12 replies - 1 through 12 (of 12 total)
  • Jason Paul

    (@jasontrasaterracom)

    yikes…me too. I wonder how long its been down.

    Jason Paul

    (@jasontrasaterracom)

    Here’s some repeater code:

    <?php 
    
    // using normal array
    
    $rows = get_field('highlight_work');
    if($rows)
    {
    	echo '<div class="upcoming-image-block">';
    
    	foreach($rows as $row)
    	{
    		echo '<div class="upcoming-image"><img src="' . $row['upcoming_images'] . '" alt="';
    		echo  the_title() .'" class="dwzoom"  />';
    
    		echo '</div>';
    	}
    
    	echo '</div>';
    } ?>

    Thanks for that, Jason! Hopefully that’ll tide me over.

    Jason Paul

    (@jasontrasaterracom)

    For sure!
    If anyone can remember how to get a field from another page. In my case I actually need to retrieve the field from another taxonomy on a template. I recall seeing that in the docs yesterday…and now I think I need it :/

    @jason, if I remember correctly, get_field() and the_field() have an optional second argument of ID. So something like get_field( 'your-field', $page_ID ); should work if you set $page_ID to the post you want to grab data from.

    Yes the id is optional and retrieves it from that page/post id. Otherwise use ‘options’ if you’re using the options page.

    I need the site up too; I’m trying to figure out how I can make an sql query to SEARCH through repeaters for a LIKE.

    Oh crap! Guys I just browsed here and installed plugin. I was just after checking the documentation to retrieve the data from the metaboxes.

    Maybe you guys can help me out?

    I just created a textarea for pages. That’s all for now.

    I guess I need to stick some code in the functions.php ….

    Any help appreciated!

    @simsalabim If this doesn’t answer your question, why don’t you start a new thread instead of bogging this one down.

    There are two basic functions for getting a field. They go in the loop or take an optional second argument of $post_id which you usually only need if you’re outside the loop:

    \\ get the field
    get_field( 'your_field_id' );
    \\ echo the field
    \\ equivalent to echo get_field();
    the_field( 'your_field_id' );

    That code should probably go in the appropriate template file you’re hoping to display it on (I’d guess page.php from what you said). Alternately, if you prefer, you could filter the_content if you wanted to use functions.php

    Thanks @mrwweb. I think that will do for me.

    Hi guys, remember you can view the website using the Google cache. It does not have any images or styles, but you may check most of the the info. I’m working with that right now. Here is the Code Examples section.

    Plugin Author elliotcondon

    (@elliotcondon)

    Thanks guys

    odelreal

    (@odelreal)

    It would be great having the site up again!
    I think this is a great plugin, does the developer receives donations via Paypal?
    Regards from Colombia.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Advancedcustomfields.com site is down’ is closed to new replies.