WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] Advancedcustomfields.com site is down (13 posts)

  1. timichango
    Member
    Posted 2 years ago #

    Hey there—website with documentation seems to be down; any idea when it'll be back online? I need access to the plugin documentation for retrieving repeater values ASAP.

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. Jason Paul
    Member
    Posted 2 years ago #

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

  3. Jason Paul
    Member
    Posted 2 years ago #

    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>';
    } ?>
  4. timichango
    Member
    Posted 2 years ago #

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

  5. Jason Paul
    Member
    Posted 2 years ago #

    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 :/

  6. mrwweb
    Member
    Posted 2 years ago #

    @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.

  7. grimmwerks
    Member
    Posted 2 years ago #

    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.

  8. simsalabim
    Member
    Posted 2 years ago #

    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!

  9. mrwweb
    Member
    Posted 2 years ago #

    @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

  10. simsalabim
    Member
    Posted 2 years ago #

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

  11. ChowKaiDeng
    Member
    Posted 2 years ago #

    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.

  12. elliotcondon
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks guys

  13. odelreal
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic