Support

Account

Forum Replies Created

  • Awesome!!!! I found it
    Now, it works perfectly!… but I find that it’s a little hard or complex to do that, maybe a big option could do the “job”…

    Thank U Jonathan!

    Regards,

    Nico.

  • Thanks, but I don’t understand, I added the options via function.php as written in tutorial/doc, when I click on “create group” link, I create normally a ACF group as usual… now, how use it, precisely, in setting, there is no option about that 🙁
    I suggest just one checkbox to globalize on all the website the output…
    Regards,

    Nico

  • I have yet see, this page, but I do not understand… if it’s “global” why it doesn’t work! 🙁

  • thank for you reply,

    Unfortunelly, I’m too bad in php programming to program my own field type 🙁

  • Hmmm, a little research on the internet, it would play with the “get_posts”, like this:

    $args = array(
    	'post_type' => 'post',
    	'meta_query' => array(
    		array(
    			'key' => 'relationship_games',
    		)
    	)
     );
    $postslist = get_posts( $args );
    
    $myposts = get_posts( $args );
    foreach ( $myposts as $post ) : setup_postdata( $post ); ?>
    	<li>
    		<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    	</li>
    <?php endforeach; 
    wp_reset_postdata();?>

    But the problem is that it shows me the link of the article are displayed where my list of games that are related.
    I would like to see a list of games added since my backend, as in my article itself…
    Thanks, cheers

  • Thank you very much! it rolls!

  • Excellent, it works now! thank you Elliot! 😀

  • ok Elliot, thanks but…
    it gets this :

    array(2) {
      [0]=>
      string(2) "en"
      [1]=>
      string(2) "fr"
    }

    How tests “en” checkbox is checked and test “fr” is checked ?

  • Arf, no result 🙁

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