Forum Replies Created
-
AuthorPosts
-
August 16, 2013 at 2:54 pm in reply to: Help With Single Page Template and Advanced Custom Fields #56896TullyMember
Thank you for pointing out the tutorial, it's very well written and will defintely refer to that for the archive page. I'm pasting in my attempt at coding the loop how I'd like to appear, and it will of course be way off. Again , I'm trying to get the advanced custom fields to show up on the left half and the content on the right. I know I need more to make it a loop, but I am not sure how to do that on a single post. This is for the single-artists.php page and not the archive. Is there a loop in a single post?
Any advice would be invaluable.
remove_action ('genesis_loop', 'genesis_do_loop'); // Remove the standard loop add_action( 'genesis_loop', 'artists_do_loop' ); // Add custom loop function artists_do_loop() { <div id="content-sidebar-wrap"> <div id="content" class="hfeed"> <div class="page hentry entry"> <h1 class="entry-title">.get_the_title();</h1> <div class="entry-content"> <div class="one-half first"> the_field('volume_artist_images'); the_field('volume_artist_audio'); the_field('artist_audio'); </div> //one-half first <div class="one-half"> <p>.get_the_content();</p> </div> //one-half </div>//entry </div>//hentry </div>//content </div>//contside }
August 14, 2013 at 4:08 pm in reply to: Help With Single Page Template and Advanced Custom Fields #56418TullyMemberHi David, thanks for the reply and info.
I realize the loop is more of a WP thing, but I posted here looking for help as I am making this in Genesis, and they have their own set of hooks and filters which will come into play here.
I am not having an issue so much with how to call in the fields, but more the entirety of the template, or more specifically a custom loop.
I can/have added the hooks to force full-width, remove post meta info, etc. and adding a custom loop. But, everything within the custom loop is currently beyond me.
That's basically what I am looking for help with, how to write a custom loop that would split the fields into two columns within the content area. Pretty much everything with in that loop.
Any and all help is greatly appreciated.
-
AuthorPosts