Support

Account

Home Forums General Issues Help Understanding Post Object (Using Genesis)

Helping

Help Understanding Post Object (Using Genesis)

  • My field name is itinerary_lists (it’s a post object I’d like to show to users at the bottom of a particular CPT, which I have already set in the field’s settings).

    But, I need some help piecing together my Genesis function and the sample code from here.

    add_action( 'genesis_post_content', 'theme_itinerary' );
    function theme_itinerary() {
    	// Return early if not a single page
    	if ( !is_single() )
    		return;

    is what I have so far for my functions.php file, but I can’t seem to get the rest from the code sample for post objects. Can someone help me?

  • Hi @AMEEKER

    What do you mean by, but I can’t seem to get the rest from the code sample for post objects. ?

    What are you not able to do?
    What have you tried?

    Do you understand how the get_field function will work?

    Cheers
    E

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

The topic ‘Help Understanding Post Object (Using Genesis)’ is closed to new replies.